标签:ble sys show 记录 www name com rgb dex
use information_schema;
show create table tables;
desc tables;
select distinct TABLE_SCHEMA from tables ;
use mysql;
show tables;
use information_schema;
select TABLE_SCHEMA ,table_name from tables where table_schema like ‘mysql‘;
select (sum(DATA_LENGTH) + sum(INDEX_LENGTH)) as size from tables where table_schema=‘mysql‘ and table_name like ‘time_%‘;
select (sum(DATA_LENGTH) + sum(INDEX_LENGTH)) as size from tables where table_schema=‘mysql‘;
select distinct row_format,engine from information_schema.tables where engine=‘myisam‘;
select row_format,engine,table_name from information_schema.tables where engine=‘myisam‘;
mysql -uroot -pxxxx -D information_schema -e "select TABLE_SCHEMA ,table_name from tables where table_schema like ‘hsm_syslog_%‘"
【mysql元数据库】使用information_schema.tables查询数据库和数据表信息
标签:ble sys show 记录 www name com rgb dex
原文地址:http://www.cnblogs.com/ssslinppp/p/6178636.html