'monitoring'에 해당되는 글 1건

  1. MongoDB 성능 모니터링

MongoDB 성능 모니터링

참고 링크

http://www.mongodb.org/display/DOCS/Monitoring+and+Diagnostics#MonitoringandDiagnostics-HostedMonitoring
http://gurjarmehul.wordpress.com/2011/12/27/monitoring-mongodb/

 

몽고DB 모니터링하기 위한 방법은 다양하다.

 

  1. 툴을 이용한 모니터링
  • munin
    • Server stats: this will retrieve server stats (requires python; uses http interface)
    • Collection stats, this will display collection sizes, index sizes, and each (configured) collection count for one DB (requires python; uses driver to connect)
  • mtop - A top like utility for Mongo
  • Mongo Live - A Chrome extension that provides a real-time server status view (uses the rest interface).

 

  1. Shell Command
  • db.stats() : 선택된(use) 데이타베이스 상태 정보
  • db.foo.find().explain() : 쿼리 실행 계획
  • db.users.stats() : collection 통계
  • 프로파일러
    • db.setProfilingLevel(2) ;  profile enable
    • db.system.profile.find() : slow query see
    • db.setProfilingLevel(0) ;  profile disable

 

  1. Utility

mongostat --host 127.0.0.1:27017 30 --noheaders > perflog.txt

30초마다 헤더정보 없이 mongostat 결과 정보를 peflog.txt 기록해라.

  • Mongotop
    • read/write 성능 정보(sec/per)
  • Query profiler(Slow query 분석)
  • Http console

http://localhost:28017

'Etc' 카테고리의 다른 글

성능 정보 수집하기  (0) 2012.07.12
스트레스 테스트 batch request/sec 정보 공유  (0) 2012.07.11
인메모리DB, 틈새에서 대세로? memSQL  (2) 2012.06.26
Redis 사용  (0) 2012.06.07
Redis(Windows OS) 복제 구성하기  (2) 2012.06.07