mirror of
https://github.com/MariaDB/server.git
synced 2026-04-23 08:45:33 +02:00
MDEV-29986 Set innodb_undo_tablespaces=3 by default
Starting with commit baf276e6d4 (MDEV-19229)
the parameter innodb_undo_tablespaces can be increased from its
previous default value 0 while allowing an upgrade from old databases.
We will change the default setting to innodb_undo_tablespaces=3
so that the space occupied by possible bursts of undo log records
can be reclaimed after SET GLOBAL innodb_undo_log_truncate=ON.
We will not enable innodb_undo_log_truncate by default, because it
causes some observable performance degradation.
Special thanks to Thirunarayanan Balathandayuthapani for diagnosing
and fixing a number of bugs related to this new default setting.
Tested by: Matthias Leich, Axel Schwenke, Vladislav Vaintroub
(with both values of innodb_undo_log_truncate)
This commit is contained in:
parent
d6d85c92ee
commit
44dce3b207
11 changed files with 30 additions and 11 deletions
|
|
@ -1667,7 +1667,7 @@ struct my_option xb_server_options[] =
|
|||
{"innodb_undo_tablespaces", OPT_INNODB_UNDO_TABLESPACES,
|
||||
"Number of undo tablespaces to use.",
|
||||
(G_PTR*)&srv_undo_tablespaces, (G_PTR*)&srv_undo_tablespaces,
|
||||
0, GET_UINT, REQUIRED_ARG, 0, 0, 126, 0, 1, 0},
|
||||
0, GET_UINT, REQUIRED_ARG, 3, 0, 126, 0, 1, 0},
|
||||
|
||||
{"innodb_compression_level", OPT_INNODB_COMPRESSION_LEVEL,
|
||||
"Compression level used for zlib compression.",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue