To know the size of each database, follow these steps: 1. Enter the information_schema database (which stores information about other databases) useinformation_schema; 2. query the size of all data: selectconcat (round (sum (data_length10241024), 2),
To know the size of each database, follow these steps: 1. Enter the information_schema database (which stores information about other databases) useinformation_schema; 2. query the size of all data: selectconcat (round (sum (data_length10241024), 2),
1. Enter the specified schema database (storing the information of other databases)
Use information_schema
2. query the size of all data
Select Concat (round (sum (data_length/1024/1024), 2), 'mb') as data from tables
3. view the size of the
1. view the mysql database sizeSELECT sum (DATA_LENGTH) + sum (INDEX_LENGTH)FROM information_schema.TABLES where TABLE_SCHEMA = 'database name ';The result is in bytes. Except 1024 for K, except 1048576 (= 1024*1024) for M.
2. view the last mysql
(1) information_schema
Select (sum (data_length) + sum (index_length)/(1024*1024) from information_schema. 'tables' where table_schema = 'your _ table_schema 'and table_name like 'your _ table_name ';
(2) show table status like '';
try {
This example describes how PHP calculates the size of the entire MySQL database. Share to everyone for your reference. Specifically as follows:
This returns the computed results in MB,KB or GB format.
function calcfulldatabasesize
1. Access to the INFORMATION_SCHEMA database (information on other databases)Use INFORMATION_SCHEMA;2, query the size of all data:SELECT concat (Round (sum (data_length/1024/1024), 2), ' MB ') as DATA from TABLES;3. View the size of the specified
To know the size of each database, the steps are as follows: 1, access to the INFORMATION_SCHEMA database (the information stored in other databases)use INFORMATION_SCHEMA;2, query the size of all data:Select concat (Round (sum (data_length/1024/1024
To know the size of each database, the steps are as follows:1, access to the INFORMATION_SCHEMA database (the information stored in other databases)Use INFORMATION_SCHEMA;2, query the size of all data:Select Concat (Round (sum (data_length/1024/1024)
Restrictions on Oracle eXpress Edition data filesRestrictions on oracle XE are described as follows:1. Express Edition is limited to a single instance on any server;2. Express Edition may be installed on a multiple CPU server, but may only be
Restrictions on oracleeXpressEdition data files are described as follows in the official documents of oracleXE: 1. ExpressEditionislimitedtoas
Restrictions on oracle eXpress Edition data files are described in the oracle XE official documentation as
Before continuing to deploy Microsoft ExchangeServer2010, we recommend that you read this topic to help your organization prepare for deployment.
Exchange Organization Planning
Before deploying Exchange2010, the existing infrastructure must meet
(GO) Load test summary for Imperial CMS, Dedecms, Phpcms, Discuz, Phpwind, Xiuno
Afraid of being scolded, Ben didn't want to write this article. Hesitated for a long while, and ultimately decided to write. Hope to help some friends and realize the
It is also a bit of programming memo. SQLite is a good embedded database. This embedded database is basically synonymous with exquisite and lightweight. SQLite references many scenarios, and Firefox and Android have internal applications, the code
How to build an IBM PowerLinux application on an Intel x86 server
IBM®The practical value of Advanced Toolchain for PowerLinux cross compiler is that developers can compile and build IBM Power Architecture on a development platform they are already
1. createdatabasedataname this is the easiest way to create a database. all attributes of the database are default. such as database files and log file storage directories. database size. the following describes the clauses that often determine
For details, refer to sybase Installation Guide (Chinese version) Adaptive Server Enterprise12.5 Linux/Intel.I have referenced several documents on the Internet. Thank you!(1) Log On As root:Create sybase users and user groups (useradd, groupadd or
Here we will introduce more than 40 useful Oracle query statements, covering date operations, server information retrieval, execution status retrieval, database size calculation, and other queries. These are essential skills for all Oracle
The younger brother is trying to write an application similar to the monitoring center. the amount of data is not much. data records per day. the database size increases by 20 mb per day. data must be analyzed from various dimensions. in terms of
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.