tencent cloud

TencentDB for DBbrain

Release Notes and Announcements
Release Notes
Announcements
Product Introduction
Overview
Features
Strengths
Use Cases
Feature List
Region List
Purchase Guide
Operation Guide
Cloud Access Management
Self-Built Database Access
Instance Overview
Instance Management
Monitoring and Alarms
Health Report and Kill Session Report Management
MySQL/TDSQL-C for MySQL Performance Optimization
TDSQL for MySQL/MariaDB Performance Optimization
Distributed cache database (Distributed Cache) diagnostic optimization
MongoDB Performance Optimization
Full-Link Analysis
Practical Tutorial
Fixing High CPU Utilization on MySQL Instance
Fixing Lock Conflict on MySQL Instance
How to Address High CPU Utilization Issues in Distributed Cache Instances
Fixing High CPU Utilization in MongoDB Instance
Fixing Short Node Oplog Retention Period in MongoDB Instance
API Documentation
History
Introduction
Introduction
API Category
Making API Requests
Session Killing APIs
Exception Detection APIs
Other APIs
Redis related APIs
Health Report Email Sending APIs
Space Analysis APIs
Slow Log Analysis APIs
Security Audit APIs
Database Audit APIs
Data Types
Error Codes
DBbrain APIs 2019-10-16
FAQs
Self-Built Database Issues
MySQL Performance
Product
Service Level Agreement
Glossary
Contact Us

Performance Trends

PDF
Focus Mode
Font Size
Last updated: 2022-08-13 16:25:49

Feature description

The performance trends feature provides the following real-time monitoring information of your MongoDB database to help you locate time-consuming commands and their execution time and overall latency distribution.
Resource Monitoring: CPU, MEM, Storage Space, and Traffic.
Request Statistics: Request Latency Distribution, Request Type Distribution, Request Type with 10-50 ms Latency, Request Type with 50-100 ms Latency, Request Type with over 100 ms Latency, TTL Request Statistics, Active Sessions, and Request Latency.
MongoDB Primary-Secondary Replication: Secondary Node Replication Delay and Oplog Retention Period.
Storage Engine: Cache, qr/qw, and ar/aw.
1. Log in to the DBbrain console and select Performance Optimization on the left sidebar. On the displayed page, select a database type and an instance at the top, and select the Performance Trends tab.
2. Set the monitoring dimension and metrics of performance trends.
Monitoring dimension: You can select instance monitoring or node monitoring.

Instance dimension: It displays the monitoring view of instances.
Node dimension: It displays the comparison trend views of relevant metrics on each MongoDB node.
Metric categories: Include CPU, MEM, Disk, Connection, Traffic, and Request Statistics.
Select performance metrics: You can select all metrics, custom metrics, and various views.
Filter global metrics

Filter one single metric

Switch between chart views

3. Switch between the Real-Time and Historical views. DBbrain allows you to switch between real-time and historical data. Based on the selected time view, different granularities are provided. Single metric view and comparison view are also available. Customize the multi-node comparison chart.


4. Enable chart interaction. For one single instance, node, or proxy, you can view relevant metric trend comparison, add custom metrics, and view the performance metric trend comparison by time. After you enable chart interaction, when you hover over a data point in any monitoring view, the data at the same time point will be displayed in other monitoring views. Click the data point to pin it for display. To unpin it, click Deselect the Time Point.


5. Switch between the one-column and two-column modes, drag a monitoring view, or zoom in a monitoring view.
Switching between the one-column and two-column modes: Click the button on the right of Chart Interaction in the top-right corner to switch.
Dragging a monitoring view: Click the border of a monitoring view to drag it to the desired position.
Zooming in a monitoring view: Drag the icon in the bottom-right corner of a monitoring view to zoom it in for fine-grained display of the trend of one single performance metric.
6. Check the status of the MongoDB node. For more information, see MongoStatus and MongoTop.
7. View the data of latency analysis. Below is a sample performance trends query result. Click a data point in the chart to display the metric details.
Sample request latency distribution:

Sample distribution of the request type with over 100 ms latency:

Sample request latency:



Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback