QuestionQ100

VerifiedImplementing observability practices and troubleshooting issues

You support an application running on Compute Engine. The application connects to a Cloud SQL instance to store and retrieve data. After an application update, users report errors that show database timeout messages. The number of concurrently active users has stayed stable. You need to identify the most likely cause of the database timeout. What should you do?

Explanation

Database connections consume resources on both the database server and the application, and Cloud SQL imposes connection limits. An application update can increase or leak connections even when the active-user count is unchanged, exhausting available connections or causing requests to wait until they time out. Checking whether the Cloud SQL instance has an increased connection count directly validates that likely cause. Debug connection issues — Cloud SQL

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!