Database Performance Degradation
Your application's database response times have increased by 300% over the last hour. Users are complaining about slow page loads. How do you investigate and resolve this?
- Check monitoring dashboards for patterns
- Examine database metrics: CPU, memory, disk I/O, connections
- Review slow query logs and current running queries
- Check for blocking/deadlocks
- Analyze recent deployments or configuration changes
- Scale vertically/horizontally if resource-bound
- Implement query optimization or caching
- 💡Start with what changed recently
- 💡Look at both application and database metrics
- ⚠️Jumping to conclusions or making changes without sufficient data and evidence from monitoring tools and logs.
- ⚠️Focusing solely on one layer of the stack (e.g., only the database or only the application code) without considering the full end-to-end transaction path and its dependencies.
- ⚠️Ignoring existing monitoring and alerting systems, or not having them adequately configured to provide the necessary visibility.
- ⚠️Implementing 'fixes' (e.g., adding indexes, changing configuration) in a production environment without proper testing, validation, and understanding of their potential impact.
- ⚠️Failing to collaborate effectively with other teams (e.g., development, infrastructure, network) whose expertise or insights might be critical to resolving complex cross-cutting performance issues.
- ❓How would you prevent this in the future?
- ❓What alerts would you set up?
Ready to prove your AWS SysOps knowledge?
Practice with free SysOps Administrator Associate (SOA-C02) exam questions. Instant answers and detailed explanations — no account required.
Start free practice quizQuestions that share similar topics with this one
CPU Load Average Explained
IntermediateInvestigating High CPU Usage in Kubernetes Pods
AdvancedAPI Latency Spike
IntermediateNode CPU Thrashing
IntermediateLog Ingestion Failure
IntermediateDeepen your knowledge with these related blog posts
Aurora vs RDS PostgreSQL vs EC2: Costs, Performance & Multi-Region Compared (2025)
A brutally honest comparison of running PostgreSQL on Aurora, RDS, and EC2. We cover costs, performance, failover, global replicas, and all the tradeoffs AWS won't tell you in their marketing docs.
Multitenancy Done Right: Building Secure, Cost-Effective SaaS Applications
A battle-tested guide to implementing multitenancy without losing sleep over data leaks or AWS bills. Learn database patterns, isolation strategies, and how AI changes the game — all from someone who's seen what happens when it goes wrong.
Edge Computing Meets Edge Caching: Building Real-Time Applications at the Network Edge
Exploring how edge computing and caching converge to enable ultra-low latency applications. From personalized content delivery to A/B testing at the edge, learn how to architect systems that feel instantaneous regardless of user location.