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 1, 2022
1 parent 3ae4a1f commit 128a3b6
Show file tree
Hide file tree
Showing 8 changed files with 323 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -583,8 +583,15 @@
"type": "string"
},
{
"cli": "--replicate-rewrite-db=primary_database->replica_database",
"default": "'' (empty)",
"dynamic": true,
"id": "replicate_rewrite_db",
"name": "replicate_rewrite_db"
"name": "replicate_rewrite_db",
"scope": [
"global"
],
"type": "string"
},
{
"cli": "--replicate-wild-do-table=name",
Expand Down
55 changes: 55 additions & 0 deletions data/mariadb-server-system-variables.json
Original file line number Diff line number Diff line change
Expand Up @@ -1362,6 +1362,22 @@
"tmp_table_on_disk"
]
},
{
"cli": "--log-slow-min-examined-row-limit=#",
"default": "0",
"dynamic": true,
"id": "log_slow_min_examined_row_limit",
"name": "log_slow_min_examined_row_limit",
"range": {
"from": 0,
"to": 4294967295
},
"scope": [
"global",
"session"
],
"type": "integer"
},
{
"cli": "--log-slow-queries[=name]",
"default": "OFF",
Expand All @@ -1373,6 +1389,45 @@
],
"type": "boolean"
},
{
"cli": "--slow-query-log",
"default": "0",
"dynamic": true,
"id": "log_slow_query",
"name": "log_slow_query",
"scope": [
"global",
"session"
],
"type": "boolean"
},
{
"cli": "--log-slow-query-file-name=file_name",
"default": "host_name-slow.log",
"dynamic": true,
"id": "log_slow_query_file_name",
"name": "log_slow_query_file_name",
"scope": [
"global"
],
"type": "file name"
},
{
"cli": "--log-slow-query-time=#",
"default": "10.000000",
"dynamic": true,
"id": "log_slow_query_time",
"name": "log_slow_query_time",
"range": {
"from": 0,
"to": 31536000
},
"scope": [
"global",
"session"
],
"type": "integer"
},
{
"cli": "log-slow-rate-limit=#",
"default": "1",
Expand Down
12 changes: 12 additions & 0 deletions data/mariadb-versioned-tables-system-variables.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,18 @@
"session"
],
"type": "boolean"
},
{
"cli": "--system-versioning-insert-history[={0|1}]",
"default": "OFF",
"dynamic": true,
"id": "system_versioning_insert_history",
"name": "system_versioning_insert_history",
"scope": [
"global",
"session"
],
"type": "boolean"
}
],
"name": "versioned-tables-system-variables",
Expand Down
93 changes: 92 additions & 1 deletion dist/merged-raw.json
Original file line number Diff line number Diff line change
Expand Up @@ -11869,7 +11869,6 @@
]
},
"replicate_rewrite_db": {
"cli": "--replicate-rewrite-db=old_name->new_name",
"name": "replicate_rewrite_db",
"type": "string",
"ids": [
Expand Down Expand Up @@ -20417,6 +20416,27 @@
}
]
},
"log_slow_min_examined_row_limit": {
"cli": "--log-slow-min-examined-row-limit=#",
"default": "0",
"dynamic": true,
"name": "log_slow_min_examined_row_limit",
"range": {
"from": 0,
"to": 4294967295
},
"scope": [
"global",
"session"
],
"type": "integer",
"ids": [
{
"anchor": "log_slow_min_examined_row_limit",
"url": "https://mariadb.com/kb/en/library/documentation/replication/optimization-and-tuning/system-variables/server-system-variables/"
}
]
},
"log_slow_queries": {
"cli": "--log-slow-queries[=name]",
"default": "OFF",
Expand All @@ -20433,6 +20453,60 @@
}
]
},
"log_slow_query": {
"cli": "--slow-query-log",
"default": "0",
"dynamic": true,
"name": "log_slow_query",
"scope": [
"global",
"session"
],
"type": "boolean",
"ids": [
{
"anchor": "log_slow_query",
"url": "https://mariadb.com/kb/en/library/documentation/replication/optimization-and-tuning/system-variables/server-system-variables/"
}
]
},
"log_slow_query_file_name": {
"cli": "--log-slow-query-file-name=file_name",
"default": "host_name-slow.log",
"dynamic": true,
"name": "log_slow_query_file_name",
"scope": [
"global"
],
"type": "file name",
"ids": [
{
"anchor": "log_slow_query_file_name",
"url": "https://mariadb.com/kb/en/library/documentation/replication/optimization-and-tuning/system-variables/server-system-variables/"
}
]
},
"log_slow_query_time": {
"cli": "--log-slow-query-time=#",
"default": "10.000000",
"dynamic": true,
"name": "log_slow_query_time",
"range": {
"from": 0,
"to": 31536000
},
"scope": [
"global",
"session"
],
"type": "integer",
"ids": [
{
"anchor": "log_slow_query_time",
"url": "https://mariadb.com/kb/en/library/documentation/replication/optimization-and-tuning/system-variables/server-system-variables/"
}
]
},
"log_slow_rate_limit": {
"cli": "log-slow-rate-limit=#",
"default": "1",
Expand Down Expand Up @@ -29736,6 +29810,23 @@
}
]
},
"system_versioning_insert_history": {
"cli": "--system-versioning-insert-history[={0|1}]",
"default": "OFF",
"dynamic": true,
"name": "system_versioning_insert_history",
"scope": [
"global",
"session"
],
"type": "boolean",
"ids": [
{
"anchor": "system_versioning_insert_history",
"url": "https://mariadb.com/kb/en/library/documentation/system-versioned-tables/"
}
]
},
"Innodb_adaptive_hash_cells": {
"name": "Innodb_adaptive_hash_cells",
"scope": [
Expand Down
78 changes: 77 additions & 1 deletion dist/merged-raw.md
Original file line number Diff line number Diff line change
Expand Up @@ -10004,7 +10004,6 @@
|name|value|
|----|-----|
|Name|`replicate_rewrite_db`|
|Command line|`--replicate-rewrite-db=old_name->new_name`|
|Type of variable|`string`|

### Documentation(s)
Expand Down Expand Up @@ -17161,6 +17160,22 @@
|------|----|
|mariadb.com|[log_slow_filter](https://mariadb.com/kb/en/library/documentation/replication/optimization-and-tuning/system-variables/server-system-variables/#log_slow_filter)|

## log_slow_min_examined_row_limit
|name|value|
|----|-----|
|Name|`log_slow_min_examined_row_limit`|
|Command line|`--log-slow-min-examined-row-limit=#`|
|Type of variable|`integer`|
|Scope|`global`, `session`|
|Default value|`0`|
|Dynamic|`true`|
|Range|from: `0` to: `4294967295`|

### Documentation(s)
|source|anchor name|
|------|----|
|mariadb.com|[log_slow_min_examined_row_limit](https://mariadb.com/kb/en/library/documentation/replication/optimization-and-tuning/system-variables/server-system-variables/#log_slow_min_examined_row_limit)|

## log_slow_queries
|name|value|
|----|-----|
Expand All @@ -17176,6 +17191,52 @@
|------|----|
|mariadb.com|[log_slow_queries](https://mariadb.com/kb/en/library/documentation/replication/optimization-and-tuning/system-variables/server-system-variables/#log_slow_queries)|

## log_slow_query
|name|value|
|----|-----|
|Name|`log_slow_query`|
|Command line|`--slow-query-log`|
|Type of variable|`boolean`|
|Scope|`global`, `session`|
|Default value|`0`|
|Dynamic|`true`|

### Documentation(s)
|source|anchor name|
|------|----|
|mariadb.com|[log_slow_query](https://mariadb.com/kb/en/library/documentation/replication/optimization-and-tuning/system-variables/server-system-variables/#log_slow_query)|

## log_slow_query_file_name
|name|value|
|----|-----|
|Name|`log_slow_query_file_name`|
|Command line|`--log-slow-query-file-name=file_name`|
|Type of variable|`file name`|
|Scope|`global`|
|Default value|`host_name-slow.log`|
|Dynamic|`true`|

### Documentation(s)
|source|anchor name|
|------|----|
|mariadb.com|[log_slow_query_file_name](https://mariadb.com/kb/en/library/documentation/replication/optimization-and-tuning/system-variables/server-system-variables/#log_slow_query_file_name)|

## log_slow_query_time
|name|value|
|----|-----|
|Name|`log_slow_query_time`|
|Command line|`--log-slow-query-time=#`|
|Type of variable|`integer`|
|Scope|`global`, `session`|
|Default value|`10.000000`|
|Dynamic|`true`|
|Range|from: `0` to: `31536000`|

### Documentation(s)
|source|anchor name|
|------|----|
|mariadb.com|[log_slow_query_time](https://mariadb.com/kb/en/library/documentation/replication/optimization-and-tuning/system-variables/server-system-variables/#log_slow_query_time)|

## log_slow_rate_limit
|name|value|
|----|-----|
Expand Down Expand Up @@ -25062,6 +25123,21 @@
|------|----|
|mariadb.com|[system_versioning_innodb_algorithm_simple](https://mariadb.com/kb/en/library/documentation/system-versioned-tables/#system_versioning_innodb_algorithm_simple)|

## system_versioning_insert_history
|name|value|
|----|-----|
|Name|`system_versioning_insert_history`|
|Command line|`--system-versioning-insert-history[={0|1}]`|
|Type of variable|`boolean`|
|Scope|`global`, `session`|
|Default value|`OFF`|
|Dynamic|`true`|

### Documentation(s)
|source|anchor name|
|------|----|
|mariadb.com|[system_versioning_insert_history](https://mariadb.com/kb/en/library/documentation/system-versioned-tables/#system_versioning_insert_history)|

## Innodb_adaptive_hash_cells
|name|value|
|----|-----|
Expand Down
Loading

0 comments on commit 128a3b6

Please sign in to comment.