[MDEV-18698] Show InnoDB's internal background threads in SHOW ENGINE INNODB STATUS Created: 2019-02-22 Updated: 2020-03-31 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major |
| Reporter: | Geoff Montee (Inactive) | Assignee: | Marko Mäkelä |
| Resolution: | Unresolved | Votes: | 2 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
InnoDB uses internal background threads for a few different things. For example:
https://mariadb.com/kb/en/library/innodb-system-variables/#innodb_encryption_threads
https://mariadb.com/kb/en/library/innodb-system-variables/#innodb_purge_threads
https://mariadb.com/kb/en/library/innodb-system-variables/#innodb_mtflush_threads https://mariadb.com/kb/en/library/innodb-system-variables/#innodb_page_cleaners
https://mariadb.com/kb/en/library/innodb-system-variables/#innodb_read_io_threads
https://mariadb.com/kb/en/library/innodb-system-variables/#innodb_write_io_threads
It would probably make sense to show some or all of these threads in SHOW ENGINE INNODB STATUS output, since they can hold semaphores and cause or exacerbate concurrency issues. |
| Comments |
| Comment by Marko Mäkelä [ 2020-03-31 ] |
|
Starting with The innodb_mtflush was removed in MariaDB 10.2, and 10.1 will soon reach its end of life. The background DROP TABLE is executed by the InnoDB master thread. Starting with 10.5, we no longer have change buffer merge in the background ( 10.5 still uses dedicated page I/O threads as well as dedicated threads for the following:
|