mysql查詢表的行數及大小

mysql查詢表的行數及大小 select concat(TABLE_SCHEMA,'.',TABLE_NAME) as `表名稱`, TABLE_ROWS as `行數`, concat(round(sum(DATA_LENGTH/1024/1024),2),'MB') as `大小MB`, concat(round(sum(DATA_LENGTH/1024/1024/1024),2),'GB'
相關文章
相關標籤/搜索