MySQL Forums
Forum List  »  General

Re: coufused about ibtmp1
Posted by: eimmaa rose
Date: November 13, 2025 04:37AM

Hi Victor,

You’re right — in MySQL 8.4, ibtmp1 mainly serves as the temporary undo tablespace for user-defined temporary tables and other temporary operations that need undo logs.

To add a bit more detail:

The #innodb_temp/temp_*.ibt files correspond to the actual temporary tables created in the innodb_temp directory.

The ibtmp1 file stores undo information related to operations performed on those temporary tables (like INSERT, UPDATE, or DELETE).

Once the session or temporary table is dropped, both the undo space in ibtmp1 and the related temp_*.ibt file are released.

So yes, your observation about the modification times changing makes sense — it shows MySQL is writing both data and undo logs as expected.

Hope that clarifies things a bit!

— Eimmaa Rose

Options: ReplyQuote


Subject
Written By
Posted
August 13, 2025 11:23PM
September 03, 2025 01:41AM
Re: coufused about ibtmp1
November 13, 2025 04:37AM
November 14, 2025 12:34AM
November 20, 2025 02:22PM


This forum is currently read only. You can not log in or make any changes. This is a temporary situation.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.