सामग्री पर जाएँ
दस्तावेज़

Mongotop

हर refresh interval पर हर collection पढ़ने और लिखने में बिताया गया समय track करता है। यह देखने के लिए कि cluster कहाँ अपना समय बिता रहा है, total, read, या write से sort करें।

यह क्या है

Active mongod पर `top` command द्वारा fed एक workspace tab। एक configurable cadence (default 1s) पर refresh करता है और per-collection ms-spent values दिखाता है। मूल `mongotop` CLI tool की तरह, लेकिन एक sortable interactive table और historical retention के साथ।

कब उपयोग करें

एक "अभी कौन सी collection गर्म है?" प्रश्न की जाँच करते समय खोलें। Sharding decisions से पहले, collection-level capacity planning के समय, या एक teammate को workload spike समझाने के समय उपयोगी।

इसे कैसे खोलें

  1. NoSqlStudio desktop ऐप में, Tools menu → Dashboards → MongoTop खोलें, या Ctrl+Alt+Shift+T दबाएँ।
  2. Workspace tab हर collection के लिए total, read, या write time द्वारा sortable interactive table के साथ खुलता है।
  3. Picker में एक database चुनें — mongotop केवल उस database की collections दिखाता है।

इसके साथ काम करना

  • Total / read / write ms से sort करें — सबसे hot collection को तुरंत खोजें।
  • Refresh cadence — default 1s, configurable। तेज़ cadences server load जोड़ती हैं।
  • Explorer में इसके Documents tab पर jump करने के लिए एक collection row पर क्लिक करें।
  • Storage — userData/Mongotop/ में samples लिखे गए + MongoDB पर mirror (best-effort)। Gear icon retention configure करता है।

सीमाएँ (v1)

  • Sharded clusters — `top` per-shard है। Workspace active mongos का view दिखाता है; per-shard granularity के लिए हर shard से directly कनेक्ट करें।
  • Atlas free tier — `top` command block है। Workspace एक empty state और upgrade के लिए link दिखाता है।
  • केवल collection-level timing capture — per-query timing के लिए Profiler workspace का उपयोग करें।