PROFESSIONAL-CLOUD-DATABASE-ENGINEER · Question #70
You are the database administrator of a Cloud SQL for PostgreSQL instance that has pgaudit disabled. Users are complaining that their queries are taking longer to execute and performance has degraded
The correct answer is D. Use the Query Insights dashboard to identify high execution times.. The Query Insights dashboard is a built-in Cloud SQL feature specifically designed for query performance analysis. It provides visibility into query execution times, resource consumption, and slow query identification directly within the Cloud Console-no additional configuration
Question
You are the database administrator of a Cloud SQL for PostgreSQL instance that has pgaudit disabled. Users are complaining that their queries are taking longer to execute and performance has degraded over the past few months. You need to collect and analyze query performance data to help identity slow-running queries. What should you do?
Options
- AView Cloud SQL operations to view historical query information.
- BWhite a Logs Explorer query to identify database queries with high execution times.
- CReview application logs to identify database calls.
- DUse the Query Insights dashboard to identify high execution times.
How the community answered
(65 responses)- A3% (2)
- B5% (3)
- C9% (6)
- D83% (54)
Explanation
The Query Insights dashboard is a built-in Cloud SQL feature specifically designed for query performance analysis. It provides visibility into query execution times, resource consumption, and slow query identification directly within the Cloud Console-no additional configuration or log parsing needed. Cloud SQL operations logs (A) track administrative actions, not query performance. Logs Explorer (B) does not surface per-query execution metrics from Cloud SQL in a usable way. Application logs (C) may show database call durations from the app side but do not provide database-level query statistics or execution plans.
Topics
Community Discussion
No community discussion yet for this question.