Notice
Recent Posts
Recent Comments
Link
«   2025/02   »
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28
Tags
more
Archives
Today
Total
관리 메뉴

고독을 즐기는 진정한 아웃사이더

information_schema 를 이용한 각 DB별 용량 체크 본문

Computer/Linux

information_schema 를 이용한 각 DB별 용량 체크

장선생™ 2009. 3. 26. 09:09

innoDB쪽은 약간 부정확하지만 MyISAM은 거의 정확 합니다.

select information_schema.TABLES.TABLE_SCHEMA, sum(DATA_LENGTH) from information_schema.TABLES group by information_schema.TABLES.TABLE_SCHEMA

Comments