mirror of
https://github.com/MariaDB/server.git
synced 2025-11-30 05:23:50 +03:00
We will remove the InnoDB background operation of merging buffered changes to secondary index leaf pages. Changes will only be merged as a result of an operation that accesses a secondary index leaf page, such as a SQL statement that performs a lookup via that index, or is modifying the index. Also ROLLBACK and some background operations, such as purging the history of committed transactions, or computing index cardinality statistics, can cause change buffer merge. Encryption key rotation will not perform change buffer merge. The motivation of this change is to simplify the I/O logic and to allow crash recovery to happen in the background (MDEV-14481). We also hope that this will reduce the number of "mystery" crashes due to corrupted data. Because change buffer merge will typically take place as a result of executing SQL statements, there should be a clearer connection between the crash and the SQL statements that were executed when the server crashed. In many cases, a slight performance improvement was observed. This is joint work with Thirunarayanan Balathandayuthapani and was tested by Axel Schwenke and Matthias Leich. The InnoDB monitor counter innodb_ibuf_merge_usec will be removed. On slow shutdown (innodb_fast_shutdown=0), we will continue to merge all buffered changes (and purge all undo log history). Two InnoDB configuration parameters will be changed as follows: innodb_disable_background_merge: Removed. This parameter existed only in debug builds. All change buffer merges will use synchronous reads. innodb_force_recovery will be changed as follows: * innodb_force_recovery=4 will be the same as innodb_force_recovery=3 (the change buffer merge cannot be disabled; it can only happen as a result of an operation that accesses a secondary index leaf page). The option used to be capable of corrupting secondary index leaf pages. Now that capability is removed, and innodb_force_recovery=4 becomes 'safe'. * innodb_force_recovery=5 (which essentially hard-wires SET GLOBAL TRANSACTION ISOLATION LEVEL READ UNCOMMITTED) becomes safe to use. Bogus data can be returned to SQL, but persistent InnoDB data files will not be corrupted further. * innodb_force_recovery=6 (ignore the redo log files) will be the only option that can potentially cause persistent corruption of InnoDB data files. Code changes: buf_page_t::ibuf_exist: New flag, to indicate whether buffered changes exist for a buffer pool page. Pages with pending changes can be returned by buf_page_get_gen(). Previously, the changes were always merged inside buf_page_get_gen() if needed. ibuf_page_exists(const buf_page_t&): Check if a buffered changes exist for an X-latched or read-fixed page. buf_page_get_gen(): Add the parameter allow_ibuf_merge=false. All callers that know that they may be accessing a secondary index leaf page must pass this parameter as allow_ibuf_merge=true, unless it does not matter for that caller whether all buffered changes have been applied. Assert that whenever allow_ibuf_merge holds, the page actually is a leaf page. Attempt change buffer merge only to secondary B-tree index leaf pages. btr_block_get(): Add parameter 'bool merge'. All callers of btr_block_get() should know whether the page could be a secondary index leaf page. If it is not, we should avoid consulting the change buffer bitmap to even consider a merge. This is the main interface to requesting index pages from the buffer pool. ibuf_merge_or_delete_for_page(), recv_recover_page(): Replace buf_page_get_known_nowait() with much simpler logic, because it is now guaranteed that that the block is x-latched or read-fixed. mlog_init_t::mark_ibuf_exist(): Renamed from mlog_init_t::ibuf_merge(). On crash recovery, we will no longer merge any buffered changes for the pages that we read into the buffer pool during the last batch of applying log records. buf_page_get_gen_known_nowait(), BUF_MAKE_YOUNG, BUF_KEEP_OLD: Remove. btr_search_guess_on_hash(): Merge buf_page_get_gen_known_nowait() to its only remaining caller. buf_page_make_young_if_needed(): Define as an inline function. Add the parameter buf_pool. buf_page_peek_if_young(), buf_page_peek_if_too_old(): Add the parameter buf_pool. fil_space_validate_for_mtr_commit(): Remove a bogus comment about background merge of the change buffer. btr_cur_open_at_rnd_pos_func(), btr_cur_search_to_nth_level_func(), btr_cur_open_at_index_side_func(): Use narrower data types and scopes. ibuf_read_merge_pages(): Replaces buf_read_ibuf_merge_pages(). Merge the change buffer by invoking buf_page_get_gen().
544 lines
17 KiB
Plaintext
544 lines
17 KiB
Plaintext
--- sysvars_innodb.result
|
|
+++ sysvars_innodb,32bit.result
|
|
@@ -49,7 +49,7 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 8
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Number of InnoDB Adaptive Hash Index Partitions (default 8)
|
|
NUMERIC_MIN_VALUE 1
|
|
NUMERIC_MAX_VALUE 512
|
|
@@ -61,7 +61,7 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 150000
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT The upper limit of the sleep delay in usec. Value of 0 disables it.
|
|
NUMERIC_MIN_VALUE 0
|
|
NUMERIC_MAX_VALUE 1000000
|
|
@@ -73,7 +73,7 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 64
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Data file autoextend increment in megabytes
|
|
NUMERIC_MIN_VALUE 1
|
|
NUMERIC_MAX_VALUE 1000
|
|
@@ -85,7 +85,7 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 1
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT
|
|
+VARIABLE_TYPE INT
|
|
VARIABLE_COMMENT The AUTOINC lock modes supported by InnoDB: 0 => Old style AUTOINC locking (for backward compatibility); 1 => New style AUTOINC locking; 2 => No AUTOINC locking (unsafe for SBR)
|
|
NUMERIC_MIN_VALUE 0
|
|
NUMERIC_MAX_VALUE 2
|
|
@@ -157,10 +157,10 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 134217728
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Size of a single memory chunk within each buffer pool instance for resizing buffer pool. Online buffer pool resizing happens at this granularity. 0 means disable resizing buffer pool.
|
|
NUMERIC_MIN_VALUE 1048576
|
|
-NUMERIC_MAX_VALUE 9223372036854775807
|
|
+NUMERIC_MAX_VALUE 2147483647
|
|
NUMERIC_BLOCK_SIZE 1048576
|
|
ENUM_VALUE_LIST NULL
|
|
READ_ONLY YES
|
|
@@ -193,7 +193,7 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 25
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Dump only the hottest N% of each buffer pool, defaults to 25
|
|
NUMERIC_MIN_VALUE 1
|
|
NUMERIC_MAX_VALUE 100
|
|
@@ -229,7 +229,7 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 0
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Number of buffer pool instances, set to higher value on high-end machines to increase scalability
|
|
NUMERIC_MIN_VALUE 0
|
|
NUMERIC_MAX_VALUE 64
|
|
@@ -289,7 +289,7 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 0
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT A number between [0, 100] that tells how oftern buffer pool dump status in percentages should be printed. E.g. 10 means that buffer pool dump status is printed when every 10% of number of buffer pool pages are dumped. Default is 0 (only start and end status is printed).
|
|
NUMERIC_MIN_VALUE 0
|
|
NUMERIC_MAX_VALUE 100
|
|
@@ -373,7 +373,7 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 0
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Helps in performance tuning in heavily concurrent environments.
|
|
NUMERIC_MIN_VALUE 0
|
|
NUMERIC_MAX_VALUE 1000
|
|
@@ -409,7 +409,7 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 5
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT If the compression failure rate of a table is greater than this number more padding is added to the pages to reduce the failures. A value of zero implies no padding
|
|
NUMERIC_MIN_VALUE 0
|
|
NUMERIC_MAX_VALUE 100
|
|
@@ -433,7 +433,7 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 50
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Percentage of empty space on a data page that can be reserved to make the page compressible.
|
|
NUMERIC_MIN_VALUE 0
|
|
NUMERIC_MAX_VALUE 75
|
|
@@ -445,10 +445,10 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 5000
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Number of times a thread is allowed to enter InnoDB within the same SQL query after it has once got the ticket
|
|
NUMERIC_MIN_VALUE 1
|
|
-NUMERIC_MAX_VALUE 18446744073709551615
|
|
+NUMERIC_MAX_VALUE 4294967295
|
|
NUMERIC_BLOCK_SIZE 0
|
|
ENUM_VALUE_LIST NULL
|
|
READ_ONLY NO
|
|
@@ -673,7 +673,7 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 120
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Number of pages reserved in doublewrite buffer for batch flushing
|
|
NUMERIC_MIN_VALUE 1
|
|
NUMERIC_MAX_VALUE 127
|
|
@@ -769,7 +769,7 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 600
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Maximum number of seconds that semaphore times out in InnoDB.
|
|
NUMERIC_MIN_VALUE 1
|
|
NUMERIC_MAX_VALUE 4294967295
|
|
@@ -817,7 +817,7 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 0
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Make the first page of the given tablespace dirty.
|
|
NUMERIC_MIN_VALUE 0
|
|
NUMERIC_MAX_VALUE 4294967295
|
|
@@ -829,7 +829,7 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 30
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Number of iterations over which the background flushing is averaged.
|
|
NUMERIC_MIN_VALUE 1
|
|
NUMERIC_MAX_VALUE 1000
|
|
@@ -853,7 +853,7 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 1
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Controls the durability/speed trade-off for commits. Set to 0 (write and flush redo log to disk only once per second), 1 (flush to disk at each commit), 2 (write to log at commit but flush to disk only once per second) or 3 (flush to disk at prepare and at commit, slower and usually redundant). 1 and 3 guarantees that after a crash, committed transactions will not be lost and will be consistent with the binlog and other transactional engines. 2 can get inconsistent and lose transactions if there is a power failure or kernel crash but not if mysqld crashes. 0 has no guarantees in case of crash. 0 and 2 can be faster than 1 or 3.
|
|
NUMERIC_MIN_VALUE 0
|
|
NUMERIC_MAX_VALUE 3
|
|
@@ -877,7 +877,7 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 1
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Set to 0 (don't flush neighbors from buffer pool), 1 (flush contiguous neighbors from buffer pool) or 2 (flush neighbors from buffer pool), when flushing a block
|
|
NUMERIC_MIN_VALUE 0
|
|
NUMERIC_MAX_VALUE 2
|
|
@@ -925,7 +925,7 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 0
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Helps to save your data in case the disk image of the database becomes corrupt. Value 5 can return bogus data, and 6 can permanently corrupt data.
|
|
NUMERIC_MIN_VALUE 0
|
|
NUMERIC_MAX_VALUE 6
|
|
@@ -949,7 +949,7 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 8000000
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT InnoDB Fulltext search cache size in bytes
|
|
NUMERIC_MIN_VALUE 1600000
|
|
NUMERIC_MAX_VALUE 80000000
|
|
@@ -985,7 +985,7 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 84
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT InnoDB Fulltext search maximum token size in characters
|
|
NUMERIC_MIN_VALUE 10
|
|
NUMERIC_MAX_VALUE 84
|
|
@@ -997,7 +997,7 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 3
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT InnoDB Fulltext search minimum token size in characters
|
|
NUMERIC_MIN_VALUE 0
|
|
NUMERIC_MAX_VALUE 16
|
|
@@ -1009,7 +1009,7 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 2000
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT InnoDB Fulltext search number of words to optimize for each optimize table call
|
|
NUMERIC_MIN_VALUE 1000
|
|
NUMERIC_MAX_VALUE 10000
|
|
@@ -1021,10 +1021,10 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 2000000000
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT InnoDB Fulltext search query result cache limit in bytes
|
|
NUMERIC_MIN_VALUE 1000000
|
|
-NUMERIC_MAX_VALUE 18446744073709551615
|
|
+NUMERIC_MAX_VALUE 4294967295
|
|
NUMERIC_BLOCK_SIZE 0
|
|
ENUM_VALUE_LIST NULL
|
|
READ_ONLY NO
|
|
@@ -1045,7 +1045,7 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 2
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT InnoDB Fulltext search parallel sort degree, will round up to nearest power of 2 number
|
|
NUMERIC_MIN_VALUE 1
|
|
NUMERIC_MAX_VALUE 16
|
|
@@ -1057,7 +1057,7 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 640000000
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Total memory allocated for InnoDB Fulltext Search cache
|
|
NUMERIC_MIN_VALUE 32000000
|
|
NUMERIC_MAX_VALUE 1600000000
|
|
@@ -1081,7 +1081,7 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 100
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Up to what percentage of dirty pages should be flushed when innodb finds it has spare resources to do so.
|
|
NUMERIC_MIN_VALUE 0
|
|
NUMERIC_MAX_VALUE 100
|
|
@@ -1105,22 +1105,22 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 200
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Number of IOPs the server can do. Tunes the background IO rate
|
|
NUMERIC_MIN_VALUE 100
|
|
-NUMERIC_MAX_VALUE 18446744073709551615
|
|
+NUMERIC_MAX_VALUE 4294967295
|
|
NUMERIC_BLOCK_SIZE 0
|
|
ENUM_VALUE_LIST NULL
|
|
READ_ONLY NO
|
|
COMMAND_LINE_ARGUMENT REQUIRED
|
|
VARIABLE_NAME INNODB_IO_CAPACITY_MAX
|
|
SESSION_VALUE NULL
|
|
-DEFAULT_VALUE 18446744073709551615
|
|
+DEFAULT_VALUE 4294967295
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Limit to which innodb_io_capacity can be inflated.
|
|
NUMERIC_MIN_VALUE 100
|
|
-NUMERIC_MAX_VALUE 18446744073709551615
|
|
+NUMERIC_MAX_VALUE 4294967295
|
|
NUMERIC_BLOCK_SIZE 0
|
|
ENUM_VALUE_LIST NULL
|
|
READ_ONLY NO
|
|
@@ -1165,7 +1165,7 @@
|
|
SESSION_VALUE 50
|
|
DEFAULT_VALUE 50
|
|
VARIABLE_SCOPE SESSION
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Timeout in seconds an InnoDB transaction may wait for a lock before being rolled back. Values above 100000000 disable the timeout.
|
|
NUMERIC_MIN_VALUE 0
|
|
NUMERIC_MAX_VALUE 1073741824
|
|
@@ -1177,10 +1177,10 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 16777216
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT The size of the buffer which InnoDB uses to write log to the log files on disk.
|
|
NUMERIC_MIN_VALUE 262144
|
|
-NUMERIC_MAX_VALUE 9223372036854775807
|
|
+NUMERIC_MAX_VALUE 2147483647
|
|
NUMERIC_BLOCK_SIZE 1024
|
|
ENUM_VALUE_LIST NULL
|
|
READ_ONLY YES
|
|
@@ -1225,7 +1225,7 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 2
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Number of log files in the log group. InnoDB writes to the files in a circular fashion.
|
|
NUMERIC_MIN_VALUE 1
|
|
NUMERIC_MAX_VALUE 100
|
|
@@ -1273,7 +1273,7 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 8192
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Redo log write ahead unit size to avoid read-on-write, it should match the OS cache block IO size
|
|
NUMERIC_MIN_VALUE 512
|
|
NUMERIC_MAX_VALUE 16384
|
|
@@ -1285,10 +1285,10 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 1024
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT How deep to scan LRU to keep it clean
|
|
NUMERIC_MIN_VALUE 100
|
|
-NUMERIC_MAX_VALUE 18446744073709551615
|
|
+NUMERIC_MAX_VALUE 4294967295
|
|
NUMERIC_BLOCK_SIZE 0
|
|
ENUM_VALUE_LIST NULL
|
|
READ_ONLY NO
|
|
@@ -1333,10 +1333,10 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 0
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Desired maximum length of the purge queue (0 = no limit)
|
|
NUMERIC_MIN_VALUE 0
|
|
-NUMERIC_MAX_VALUE 18446744073709551615
|
|
+NUMERIC_MAX_VALUE 4294967295
|
|
NUMERIC_BLOCK_SIZE 0
|
|
ENUM_VALUE_LIST NULL
|
|
READ_ONLY NO
|
|
@@ -1345,7 +1345,7 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 0
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Maximum delay of user threads in micro-seconds
|
|
NUMERIC_MIN_VALUE 0
|
|
NUMERIC_MAX_VALUE 10000000
|
|
@@ -1465,10 +1465,10 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 0
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT How many files at the maximum InnoDB keeps open at the same time.
|
|
NUMERIC_MIN_VALUE 0
|
|
-NUMERIC_MAX_VALUE 9223372036854775807
|
|
+NUMERIC_MAX_VALUE 2147483647
|
|
NUMERIC_BLOCK_SIZE 0
|
|
ENUM_VALUE_LIST NULL
|
|
READ_ONLY YES
|
|
@@ -1489,7 +1489,7 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 4
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Page cleaner threads can be from 1 to 64. Default is 4.
|
|
NUMERIC_MIN_VALUE 1
|
|
NUMERIC_MAX_VALUE 64
|
|
@@ -1513,7 +1513,7 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 16
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Number of rw_locks protecting buffer pool page_hash. Rounded up to the next power of 2
|
|
NUMERIC_MIN_VALUE 1
|
|
NUMERIC_MAX_VALUE 1024
|
|
@@ -1525,7 +1525,7 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 16384
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Page size to use for all InnoDB tablespaces.
|
|
NUMERIC_MIN_VALUE 4096
|
|
NUMERIC_MAX_VALUE 65536
|
|
@@ -1561,7 +1561,7 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 300
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Number of UNDO log pages to purge in one batch from the history list.
|
|
NUMERIC_MIN_VALUE 1
|
|
NUMERIC_MAX_VALUE 5000
|
|
@@ -1573,7 +1573,7 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 128
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Dictates rate at which UNDO records are purged. Value N means purge rollback segment(s) on every Nth iteration of purge invocation
|
|
NUMERIC_MIN_VALUE 1
|
|
NUMERIC_MAX_VALUE 128
|
|
@@ -1585,7 +1585,7 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 4
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Purge threads can be from 1 to 32. Default is 4.
|
|
NUMERIC_MIN_VALUE 1
|
|
NUMERIC_MAX_VALUE 32
|
|
@@ -1609,7 +1609,7 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 56
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Number of pages that must be accessed sequentially for InnoDB to trigger a readahead.
|
|
NUMERIC_MIN_VALUE 0
|
|
NUMERIC_MAX_VALUE 64
|
|
@@ -1621,7 +1621,7 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 4
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Number of background read I/O threads in InnoDB.
|
|
NUMERIC_MIN_VALUE 1
|
|
NUMERIC_MAX_VALUE 64
|
|
@@ -1645,10 +1645,10 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 0
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Replication thread delay (ms) on the slave server if innodb_thread_concurrency is reached (0 by default)
|
|
NUMERIC_MIN_VALUE 0
|
|
-NUMERIC_MAX_VALUE 18446744073709551615
|
|
+NUMERIC_MAX_VALUE 4294967295
|
|
NUMERIC_BLOCK_SIZE 0
|
|
ENUM_VALUE_LIST NULL
|
|
READ_ONLY NO
|
|
@@ -1669,7 +1669,7 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 0
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT An InnoDB page number.
|
|
NUMERIC_MIN_VALUE 0
|
|
NUMERIC_MAX_VALUE 4294967295
|
|
@@ -1717,7 +1717,7 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 1048576
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Memory buffer size for index creation
|
|
NUMERIC_MIN_VALUE 65536
|
|
NUMERIC_MAX_VALUE 67108864
|
|
@@ -1885,7 +1885,7 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 1
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Size of the mutex/lock wait array.
|
|
NUMERIC_MIN_VALUE 1
|
|
NUMERIC_MAX_VALUE 1024
|
|
@@ -1909,10 +1909,10 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 30
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Count of spin-loop rounds in InnoDB mutexes (30 by default)
|
|
NUMERIC_MIN_VALUE 0
|
|
-NUMERIC_MAX_VALUE 18446744073709551615
|
|
+NUMERIC_MAX_VALUE 4294967295
|
|
NUMERIC_BLOCK_SIZE 0
|
|
ENUM_VALUE_LIST NULL
|
|
READ_ONLY NO
|
|
@@ -1945,7 +1945,7 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 0
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Helps in performance tuning in heavily concurrent environments. Sets the maximum number of threads allowed inside InnoDB. Value 0 will disable the thread throttling.
|
|
NUMERIC_MIN_VALUE 0
|
|
NUMERIC_MAX_VALUE 1000
|
|
@@ -1957,7 +1957,7 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 10000
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Time of innodb thread sleeping before joining InnoDB queue (usec). Value 0 disable a sleep
|
|
NUMERIC_MIN_VALUE 0
|
|
NUMERIC_MAX_VALUE 1000000
|
|
@@ -2017,7 +2017,7 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 128
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Deprecated parameter with no effect.
|
|
NUMERIC_MIN_VALUE 0
|
|
NUMERIC_MAX_VALUE 128
|
|
@@ -2041,7 +2041,7 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 0
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Number of undo tablespaces to use.
|
|
NUMERIC_MIN_VALUE 0
|
|
NUMERIC_MAX_VALUE 127
|
|
@@ -2065,7 +2065,7 @@
|
|
SESSION_VALUE NULL
|
|
DEFAULT_VALUE 4
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Number of background write I/O threads in InnoDB.
|
|
NUMERIC_MIN_VALUE 1
|
|
NUMERIC_MAX_VALUE 64
|