- Newest
- Most votes
- Most comments
The AuroraMemoryHealthState metric indicates the memory health state of your Aurora MySQL database instance, with values ranging from 0 to 10.
A value of 0 represents a NORMAL state, indicating sufficient memory resources and normal operation. A value of 10 represents a RESERVED state, indicating that the server is approaching a critical level of memory usage.
Values between 0 and 10 represent intermediate states of memory pressure, with higher values indicating increasing levels of memory constraint. These intermediate values suggest that the system is experiencing some degree of memory pressure but hasn't yet reached the critical RESERVED state.
When your instances show values like 5 that fluctuate to 0 or 10, this indicates varying levels of memory pressure over time. The fluctuations you're observing (0 → 1 → 0 → 2 → 0 → 3 → 2 → 0 → 5) represent the dynamic nature of memory usage in your database as workloads change.
This metric is closely related to Aurora's OOM (Out of Memory) Avoidance feature, which monitors system memory and takes actions when memory runs low. When memory pressure increases and the AuroraMemoryHealthState value rises, the OOM Avoidance feature may begin taking actions based on your configuration of the aurora_oom_response parameter. These actions can include printing information about memory-intensive queries, tuning internal table caches, declining new queries, or killing existing queries to free up memory.
For Aurora MySQL version 3.06.0 and higher, there's also a related status variable called aurora_oom_status that provides similar information, showing either NORMAL or RESERVED states.
Sources
Aurora and RDS database metrics - AWS Compute Optimizer
Viewing Aurora and RDS database recommendations - AWS Compute Optimizer
Aurora MySQL global status variables - Amazon Aurora
Aurora MySQL database engine updates 2018-09-20 (version 1.18.0) (Deprecated) - Amazon Aurora
