문서의 선택한 두 판 사이의 차이를 보여줍니다.
다음 판 | 이전 판 | ||
dbms:mysql:admin:table [2018/08/11 01:33] starlits 만듦 |
dbms:mysql:admin:table [2018/08/11 01:36] (현재) starlits [DB 사이즈] |
||
---|---|---|---|
줄 11: | 줄 11: | ||
< | < | ||
SELECT count(*) NUM_OF_TABLE, | SELECT count(*) NUM_OF_TABLE, | ||
- | table_schema, | + | table_schema, |
+ | | ||
concat(round(sum(data_length)/ | concat(round(sum(data_length)/ | ||
concat(round(sum(index_length)/ | concat(round(sum(index_length)/ | ||
concat(round(sum(data_length+index_length)/ | concat(round(sum(data_length+index_length)/ | ||
- | round(sum(index_length)/ | + | |
FROM information_schema.TABLES | FROM information_schema.TABLES | ||
GROUP BY table_schema | GROUP BY table_schema |