tencent cloud

All product documents
TencentDB for MongoDB
High CPU Utilization
Last updated: 2024-01-15 14:49:55
High CPU Utilization
Last updated: 2024-01-15 14:49:55
If you find the CPU utilization is high when using MongoDB, you can troubleshoot the problem as follows:
1. Check whether your database operation is too frequent. Log in to the TencentDB for MongoDB Console and view the QPS on the system monitoring page. If the QPS is high, you may evaluate whether the instance needs to be upgraded. If the QPS is not high, check whether there are any slow queries.
2. Check whether there are slow logs on mongod. Log in to the TencentDB for MongoDB Console and view the slow logs of the instance by using "Query statistics".

Pay attention to keywords such as command, COLLSCAN, IXSCAN, keysExamined, and docsExamined. For more log descriptions, please see Log Messages.
command indicates an operation recorded in a slow log.
COLLSCAN indicates that a full-collection scan is performed. IXSCAN indicates that an index scan is performed. For descriptions of other fields, please see Explain Results.
keysExamined refers to the number of index entries scanned. docsExamined refers to the number of documents scanned. Larger keysExamined and docsExamined values indicate that no index is created or the created index is less distinctive. Please check the fields for which an index is created.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon