Skip to content

Commit

Permalink
update: [MySQL] updates and other changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sudo-robot committed Jan 18, 2020
1 parent 3231ac4 commit 4d67c9c
Show file tree
Hide file tree
Showing 13 changed files with 295 additions and 779 deletions.
51 changes: 15 additions & 36 deletions data/mysql-innodb-parameters.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,16 +85,6 @@
],
"type": "integer"
},
{
"cli": "--ignore-builtin-innodb[={OFF|ON}]",
"dynamic": false,
"id": "sysvar_ignore_builtin_innodb",
"name": "ignore_builtin_innodb",
"scope": [
"global"
],
"type": "boolean"
},
{
"cli": "--innodb-adaptive-flushing[={OFF|ON}]",
"default": "ON",
Expand Down Expand Up @@ -238,6 +228,7 @@
},
{
"cli": "--innodb-autoinc-lock-mode=#",
"default": "2",
"dynamic": false,
"id": "sysvar_innodb_autoinc_lock_mode",
"name": "innodb_autoinc_lock_mode",
Expand Down Expand Up @@ -789,6 +780,7 @@
},
{
"cli": "--innodb-flush-neighbors=#",
"default": "0",
"dynamic": true,
"id": "sysvar_innodb_flush_neighbors",
"name": "innodb_flush_neighbors",
Expand Down Expand Up @@ -1102,12 +1094,16 @@
{
"cli": "--innodb-log-buffer-size=#",
"default": "16777216",
"dynamic": true,
"id": "sysvar_innodb_log_buffer_size",
"name": "innodb_log_buffer_size",
"range": {
"from": 1048576,
"to": 4294967295
},
"scope": [
"global"
],
"type": "integer"
},
{
Expand Down Expand Up @@ -1268,6 +1264,7 @@
},
{
"cli": "--innodb-max-dirty-pages-pct=#",
"default": "90",
"dynamic": true,
"id": "sysvar_innodb_max_dirty_pages_pct",
"name": "innodb_max_dirty_pages_pct",
Expand All @@ -1282,6 +1279,7 @@
},
{
"cli": "--innodb-max-dirty-pages-pct-lwm=#",
"default": "10",
"dynamic": true,
"id": "sysvar_innodb_max_dirty_pages_pct_lwm",
"name": "innodb_max_dirty_pages_pct_lwm",
Expand Down Expand Up @@ -1719,17 +1717,6 @@
],
"type": "integer"
},
{
"cli": "--innodb-scan-directories=dir_name",
"default": "NULL",
"dynamic": false,
"id": "sysvar_innodb_scan_directories",
"name": "innodb_scan_directories",
"scope": [
"global"
],
"type": "directory name"
},
{
"cli": "--innodb-saved-page-number-debug=#",
"default": "0",
Expand Down Expand Up @@ -2069,6 +2056,7 @@
},
{
"cli": "--innodb-undo-log-truncate[={OFF|ON}]",
"default": "ON",
"dynamic": true,
"id": "sysvar_innodb_undo_log_truncate",
"name": "innodb_undo_log_truncate",
Expand All @@ -2077,25 +2065,16 @@
],
"type": "boolean"
},
{
"cli": "--innodb-undo-logs=#",
"default": "128",
"dynamic": true,
"id": "sysvar_innodb_undo_logs",
"name": "innodb_undo_logs",
"range": {
"from": 1,
"to": 128
},
"scope": [
"global"
],
"type": "integer"
},
{
"cli": "--innodb-undo-tablespaces=#",
"default": "2",
"dynamic": true,
"id": "sysvar_innodb_undo_tablespaces",
"name": "innodb_undo_tablespaces",
"range": {
"from": 2,
"to": 127
},
"scope": [
"global"
],
Expand Down
2 changes: 2 additions & 0 deletions data/mysql-performance-schema-system-variables.json
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@
},
{
"cli": "--performance-schema-max-memory-classes=#",
"default": "450",
"dynamic": false,
"id": "sysvar_performance_schema_max_memory_classes",
"name": "performance_schema_max_memory_classes",
Expand Down Expand Up @@ -464,6 +465,7 @@
},
{
"cli": "--performance-schema-max-thread-classes=#",
"default": "100",
"dynamic": false,
"id": "sysvar_performance_schema_max_thread_classes",
"name": "performance_schema_max_thread_classes",
Expand Down
14 changes: 3 additions & 11 deletions data/mysql-replication-options-binary-log.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@
},
{
"cli": "--binlog-expire-logs-seconds=#",
"default": "2592000",
"dynamic": true,
"id": "sysvar_binlog_expire_logs_seconds",
"name": "binlog_expire_logs_seconds",
Expand Down Expand Up @@ -344,6 +345,7 @@
},
{
"cli": "--expire-logs-days=#",
"default": "0",
"dynamic": true,
"id": "sysvar_expire_logs_days",
"name": "expire_logs_days",
Expand Down Expand Up @@ -406,19 +408,9 @@
],
"type": "boolean"
},
{
"cli": "--log-builtin-as-identified-by-password[={OFF|ON}]",
"default": "OFF",
"dynamic": true,
"id": "sysvar_log_builtin_as_identified_by_password",
"name": "log_builtin_as_identified_by_password",
"scope": [
"global"
],
"type": "boolean"
},
{
"cli": "--log-slave-updates[={OFF|ON}]",
"default": "ON",
"dynamic": false,
"id": "sysvar_log_slave_updates",
"name": "log_slave_updates",
Expand Down
30 changes: 3 additions & 27 deletions data/mysql-replication-options-binary-log_5.7.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
},
{
"cli": "--binlog-error-action[=value]",
"default": "ABORT_SERVER",
"dynamic": true,
"id": "sysvar_binlog_error_action",
"name": "binlog_error_action",
Expand All @@ -120,6 +121,7 @@
},
{
"cli": "--binlog-format=format",
"default": "ROW",
"dynamic": true,
"id": "sysvar_binlog_format",
"name": "binlog_format",
Expand Down Expand Up @@ -164,22 +166,6 @@
],
"type": "integer"
},
{
"cli": "--binlogging-impossible-mode[=value]",
"default": "IGNORE_ERROR",
"dynamic": true,
"id": "sysvar_binlogging_impossible_mode",
"name": "binlogging_impossible_mode",
"scope": [
"global",
"session"
],
"type": "enumeration",
"validValues": [
"IGNORE_ERROR",
"ABORT_SERVER"
]
},
{
"cli": "--binlog-max-flush-queue-time=#",
"default": "0",
Expand Down Expand Up @@ -295,17 +281,6 @@
],
"type": "integer"
},
{
"cli": "--log-backward-compatible-user-definitions[={OFF|ON}]",
"default": "OFF",
"dynamic": true,
"id": "sysvar_log_backward_compatible_user_definitions",
"name": "log_backward_compatible_user_definitions",
"scope": [
"global"
],
"type": "boolean"
},
{
"dynamic": false,
"id": "sysvar_log_bin",
Expand Down Expand Up @@ -457,6 +432,7 @@
},
{
"cli": "--sync-binlog=#",
"default": "1",
"dynamic": true,
"id": "sysvar_sync_binlog",
"name": "sync_binlog",
Expand Down
3 changes: 3 additions & 0 deletions data/mysql-replication-options-slave.json
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@
},
{
"cli": "--master-info-repository={FILE|TABLE}",
"default": "TABLE",
"dynamic": true,
"id": "sysvar_master_info_repository",
"name": "master_info_repository",
Expand Down Expand Up @@ -248,6 +249,7 @@
},
{
"cli": "--relay-log-info-repository=value",
"default": "TABLE",
"dynamic": true,
"id": "sysvar_relay_log_info_repository",
"name": "relay_log_info_repository",
Expand Down Expand Up @@ -546,6 +548,7 @@
},
{
"cli": "--slave-rows-search-algorithms=value",
"default": "INDEX_SCAN,HASH_SCAN",
"dynamic": true,
"id": "sysvar_slave_rows_search_algorithms",
"name": "slave_rows_search_algorithms",
Expand Down
1 change: 1 addition & 0 deletions data/mysql-replication-options.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"data": [
{
"cli": "--server-id=#",
"default": "1",
"dynamic": true,
"id": "sysvar_server_id",
"name": "server_id",
Expand Down
51 changes: 25 additions & 26 deletions data/mysql-server-options.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
},
{
"cli": "--basedir=dir_name",
"default": "parent of mysqld installation directory",
"dynamic": false,
"id": "sysvar_basedir",
"name": "basedir",
Expand Down Expand Up @@ -92,11 +93,6 @@
"name": "default_time_zone",
"type": "string"
},
{
"cli": "--des-key-file=file_name",
"id": "option_mysqld_des-key-file",
"name": "des_key_file"
},
{
"cli": "--early-plugin-load=plugin_list",
"default": "empty string",
Expand Down Expand Up @@ -255,20 +251,6 @@
},
"type": "integer"
},
{
"cli": "--log-warnings[=#]",
"default": "2",
"dynamic": true,
"id": "option_mysqld_log-warnings",
"name": "log_warnings",
"range": {
"from": 0
},
"scope": [
"global"
],
"type": "integer"
},
{
"cli": "--memlock[={OFF|ON}]",
"default": "OFF",
Expand Down Expand Up @@ -412,14 +394,36 @@
},
{
"cli": "--sql-mode=name",
"default": "ONLY_FULL_GROUP_BY STRICT_TRANS_TABLES NO_ZERO_IN_DATE NO_ZERO_DATE ERROR_FOR_DIVISION_BY_ZERO NO_ENGINE_SUBSTITUTION",
"dynamic": true,
"id": "option_mysqld_sql-mode",
"name": "sql_mode",
"scope": [
"global",
"session"
],
"type": "set"
"type": "set",
"validValues": [
"ALLOW_INVALID_DATES",
"ANSI_QUOTES",
"ERROR_FOR_DIVISION_BY_ZERO",
"HIGH_NOT_PRECEDENCE",
"IGNORE_SPACE",
"NO_AUTO_VALUE_ON_ZERO",
"NO_BACKSLASH_ESCAPES",
"NO_DIR_IN_CREATE",
"NO_ENGINE_SUBSTITUTION",
"NO_UNSIGNED_SUBTRACTION",
"NO_ZERO_DATE",
"NO_ZERO_IN_DATE",
"ONLY_FULL_GROUP_BY",
"PAD_CHAR_TO_FULL_LENGTH",
"PIPES_AS_CONCAT",
"REAL_AS_FLOAT",
"STRICT_ALL_TABLES",
"STRICT_TRANS_TABLES",
"TIME_TRUNCATE_FRACTIONAL"
]
},
{
"cli": "--standalone",
Expand All @@ -435,6 +439,7 @@
},
{
"cli": "--symbolic-links[={OFF|ON}]",
"default": "OFF",
"id": "option_mysqld_symbolic-links",
"name": "symbolic_links",
"type": "boolean"
Expand All @@ -457,12 +462,6 @@
"ROLLBACK"
]
},
{
"cli": "--temp-pool[={OFF|ON}]",
"id": "option_mysqld_temp-pool",
"name": "temp_pool",
"type": "boolean"
},
{
"cli": "--transaction-isolation=name",
"default": "REPEATABLE-READ",
Expand Down
Loading

0 comments on commit 4d67c9c

Please sign in to comment.