SELECT
TABLE_NAME AS "tables",
Round(((data_length + index_length) / 1024 / 1024), 2) "MB"
FROM
information_schema.TABLES
WHERE
table_schema = "onm"
ORDER BY (data_length + index_length) DESC;
'MySQL' 카테고리의 다른 글
이번달의 날짜를 모두 출력해야할 경우 (0) | 2021.01.27 |
---|---|
특정 분(Minute)으로 Group By 하고자 할때 (0) | 2021.01.23 |
MySQL 테이블 대 소문자 구분 없애기 (0) | 2019.09.23 |
CentOS MySQL 5.6 설치 (0) | 2019.09.23 |