mysql查詢表庫中表大小

腳本以下 :orm

select concat(round(sum(data_length/1024/1024),2),'MB') as data,table_name from information_schema.tables where table_schema='db_name' and table_name='table_name';io




注:人老了,記憶很差,作個記錄吧,方便之後查詢。。。table

相關文章
相關標籤/搜索