Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.4.13
Description
Shutting down al large windows instance (innodb_pool_buffer_size=384GB, > 500K tables) takes much longer with 10.4 than it did with 10.3.
Shutdown takes around 10 minutes even with innodb_fast_shutdown=1 or =3.
innodb_defragment was originally enabled, but even after turning that off shutdown still took several minutes, even though less than with defragmentation enabled.
Nothing special in the error log besides [Note] InnoDB: Waiting for master threadto exit once per minute.
Attachments
Issue Links
- relates to
-
MDEV-29291 Assertion `!table->fts' failed in dict_table_can_be_evicted on SHUTDOWN
-
- Closed
-
hholzgra and wlad, thank you for confirming this as a 10.4 regression.
I think that we could just remove the zip_pad altogether. The code was originally added to improve ROW_FORMAT=COMPRESSED write performance, back when Facebook was an active user, before they invested effort in MyRocks. I have been thinking to remove write support for ROW_FORMAT=COMPRESSED in MariaDB Server 10.6 (
MDEV-22367), to simplify the buffer pool code further. I think that it should be OK to lose some write performance on that obscure format.It looks like the dict_table_t::autoinc_mutex could be eliminated by changing the data type of dict_table_t::autoinc to Atomic_relaxed<uint64_t>. The trickiest part to replace seems to be ha_innobase::innobase_lock_autoinc().