Percona investigated memory allocator performance for MySQL and uncovered unexpected memory consumption patterns specific to stored procedures. The findings suggest that routine definitions and executions can impact server memory usage in ways that warrant closer scrutiny during capacity planning. This analysis provides details on how these internal components behave under load compared to standard allocators.
- Stored procedures consume more memory than initially expected in Percona Server for MySQL.
- Memory allocator choice influences but does not fully explain the observed consumption spikes.
- Review stored procedure complexity and frequency when sizing MySQL instances.
- Benchmark memory usage with actual stored procedure workloads, not just simple queries.