My Oracle Support Banner

How TempTable Storage Engine Manages RAM and Disk Space; Explanation of temptable_max_ram Option (Doc ID 2413219.1)

Last updated on JULY 27, 2020

Applies to:

MySQL Server - Version 8.0 and later
Information in this document applies to any platform.


As of MySQL 8.0, internal temporary table storage engine is changed from HEAP to TempTable. TempTable is a newly added storage engine on MySQL 8.0, it is dedicated to use for internal temporary tables. TempTable storage engine is efficient in terms of both computational resources and ram/disk space.

You will learn how TempTable storage engine allocates and manages RAM and disk space. Exact meaning of temptable_max_ram option is also explained.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.