This article introduces the structure and usage of InnoDB memory. The code is based on version 8.0.25.
This article introduces the memory allocation manager at the InnoDB layer and the SQL layer, including ut_allocator, mem_heap_allocator, and MEM_ROOT.
This article interprets the MySQL memory limit feature. The code is based on version 8.0.28.