Skip to content

Commit

Permalink
update: [MariaDB] updates
Browse files Browse the repository at this point in the history
  • Loading branch information
sudo-robot committed Oct 26, 2024
1 parent 90e086e commit a8f356e
Show file tree
Hide file tree
Showing 12 changed files with 558 additions and 166 deletions.
17 changes: 17 additions & 0 deletions data/variables/mariadb-query-response-time-plugin-variables.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,23 @@
],
"type": "integer"
},
{
"cli": "query-response-time-session-stats=val]",
"default": "GLOBAL",
"dynamic": true,
"id": "query_response_time_session_stats",
"name": "query_response_time_session_stats",
"scope": [
"global",
"session"
],
"type": "enumeration",
"validValues": [
"GLOBAL",
"ON",
"OFF"
]
},
{
"cli": "query-response-time-stats[={0|1}]",
"default": "OFF",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,6 @@
],
"type": "boolean"
},
{
"cli": "--binlog-do-db=#",
"default": "NULL",
"dynamic": false,
"id": "binlog_do_db",
"name": "binlog_do_db",
"scope": [
"global"
],
"type": "string"
},
{
"cli": "--binlog-cache-size=#",
"default": "32768",
Expand Down Expand Up @@ -141,6 +130,17 @@
],
"type": "boolean"
},
{
"cli": "--binlog-do-db=#",
"default": "NULL",
"dynamic": false,
"id": "binlog_do_db",
"name": "binlog_do_db",
"scope": [
"global"
],
"type": "string"
},
{
"cli": "--binlog-expire-logs-seconds=#",
"default": "0",
Expand Down Expand Up @@ -835,6 +835,21 @@
],
"type": "boolean"
},
{
"cli": "--slave-abort-blocking-timeout=num",
"default": "31536000.000000",
"dynamic": true,
"id": "slave_abort_blocking_timeout",
"name": "slave_abort_blocking_timeout",
"range": {
"from": 0,
"to": 31536000
},
"scope": [
"global"
],
"type": "integer"
},
{
"cli": "--slave-compressed-protocol",
"default": "0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@
],
"type": "integer"
},
{
"id": "binlog_disk_use",
"name": "Binlog_disk_use",
"scope": [
"global"
],
"type": "integer"
},
{
"id": "binlog_group_commit_trigger_count",
"name": "Binlog_group_commit_trigger_count",
Expand Down
78 changes: 57 additions & 21 deletions data/variables/mariadb-server-system-variables.json
Original file line number Diff line number Diff line change
Expand Up @@ -1266,6 +1266,16 @@
],
"type": "string"
},
{
"dynamic": true,
"id": "legacy_xa_rollback_at_disconnect",
"name": "legacy_xa_rollback_at_disconnect",
"scope": [
"global",
"session"
],
"type": "boolean"
},
{
"dynamic": false,
"id": "license",
Expand Down Expand Up @@ -1432,6 +1442,22 @@
"tmp_table_on_disk"
]
},
{
"cli": "log-slow-max-warnings=#",
"default": "10",
"dynamic": true,
"id": "log_slow_max_warnings",
"name": "log_slow_max_warnings",
"range": {
"from": 0,
"to": 1000
},
"scope": [
"global",
"session"
],
"type": "integer"
},
{
"cli": "--log-slow-min-examined-row-limit=#",
"default": "0",
Expand Down Expand Up @@ -1543,22 +1569,6 @@
"explain"
]
},
{
"cli": "log-slow-max-warnings=#",
"default": "10",
"dynamic": true,
"id": "log_slow_max_warnings",
"name": "log_slow_max_warnings",
"range": {
"from": 0,
"to": 1000
},
"scope": [
"global",
"session"
],
"type": "integer"
},
{
"cli": "log-tc-size=#",
"default": "24576",
Expand Down Expand Up @@ -2212,7 +2222,7 @@
"type": "integer"
},
{
"cli": "--optimizer-extra-pruning-depthl[=#]",
"cli": "--optimizer-extra-pruning-depth[=#]",
"default": "8",
"dynamic": true,
"id": "optimizer_extra_pruning_depth",
Expand All @@ -2228,11 +2238,11 @@
"type": "integer"
},
{
"cli": "--optimizer-max-sel-args=#",
"default": "16000",
"cli": "--optimizer-join-limit-pref-ratio[=#]",
"default": "0",
"dynamic": true,
"id": "optimizer_max_sel_args",
"name": "optimizer_max_sel_args",
"id": "optimizer_join_limit_pref_ratio",
"name": "optimizer_join_limit_pref_ratio",
"range": {
"from": 0,
"to": 4294967295
Expand All @@ -2259,6 +2269,22 @@
],
"type": "integer"
},
{
"cli": "--optimizer-max-sel-args=#",
"default": "16000",
"dynamic": true,
"id": "optimizer_max_sel_args",
"name": "optimizer_max_sel_args",
"range": {
"from": 0,
"to": 4294967295
},
"scope": [
"global",
"session"
],
"type": "integer"
},
{
"cli": "--optimizer-prune-level[=#]",
"default": "2 (>= MariaDB 10.10), 1 (<= MariaDB 10.9)",
Expand Down Expand Up @@ -2853,6 +2879,16 @@
],
"type": "enumeration"
},
{
"default": "None",
"dynamic": false,
"id": "server_uid",
"name": "server_uid",
"scope": [
"global"
],
"type": "string"
},
{
"cli": "--session-track-schema={0|1}",
"default": "ON",
Expand Down
6 changes: 2 additions & 4 deletions data/variables/mariadb-spider-server-system-variables.json
Original file line number Diff line number Diff line change
Expand Up @@ -1311,7 +1311,7 @@
},
{
"cli": "--spider-table-crd-thread-count=#",
"default": "10",
"default": "1 (>= MariaDB 10.4.33, MariaDB 10.5.24, MariaDB 10.6.17, MariaDB 10.11.7, MariaDB 11.0.5, MariaDB 11.1.4, MariaDB 11.2.3), 10 (<= MariaDB 10.4.32, MariaDB 10.5.23, MariaDB 10.6.16, MariaDB 10.11.6, MariaDB 11.0.4, MariaDB 11.1.3, MariaDB 11.2.2)",
"dynamic": false,
"id": "spider_table_crd_thread_count",
"name": "spider_table_crd_thread_count",
Expand Down Expand Up @@ -1340,7 +1340,6 @@
},
{
"cli": "--spider-table-sts-thread-count=#",
"default": "10",
"dynamic": false,
"id": "spider_table_sts_thread_count",
"name": "spider_table_sts_thread_count",
Expand All @@ -1350,8 +1349,7 @@
},
"scope": [
"global"
],
"type": "integer"
]
},
{
"default": "10",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,14 @@
],
"type": "integer"
},
{
"id": "innodb_bulk_operations",
"name": "Innodb_bulk_operations",
"scope": [
"global"
],
"type": "integer"
},
{
"id": "innodb_checkpoint_age",
"name": "Innodb_checkpoint_age",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1922,7 +1922,7 @@
"name": "innodb_log_buffer_size",
"range": {
"from": 262144,
"to": 4294967295
"to": 2147482624
},
"scope": [
"global"
Expand Down
Loading

0 comments on commit a8f356e

Please sign in to comment.