

- Welcome to Geeksww.com
MySQL tables statistics (size, engine, no. of rows etc.)
MySQL provides statistical data for users to get more knowledge about the tables in databases. The command to get this useful information is "mysql table status".
SHOW TABLE STATUS [{FROM | IN} db_name] [LIKE 'pattern' | WHERE expr]
Assuming you have selected a database and run the following command:
SHOW TABLE STATUS LIKE '%'
MySQL returns information about all the tables in the selected database. For more info about what MySQL returns, click here. If you want to see information about a particular table in a particular database then you run the command as follows:
SHOW TABLE STATUS FROM <database name> LIKE '<table name>'
Replace <database name> with your database name and <table name> with the table name.
Did this tutorial help a little? How about buy me a cup of coffee?
Please feel free to use the comments form below if you have any questions or need more explanation on anything. I do not guarantee a response.
IMPORTANT: You must thoroughy test any instructions on a production-like test environment first before trying anything on production systems. And, make sure it is tested for security, privacy, and safety. See our terms here.
tags cloud
popular searches
free download for mysql database server 5.1.5, bison, gearman, install cairo, php, linux, java, laptop, install mysql, source code, mysql mysql, mysql, mysql initialization, tools, ubuntu
Similar Tutorials:
- How to see table definition statements in MySQL?
- Download, configure, compile, and install MySQL 5.5 from source code on Linux
- How to install MySQL Gearman UDF on Ubuntu/Debian Linux
- MySQL Query Cache not necessarily a bad thing
- Initializing MySQL database after installation
Tutorials in 'Database Management Systems > MySQL' (more):
- How to set default values for MySQL JSON columns
- How to delete rows in table when PK is referenced in another table
- Unique primary keys(PKs) for MySQL using Redis
- How to rename MySQL DB by moving tables
- How to set innodb_flush_log_at_timeout in MySQL 5.6?
Comments (write a comment):
Great blog. Posted by: santa on Dec 20, 2012