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
-
Activity
Field | Original Value | New Value |
---|---|---|
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. |
Fix Version/s | 10.4 [ 22408 ] | |
Assignee | Marko Mäkelä [ marko ] |
Fix Version/s | 10.2 [ 14601 ] | |
Fix Version/s | 10.3 [ 22126 ] | |
Fix Version/s | 10.5 [ 23123 ] | |
Assignee | Marko Mäkelä [ marko ] | Eugene Kosov [ kevg ] |
Summary | Slow InnoDB shutdown on large 10.4 instance on Windows | Slow InnoDB shutdown on large instance |
Attachment | mdev-22778.sql.gz [ 52778 ] |
Attachment | screenshot-1.png [ 52807 ] |
Attachment | screenshot-2.png [ 52808 ] |
Attachment | image-2020-07-14-19-18-55-706.png [ 52809 ] | |
Attachment | image-2020-07-14-19-18-54-693.png [ 52810 ] |
Fix Version/s | 10.2 [ 14601 ] | |
Fix Version/s | 10.3 [ 22126 ] |
Assignee | Eugene Kosov [ kevg ] | Marko Mäkelä [ marko ] |
Attachment | mdev-11778-workaround.patch [ 52898 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Fix Version/s | 10.4.14 [ 24305 ] | |
Fix Version/s | 10.5.5 [ 24423 ] | |
Fix Version/s | 10.4 [ 22408 ] | |
Fix Version/s | 10.5 [ 23123 ] | |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Closed [ 6 ] |
Workflow | MariaDB v3 [ 109417 ] | MariaDB v4 [ 157894 ] |
Link |
This issue relates to |
Zendesk Related Tickets | 170968 |
ntdll.dll!RtlFreeHeap() Unknown
ucrtbase.dll!_free_base() Unknown
> [Inline Frame] mysqld.exe!ut_allocator<std::_Tree_node<dict_foreign_t *,void *>,1>::deallocate(std::_Tree_node<dict_foreign_t *,void *> *) Line 438 C++
[Inline Frame] mysqld.exe!std::_Normal_allocator_traits<ut_allocator<std::_Tree_node<dict_foreign_t *,void *>,1>>::deallocate(ut_allocator<std::_Tree_node<dict_foreign_t *,void *>,1> &) Line 526 C++
[Inline Frame] mysqld.exe!std::_Tree_node<dict_foreign_t *,void *>::_Freenode0(ut_allocator<std::_Tree_node<dict_foreign_t *,void *>,1> &) Line 373 C++
[Inline Frame] mysqld.exe!std::_Tree_val<std::_Tree_simple_types<dict_foreign_t *>>::_Erase_head(ut_allocator<std::_Tree_node<dict_foreign_t *,void *>,1> &) Line 753 C++
[Inline Frame] mysqld.exe!std::_Tree<std::_Tset_traits<dict_foreign_t *,dict_foreign_compare,ut_allocator<dict_foreign_t *,1>,0>>::{dtor}() Line 1189 C++
mysqld.exe!dict_mem_table_free(dict_table_t * table=0x0000014f5c0d40f8) Line 228 C++
mysqld.exe!dict_sys_t::remove(dict_table_t * table=0x0000014f5c0d40f8, bool lru, bool keep) Line 1731 C++
mysqld.exe!dict_sys_t::close() Line 5893 C++
mysqld.exe!innodb_shutdown() Line 2520 C++
mysqld.exe!innobase_end(handlerton * __formal=0x000000e7fb62cd38, ha_panic_function __formal=HA_PANIC_CLOSE) Line 4340 C++