AWS RDS MS-SQL is Very Slow
RDS is a fully managed Instance by AWS.
The performance of your Amazon RDS for MSSQL instance might be affected for multiple reasons, such as:
- Undersized hardware
- Changes in workload
- Increased traffic
- Memory issues
- Suboptimal query plans
Use a combination of these tools to identify the cause of slow-running queries:
- Performance Insights metrics (in RDS)
- Amazon Cloud Watch metrics
- Enhanced Monitoring metrics
- Database statistics
- Native database tools
- Cloud Watch metrics
To identify performance bottlenecks caused by insufficient resources, monitor these common CloudWatch metrics available for your Amazon RDS DB instance.
- CPU Utilization - Percentage of computer processing capacity used
- FreeableMemory - Available RAM on the DB instance
- SwapUsage - Swap space used by the DB instance
A higher percentage of CPU utilization generally indicates an active workload on the instance and the need for more CPU resources. Higher memory utilization along with swap space consumption indicates frequent swapping due to low memory availability for the workload. This might mean that your instance can't keep up with the workload. A high utilization of CPU and memory resources are typically caused by long-running queries, suddenly increased traffic, or a large number of idle connections.
If any of the above metrics are showing signs of peaking or exceeding their threshold, you may need to increase the size of the very small MSSQL instance to a larger one that is optimized for the performance area in question (CPU, memory, I/O throughput, network).
Happy learning.
AWS Cloud Architect.
Girish Babu
+91-9036367291
Comments
Post a Comment