How TempTable Storage Engine Manages RAM and Disk Space; Explanation of temptable_max_ram Option

(Doc ID 2413219.1)

Last updated on JUNE 20, 2018

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.


Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms