mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 05:22:25 +01:00
b23a109695
New test cases innodb-page-cleaners Modified test cases innodb_page_cleaners_basic New function buf_flush_set_page_cleaner_thread_cnt Increase or decrease the amount of page cleaner worker threads. In case of increase this function creates based on current abount and requested amount how many new threads should be created. In case of decrease this function sets up the requested amount of threads and uses is_requested event to signal workers. Then we wait until all new treads are started, old threads that should exit signal is_finished or shutdown has marked that page cleaner should finish. buf_flush_page_cleaner_worker Store current thread id and thread_no and then signal event is_finished. If number of used page cleaner threads decrease we shut down those threads that have thread_no greater or equal than number of page configured page cleaners - 1 (note that there will be always page cleaner coordinator). Before exiting we signal is_finished. New function innodb_page_cleaners_threads_update Update function for innodb-page-cleaners system variable. innobase_start_or_create_for_mysql If more than one page cleaner threads is configured we use new function buf_flush_set_page_cleaner_thread_cnt to set up the requested threads (-1 coordinator).
105 lines
4 KiB
Text
105 lines
4 KiB
Text
--- sysvars_aria.result 2015-01-09 11:49:32.000000000 +0100
|
|
+++ sysvars_aria,32bit.result 2015-01-09 17:30:11.000000000 +0100
|
|
@@ -7,7 +7,7 @@
|
|
GLOBAL_VALUE_ORIGIN COMPILE-TIME
|
|
DEFAULT_VALUE 8192
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Block size to be used for Aria index pages.
|
|
NUMERIC_MIN_VALUE 1024
|
|
NUMERIC_MAX_VALUE 32768
|
|
@@ -21,7 +21,7 @@
|
|
GLOBAL_VALUE_ORIGIN COMPILE-TIME
|
|
DEFAULT_VALUE 30
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Interval between tries to do an automatic checkpoints. In seconds; 0 means 'no automatic checkpoints' which makes sense only for testing.
|
|
NUMERIC_MIN_VALUE 0
|
|
NUMERIC_MAX_VALUE 4294967295
|
|
@@ -35,7 +35,7 @@
|
|
GLOBAL_VALUE_ORIGIN COMPILE-TIME
|
|
DEFAULT_VALUE 1048576
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Number of bytes that the transaction log has to grow between checkpoints before a new checkpoint is written to the log.
|
|
NUMERIC_MIN_VALUE 0
|
|
NUMERIC_MAX_VALUE 4294967295
|
|
@@ -63,7 +63,7 @@
|
|
GLOBAL_VALUE_ORIGIN COMPILE-TIME
|
|
DEFAULT_VALUE 0
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Number of consecutive log recovery failures after which logs will be automatically deleted to cure the problem; 0 (the default) disables the feature.
|
|
NUMERIC_MIN_VALUE 0
|
|
NUMERIC_MAX_VALUE 255
|
|
@@ -91,7 +91,7 @@
|
|
GLOBAL_VALUE_ORIGIN COMPILE-TIME
|
|
DEFAULT_VALUE 0
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Interval between commite in microseconds (1/1000000c). 0 stands for no waiting for other threads to come and do a commit in "hard" mode and no sync()/commit at all in "soft" mode. Option has only an effect if aria_group_commit is used
|
|
NUMERIC_MIN_VALUE 0
|
|
NUMERIC_MAX_VALUE 4294967295
|
|
@@ -105,7 +105,7 @@
|
|
GLOBAL_VALUE_ORIGIN CONFIG
|
|
DEFAULT_VALUE 1073741824
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Limit for transaction log size
|
|
NUMERIC_MIN_VALUE 8388608
|
|
NUMERIC_MAX_VALUE 4294967295
|
|
@@ -147,10 +147,10 @@
|
|
GLOBAL_VALUE_ORIGIN COMPILE-TIME
|
|
DEFAULT_VALUE 300
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT This characterizes the number of hits a hot block has to be untouched until it is considered aged enough to be downgraded to a warm block. This specifies the percentage ratio of that number of hits to the total number of blocks in the page cache.
|
|
NUMERIC_MIN_VALUE 100
|
|
-NUMERIC_MAX_VALUE 18446744073709551615
|
|
+NUMERIC_MAX_VALUE 4294967295
|
|
NUMERIC_BLOCK_SIZE 100
|
|
ENUM_VALUE_LIST NULL
|
|
READ_ONLY NO
|
|
@@ -175,7 +175,7 @@
|
|
GLOBAL_VALUE_ORIGIN COMPILE-TIME
|
|
DEFAULT_VALUE 100
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT The minimum percentage of warm blocks in key cache
|
|
NUMERIC_MIN_VALUE 1
|
|
NUMERIC_MAX_VALUE 100
|
|
@@ -189,7 +189,7 @@
|
|
GLOBAL_VALUE_ORIGIN COMPILE-TIME
|
|
DEFAULT_VALUE 512
|
|
VARIABLE_SCOPE GLOBAL
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Number of hash buckets for open and changed files. If you have a lot of Aria files open you should increase this for faster flush of changes. A good value is probably 1/10 of number of possible open Aria files.
|
|
NUMERIC_MIN_VALUE 128
|
|
NUMERIC_MAX_VALUE 16384
|
|
@@ -231,7 +231,7 @@
|
|
GLOBAL_VALUE_ORIGIN COMPILE-TIME
|
|
DEFAULT_VALUE 1
|
|
VARIABLE_SCOPE SESSION
|
|
-VARIABLE_TYPE BIGINT UNSIGNED
|
|
+VARIABLE_TYPE INT UNSIGNED
|
|
VARIABLE_COMMENT Number of threads to use when repairing Aria tables. The value of 1 disables parallel repair.
|
|
NUMERIC_MIN_VALUE 1
|
|
NUMERIC_MAX_VALUE 128
|
|
@@ -248,7 +248,7 @@
|
|
VARIABLE_TYPE BIGINT UNSIGNED
|
|
VARIABLE_COMMENT The buffer that is allocated when sorting the index when doing a REPAIR or when creating indexes with CREATE INDEX or ALTER TABLE.
|
|
NUMERIC_MIN_VALUE 4096
|
|
-NUMERIC_MAX_VALUE 18446744073709551615
|
|
+NUMERIC_MAX_VALUE 4294967295
|
|
NUMERIC_BLOCK_SIZE 1
|
|
ENUM_VALUE_LIST NULL
|
|
READ_ONLY NO
|