AWS Databases·
Help prevent out-of-memory restarts on Aurora MySQL 8.4
TL;DR
Memory-heavy queries and too many connections can exhaust Aurora MySQL memory, causing restarts that disconnect users and roll back transactions. Aurora MySQL 8.4 enables automatic memory management by default, dynamically adjusting recovery actions such as shrinking caches, rejecting queries, or closing connections; in the demonstrated stress test, it kept the database running under pressure. Monitor memory-health metrics, and explicitly configure recovery actions if you disable automatic management, because 8.4’s manual settings are empty by default.