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

Performance Advisor

आपके active connection द्वारा fed तीन live-data tools: एक linear capacity forecast, एक index hotness ranking, और एक connection pool size suggester। कोई simulation नहीं — सब कुछ आपका actual workload पढ़ता है।

यह क्या है

तीन tabs के साथ एक workspace tab: Capacity (एक metric history पर forecastLinear), Index Hotness (IndexStats का उपयोग करते हुए rankIndexHotness), और Pool Tuner (current op concurrency से suggestPoolSize)। हर tab में एक "Fetch from active connection" बटन है जो live data खींचता है; आप live connection के बिना test करने के लिए JSON sample paste भी कर सकते हैं।

कब उपयोग करें

Major release से पहले Capacity चलाएँ यह पूर्वानुमान करने के लिए कि storage / RU / IOPS कब saturate होगा। एक तिमाही में एक बार Index Hotness चलाएँ ऐसे indexes खोजने के लिए जिन्हें 90 दिनों में किसी ने नहीं छुआ। जब application logs MongoDB connection wait दिखाते हैं तब Pool Tuner चलाएँ — यह आपके वास्तविक workload के लिए optimal pool size बताता है।

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

  1. NoSqlStudio desktop ऐप में, Tools menu → Performance Advisor खोलें, या Ctrl+Alt+Shift+F दबाएँ।
  2. एक workspace tab शीर्ष पर तीन tabs के साथ खुलता है: Capacity / Hotness / Pool।
  3. हर tab में एक "Fetch from active connection" बटन है। Live data खींचने के लिए क्लिक करें। Output stats cards के रूप में और (जब applicable) एक chart के रूप में render होता है।

हर pane

  • Capacity — 14 दिन का metric history खींचता है (या आपके set किए गए कोई भी range), forecastLinear चलाता है, और project करता है कि metric configurable threshold कब cross करता है। Storage growth, RU/sec saturation, IOPS limits के लिए उपयोगी।
  • Index Hotness — active database में हर collection से $indexStats खींचता है, indexes को accesses-per-day द्वारा रैंक करता है, और lookback window में 0 बार छुए गए indexes को flag करता है। Drop candidates लाल में दिखाई देते हैं।
  • Pool Tuner — current op concurrency खींचता है, देखे गए wait times के आधार पर Little's-Law-style सुझाव लागू करता है, और आपके driver config के लिए अनुशंसित poolSize देता है।

सीमाएँ (v1)

  • Forecast linear है — seasonality या piecewise regimes का model नहीं करता। Seasonal workloads (जैसे day/night cycles) के लिए slope को worst-case ceiling के रूप में व्याख्या करें, exact projection नहीं।
  • Index Hotness $indexStats पढ़ता है, जो हर mongod restart पर reset होता है। यदि आपका cluster कल restart हुआ था, 90-दिन की window खाली है — stats accumulate होने का इंतज़ार करें या window बढ़ाएँ।
  • Pool Tuner मानता है कि आपका driver bottleneck है (server CPU / replica election नहीं)। एक stressed cluster पर recommendation oscillate हो सकती है।