본문 바로가기 메뉴 바로가기

배워서 남주자!

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

배워서 남주자!

검색하기 폼
  • 뭘 배웠을까? (90)
    • 기술 (73)
    • 경영 (1)
    • 경제 (1)
    • 자연 (0)
    • 의학 (1)
    • 사회 (2)
    • 문화 (6)
    • 인문 (3)
    • 운동 (2)
  • 방명록

filesystem (1)
[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
이전 1 다음
이전 다음
공지사항
  • 1
  • favicontwitter
  • faviconfacebook
배워서 남주자!
퍼렁별여행자
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
TAG
  • error
  • hostname
  • It
  • yum
  • Redhat
  • cycle
  • Windows
  • Solaris
  • rhel
  • Bit
  • Linux
  • centos7
  • query
  • date
  • 태그를 입력해 주세요.
  • version
  • NTP
  • OSS
  • cpu
  • centos
  • OS
  • Java
  • database
  • tip
  • db
  • storage
  • dbms
  • aix
  • MySQL
  • Size
more
«   2025/09   »
일 월 화 수 목 금 토
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
글 보관함
링크

Blog is powered by Tistory / Designed by Tistory

티스토리툴바