共計 1683 個字符,預計需要花費 5 分鐘才能閱讀完成。
自動寫代碼機器人,免費開通
MongoDB 的監(jiān)控指標有哪些,相信很多沒有經(jīng)驗的人對此束手無策,為此本文總結(jié)了問題出現(xiàn)的原因和解決方法,通過這篇文章希望你能解決這個問題。
MongoDB uptime 啟動時長
asserts.user 用戶的斷言數(shù)量
asserts.warning 警告的斷言數(shù)量
connections.current 當前的連接數(shù) 大于 650
connections.available 可用的連接數(shù)
connections.totalCreated 共創(chuàng)建了多少連接
extra_info.heap_usage_bytes heap 內(nèi)存的大小
extra_info.page_faults 缺頁的多少
globalLock.currentQueue.total 當前隊列的總長度
globalLock.currentQueue.readers 當前隊列中讀的數(shù)量
globalLock.currentQueue.writers 當前隊列中寫的數(shù)量
globalLock.activeClients.total 活躍客戶端的總數(shù)量
globalLock.activeClients.readers 活躍客戶端中讀的數(shù)量
globalLock.activeClients.writers 活躍客戶端中寫的數(shù)量
network.bytesIn 網(wǎng)卡接收的數(shù)據(jù)量
network.bytesOut 網(wǎng)卡發(fā)送的數(shù)據(jù)量
opcounters.insert insert 操作數(shù)量
opcounters.query query 操作數(shù)量
opcounters.update update 操作數(shù)量
opcounters.delete delete 操作數(shù)量
opcounters.getmore getmore 的數(shù)量
opcounters.command command 的數(shù)量
opcountersRepl.insert 副本集環(huán)境 insert 操作數(shù)量
opcountersRepl.query 副本集環(huán)境 query 操作數(shù)量
opcountersRepl.update 副本集環(huán)境 update 操作數(shù)量
opcountersRepl.delete 副本集環(huán)境 delete 操作數(shù)量
opcountersRepl.getmore 副本集環(huán)境 getmore 的數(shù)量
opcountersRepl.command 副本集環(huán)境 command 的數(shù)量
wiredTiger.cache.maximum_bytes_configured wiredTiger 緩存大小
wiredTiger.cache.bytes_currently_in_the_cache wiredTiger 緩存使用大小
wiredTiger.cache.tracked_dirty_bytes_in_the_cache wiredTiger 緩存中臟數(shù)據(jù)大小
wiredTiger.cache.unmodified_pages_evicted wiredTiger 緩存未修改 page 置換情況
wiredTiger.cache.pages_read_into_cache wiredTiger 緩存讀入 page 情況
wiredTiger.cache.pages_written_from_cache wiredTiger 緩存寫出 page 情況
mem.resident 常駐內(nèi)存使用情況
mem.virtual 虛擬內(nèi)存使用情況
replication_lag 副本集成員延時 大于 15
replication_state 副本集成員 Primary, Secondary 等狀態(tài) 等于 12
replication_hosts 副本集成員 IP 信息 No Primary
replication_oplog_growth_rate oplog 增長率
replication_oplog_window oplog 存儲的操作時長
alive Mongodb 存活情況 等于 0
看完上述內(nèi)容,你們掌握 MongoDB 的監(jiān)控指標有哪些的方法了嗎?如果還想學到更多技能或想了解更多相關內(nèi)容,歡迎關注丸趣 TV 行業(yè)資訊頻道,感謝各位的閱讀!
向 AI 問一下細節(jié)