Re-publishing from my wiki.
You can save the above in a file and run this
mysql --batch < input.sql > out.sql
- Show tables that use Barracuda disk format
- Show me all tables that are InnoDB
- Show me all tables that are MyISAM
- Print Queries to aid in conversion FROM MyISAM to InnoDB
You can save the above in a file and run this
mysql --batch < input.sql > out.sql
- Show me a count of tables grouped by engine type
- Show me the datasize and index size of all tables grouped by engine type
- Show me the top 10 tables by size outside of information_schema and mysql
- Tables without indexes
- List character sets
- List average row length and index length
- Oldest tables with respect to update times
- Tables with foreign keys
- List of indexes and their total count
- Get a summary of privileges
No comments:
Post a Comment