[MySQL] Database별 Size 확인 Query
Database별 Size 확인 QuerySELECTcount(*) NUM_OF_TABLE,table_schema,concat(round(sum(table_rows)/1000000,2),'M') rows,concat(round(sum(data_length)/(1024*1024*1024),2),'G') DATA,concat(round(sum(index_length)/(1024*1024*1024),2),'G') idx,concat(round(sum(data_length+index_length)/(1024*1024*1024),2),'G') total_size,round(sum(index_length)/sum(data_length),2) idxfracFROM information_schema.TABLESGROU..
기술
2014. 7. 18. 17:55
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- query
- cpu
- Bit
- date
- Redhat
- MySQL
- Windows
- Size
- Recovery
- It
- hostname
- database
- centos
- rhel
- error
- OSS
- aix
- NTP
- OS
- Linux
- version
- dbms
- storage
- yum
- Java
- Solaris
- cycle
- db
- centos7
- 태그를 입력해 주세요.
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 | 29 | 30 | 31 |
글 보관함
링크
