Posted On: Aug 19, 2019

HAQM DocumentDB (with MongoDB compatibility) is a fast, scalable, highly available, and fully managed document database service that supports MongoDB workloads.

Today, HAQM DocumentDB added support for logging slow queries via the query profiler. The profiler is useful for monitoring the slowest queries on your cluster to help you improve individual query and overall cluster performance. After enabling the profiler, operations that run longer than the customer-defined threshold (100ms by default) will log their execution time and query plan to HAQM CloudWatch Logs. You can use CloudWatch Logs Insights to analyze HAQM DocumentDB profiling data. For more information, please see profiling DocumentDB operations.

To learn more about HAQM DocumentDB, please see our product page and documentation.