Updated on 2026-08-04 GMT+08:00

Slow Request Locating

Scenarios

In the same business scenario, the architecture design, as well as the design of databases, collections, and indexes, can significantly affect query performance. Good design improves query efficiency, whereas poor design can lead to a large number of slow queries (statements with excessively long execution times), which consume substantial system resources. This section describes the common causes of slow queries and their solutions.

Fault Locating

DDS allows you to view slow query logs on the console. You can start from the slowest operation recorded in the log and optimize the operations one by one.

  • If a query takes longer than 1s, the corresponding operation may be abnormal. You need to analyze the problem based on the actual situation.
  • If a query takes longer than 10s, the operation needs to be optimized.

    If an aggregate operation takes more than 10s, it is normal.

Procedure

Helpful Links

Working with Indexes