mysql-5.0 부터 지원되는 information_schema 를 이용하면 데이터베이스별 용량확인이 가능합니다.
mysql>SELECT table_schema "Database Name", sum( data_length + index_length ) / 1024 / 1024 "Database Size in MB" FROM information_schema.TABLES GROUP BY table_schema;
+----------------------------+-----------------------------+
| Database Name | Database Size in MB |
+----------------------------+-----------------------------+
| database_01 | 32.69550228 |
| database_01 | 11.23450233 |
| database_01 | 32.69550228 |
| database_04 | 27.84058285 |
| database_05 | 59.73828030 |
| information_schema | 0.00878906 |
+----------------------------+-----------------------------+
댓글 0
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
19 | 웹사이트 보안 개발 가이드 20160421 | 관리자 | 2017.07.25 | 49 |
18 | WordPress 4.8.1 Maintenance Release | 관리자 | 2017.08.03 | 51 |
17 | The Month in WordPress: August 2017 | 관리자 | 2017.09.02 | 62 |
16 | AWS 자격증 시험 신청 하기 | 관리자 | 2017.09.19 | 131 |
15 | WordPress 4.8.2 Security and Maintenance Release | 관리자 | 2017.09.20 | 333 |
14 | WordPress 4.9 Beta 3 | 관리자 | 2017.10.20 | 291 |
13 | WordPress 4.9 Beta 4 | 관리자 | 2017.10.26 | 541 |
12 | WordPress 4.8.3 Security Release | 관리자 | 2017.11.01 | 273 |
11 | WordPress 4.9 Release Candidate 2 | 관리자 | 2017.11.09 | 257 |
10 | error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE in PHP (after update centos-7.4) | 관리자 | 2017.11.15 | 1842 |
9 | WordPress 4.9 “Tipton” | 관리자 | 2017.11.16 | 714 |
8 | WordPress 4.9.1 Security and Maintenance Release | 관리자 | 2017.11.30 | 809 |
7 | The Month in WordPress: November 2017 | 관리자 | 2017.12.02 | 278 |
6 | How To Downgrade DigitalOcean Droplets | 관리자 | 2017.12.08 | 342 |
5 | cannot load media library on wordpress (feat. modsecurity & sql injection ruleset) | 관리자 | 2018.02.26 | 838 |