Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why Amazon RDS memory monitor threshold shows me in RED?

Today I have notice that my Amazon RDS instance memory monitor threshold shows me with red line. Here I have attached screen shot for the same.enter image description here

So, My question is what is that Memory threshold, and why it is crossing limit? Anything wrong with my instance? What is the solution to decrease/control this hike?

like image 992
Manish Sapkal Avatar asked Sep 10 '16 09:09

Manish Sapkal


People also ask

How do I get rid of Read Replica?

Delete any read replica instancesOpen the Amazon RDS service console and click on Databases from left navigation pane. From the list of databases, select the read replica database instance to delete. For example workshop-maz-rds-sqlserver-replica . Choose Delete from the Actions dropdown menu.

Why is my RDS CPU usage so high?

Increases in CPU utilization can be caused by several factors, such as user-initiated heavy workloads, multiple concurrent queries, or long-running transactions. To identify the source of the CPU usage in your Amazon RDS for MySQL instance, review the following approaches: Enhanced Monitoring. Performance Insights.


1 Answers

The Red line you see is a threshold set by AWS if the RDS is causing that threshold many times then there might be a performance issue that you need to take a look.

MySQL try to use all available memory as needed. However, the limits are defined by RDS' server parameters which you can modify and you may not need to scale up your server.

RDS instances are created with default values for those parameters (the most relevant of them being innodb_buffer_pool_size) to optimize memory usage. In order to see which server variables are applied to your instance, connect to it and execute the "show global variables" command.

It is normal for that number to go up and down as matter of course.

If you are seeing performance issues and you have no more freeable memory, then you should be looking at causes or upgrading to a larger instance.

Those values may not be right for all workloads, but you can adjust them as needed using parameter groups. This document explains how you can use parameter groups:

http://docs.amazonwebservices.com/AmazonRDS/latest/UserGuide/USER_WorkingWithParamGroups.html

like image 168
error2007s Avatar answered Oct 11 '22 13:10

error2007s