Quantcast
Channel: MySQL Forums - InnoDB
Viewing all articles
Browse latest Browse all 1957

Mysql8.0 event 'committing alter table to storage engine' hangs During DDL after high traffic load (no replies)

$
0
0
Hello
Regarding wait event "committing alter table to storage engine".

All i can find about it is "The server has finished an in-place ALTER TABLE and is committing the result."

The Issue I have is that when I run 'alter table drop partition' or 'alter table reorganize partition' (daily process to maintain retention) the event takes significantly longer after committing many transactions (rate of 600 inserts p/s) on the table for a couple of hours.

during this event all sessions are locked on "Waiting for table metada lock" and the app is down.

If i run the "alter table drop/reorganize partition" command shortly after another such command it completes in ms as if there is some cache i need to free to reduce the event.

I tried flush table ... with read lock - did not help (thought it might be related to dirty pages)

I am using mysql version 8.0.27

We did not have this issue in 5.7 (I am familiar with the ddl lock changes in mysql8) but it seems that there is something i am missing here since this happens only after massive rate inserts for a couple of hours and does not hang otherwise.

Viewing all articles
Browse latest Browse all 1957

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>