{
  "data": [
    {
      "cli": "--master-info-file=file_name",
      "default": "master.info",
      "id": "option_mysqld_master-info-file",
      "name": "master_info_file",
      "type": "file name"
    },
    {
      "cli": "--master-retry-count=#",
      "default": "86400",
      "id": "option_mysqld_master-retry-count",
      "name": "master_retry_count",
      "range": {
        "from": 0
      },
      "type": "integer"
    },
    {
      "cli": "--max-relay-log-size=#",
      "default": "0",
      "dynamic": true,
      "id": "option_mysqld_max-relay-log-size",
      "name": "max_relay_log_size",
      "range": {
        "from": 0,
        "to": 1073741824
      },
      "scope": [
        "global"
      ],
      "type": "integer"
    },
    {
      "cli": "--relay-log-purge[={OFF|ON}]",
      "default": "ON",
      "dynamic": true,
      "id": "option_mysqld_relay-log-purge",
      "name": "relay_log_purge",
      "scope": [
        "global"
      ],
      "type": "boolean"
    },
    {
      "cli": "--relay-log-space-limit=#",
      "default": "0",
      "dynamic": false,
      "id": "option_mysqld_relay-log-space-limit",
      "name": "relay_log_space_limit",
      "range": {
        "from": 0,
        "to": 18446744073709551615
      },
      "scope": [
        "global"
      ],
      "type": "integer"
    },
    {
      "cli": "--replicate-do-db=name",
      "id": "option_mysqld_replicate-do-db",
      "name": "replicate_do_db",
      "type": "string"
    },
    {
      "cli": "--replicate-ignore-db=name",
      "id": "option_mysqld_replicate-ignore-db",
      "name": "replicate_ignore_db",
      "type": "string"
    },
    {
      "cli": "--replicate-do-table=name",
      "id": "option_mysqld_replicate-do-table",
      "name": "replicate_do_table",
      "type": "string"
    },
    {
      "cli": "--replicate-ignore-table=name",
      "id": "option_mysqld_replicate-ignore-table",
      "name": "replicate_ignore_table",
      "type": "string"
    },
    {
      "cli": "--replicate-rewrite-db=old_name->new_name",
      "id": "option_mysqld_replicate-rewrite-db",
      "name": "replicate_rewrite_db",
      "type": "string"
    },
    {
      "cli": "--replicate-same-server-id[={OFF|ON}]",
      "default": "OFF",
      "id": "option_mysqld_replicate-same-server-id",
      "name": "replicate_same_server_id",
      "type": "boolean"
    },
    {
      "cli": "--replicate-wild-do-table=name",
      "id": "option_mysqld_replicate-wild-do-table",
      "name": "replicate_wild_do_table",
      "type": "string"
    },
    {
      "cli": "--replicate-wild-ignore-table=name",
      "id": "option_mysqld_replicate-wild-ignore-table",
      "name": "replicate_wild_ignore_table",
      "type": "string"
    },
    {
      "cli": "--skip-replica-start[={OFF|ON}]",
      "default": "OFF",
      "dynamic": false,
      "id": "option_mysqld_skip-replica-start",
      "name": "skip_replica_start",
      "scope": [
        "global"
      ],
      "type": "boolean"
    },
    {
      "cli": "--skip-slave-start[={OFF|ON}]",
      "default": "OFF",
      "dynamic": false,
      "id": "option_mysqld_skip-slave-start",
      "name": "skip_slave_start",
      "scope": [
        "global"
      ],
      "type": "boolean"
    },
    {
      "cli": "--slave-skip-errors=name",
      "default": "OFF",
      "dynamic": false,
      "id": "option_mysqld_slave-skip-errors",
      "name": "slave_skip_errors",
      "scope": [
        "global"
      ],
      "type": "string",
      "validValues": [
        "OFF",
        "[list of error codes]",
        "all",
        "ddl_exist_errors"
      ]
    },
    {
      "cli": "--slave-sql-verify-checksum[={OFF|ON}]",
      "default": "ON",
      "id": "option_mysqld_slave-sql-verify-checksum",
      "name": "slave_sql_verify_checksum",
      "type": "boolean"
    },
    {
      "cli": "--abort-slave-event-count=#",
      "default": "0",
      "id": "option_mysqld_abort-slave-event-count",
      "name": "abort_slave_event_count",
      "range": {
        "from": 0
      },
      "type": "integer"
    },
    {
      "cli": "--disconnect-slave-event-count=#",
      "default": "0",
      "id": "option_mysqld_disconnect-slave-event-count",
      "name": "disconnect_slave_event_count",
      "type": "integer"
    },
    {
      "cli": "--init-replica=name",
      "dynamic": true,
      "id": "sysvar_init_replica",
      "name": "init_replica",
      "scope": [
        "global"
      ],
      "type": "string"
    },
    {
      "cli": "--init-slave=name",
      "dynamic": true,
      "id": "sysvar_init_slave",
      "name": "init_slave",
      "scope": [
        "global"
      ],
      "type": "string"
    },
    {
      "cli": "--log-slow-replica-statements[={OFF|ON}]",
      "default": "OFF",
      "dynamic": true,
      "id": "sysvar_log_slow_replica_statements",
      "name": "log_slow_replica_statements",
      "scope": [
        "global"
      ],
      "type": "boolean"
    },
    {
      "cli": "--log-slow-slave-statements[={OFF|ON}]",
      "default": "OFF",
      "dynamic": true,
      "id": "sysvar_log_slow_slave_statements",
      "name": "log_slow_slave_statements",
      "scope": [
        "global"
      ],
      "type": "boolean"
    },
    {
      "cli": "--master-info-repository={FILE|TABLE}",
      "default": "TABLE",
      "dynamic": true,
      "id": "sysvar_master_info_repository",
      "name": "master_info_repository",
      "scope": [
        "global"
      ],
      "type": "string",
      "validValues": [
        "FILE",
        "TABLE"
      ]
    },
    {
      "cli": "--relay-log=file_name",
      "dynamic": false,
      "id": "sysvar_relay_log",
      "name": "relay_log",
      "scope": [
        "global"
      ],
      "type": "file name"
    },
    {
      "default": "datadir + '/' + hostname + '-relay-bin'",
      "dynamic": false,
      "id": "sysvar_relay_log_basename",
      "name": "relay_log_basename",
      "scope": [
        "global"
      ],
      "type": "file name"
    },
    {
      "cli": "--relay-log-index=file_name",
      "default": "*host_name*-relay-bin.index",
      "dynamic": false,
      "id": "sysvar_relay_log_index",
      "name": "relay_log_index",
      "scope": [
        "global"
      ],
      "type": "file name"
    },
    {
      "cli": "--relay-log-info-file=file_name",
      "default": "relay-log.info",
      "dynamic": false,
      "id": "sysvar_relay_log_info_file",
      "name": "relay_log_info_file",
      "scope": [
        "global"
      ],
      "type": "file name"
    },
    {
      "cli": "--relay-log-info-repository=value",
      "default": "TABLE",
      "dynamic": true,
      "id": "sysvar_relay_log_info_repository",
      "name": "relay_log_info_repository",
      "scope": [
        "global"
      ],
      "type": "string",
      "validValues": [
        "FILE",
        "TABLE"
      ]
    },
    {
      "cli": "--relay-log-recovery[={OFF|ON}]",
      "default": "OFF",
      "dynamic": false,
      "id": "sysvar_relay_log_recovery",
      "name": "relay_log_recovery",
      "scope": [
        "global"
      ],
      "type": "boolean"
    },
    {
      "cli": "--replica-checkpoint-group=#",
      "default": "512",
      "dynamic": true,
      "id": "sysvar_replica_checkpoint_group",
      "name": "replica_checkpoint_group",
      "range": {
        "from": 32,
        "to": 524280
      },
      "scope": [
        "global"
      ],
      "type": "integer"
    },
    {
      "cli": "--replica-checkpoint-period=#",
      "default": "300",
      "dynamic": true,
      "id": "sysvar_replica_checkpoint_period",
      "name": "replica_checkpoint_period",
      "range": {
        "from": 1,
        "to": 4294967295
      },
      "scope": [
        "global"
      ],
      "type": "integer"
    },
    {
      "cli": "--replica-compressed-protocol[={OFF|ON}]",
      "default": "OFF",
      "dynamic": true,
      "id": "sysvar_replica_compressed_protocol",
      "name": "replica_compressed_protocol",
      "scope": [
        "global"
      ],
      "type": "boolean"
    },
    {
      "cli": "--replica-exec-mode=mode",
      "default": "IDEMPOTENT (NDB)STRICT (Other)",
      "dynamic": true,
      "id": "sysvar_replica_exec_mode",
      "name": "replica_exec_mode",
      "scope": [
        "global"
      ],
      "type": "enumeration",
      "validValues": [
        "STRICT",
        "IDEMPOTENT"
      ]
    },
    {
      "cli": "--replica-load-tmpdir=dir_name",
      "default": "Value of --tmpdir",
      "dynamic": false,
      "id": "sysvar_replica_load_tmpdir",
      "name": "replica_load_tmpdir",
      "scope": [
        "global"
      ],
      "type": "directory name"
    },
    {
      "cli": "--replica-max-allowed-packet=#",
      "default": "1073741824",
      "dynamic": true,
      "id": "sysvar_replica_max_allowed_packet",
      "name": "replica_max_allowed_packet",
      "range": {
        "from": 1024,
        "to": 1073741824
      },
      "scope": [
        "global"
      ],
      "type": "integer"
    },
    {
      "cli": "--replica-net-timeout=#",
      "default": "60",
      "dynamic": true,
      "id": "sysvar_replica_net_timeout",
      "name": "replica_net_timeout",
      "range": {
        "from": 1,
        "to": 31536000
      },
      "scope": [
        "global"
      ],
      "type": "integer"
    },
    {
      "cli": "--replica-parallel-type=value",
      "dynamic": true,
      "id": "sysvar_replica_parallel_type",
      "name": "replica_parallel_type",
      "scope": [
        "global"
      ],
      "type": "enumeration",
      "validValues": [
        "DATABASE",
        "LOGICAL_CLOCK"
      ]
    },
    {
      "cli": "--replica-parallel-workers=#",
      "dynamic": true,
      "id": "sysvar_replica_parallel_workers",
      "name": "replica_parallel_workers",
      "range": {
        "from": 0,
        "to": 1024
      },
      "scope": [
        "global"
      ],
      "type": "integer"
    },
    {
      "cli": "--replica-pending-jobs-size-max=#",
      "default": "128M",
      "dynamic": true,
      "id": "sysvar_replica_pending_jobs_size_max",
      "name": "replica_pending_jobs_size_max",
      "range": {
        "from": 1024
      },
      "scope": [
        "global"
      ],
      "type": "integer"
    },
    {
      "cli": "--replica-preserve-commit-order[={OFF|ON}]",
      "dynamic": true,
      "id": "sysvar_replica_preserve_commit_order",
      "name": "replica_preserve_commit_order",
      "scope": [
        "global"
      ],
      "type": "boolean"
    },
    {
      "cli": "--replica-sql-verify-checksum[={OFF|ON}]",
      "default": "ON",
      "dynamic": true,
      "id": "sysvar_replica_sql_verify_checksum",
      "name": "replica_sql_verify_checksum",
      "scope": [
        "global"
      ],
      "type": "boolean"
    },
    {
      "cli": "--replica-transaction-retries=#",
      "default": "10",
      "dynamic": true,
      "id": "sysvar_replica_transaction_retries",
      "name": "replica_transaction_retries",
      "range": {
        "from": 0,
        "to": 18446744073709551615
      },
      "scope": [
        "global"
      ],
      "type": "integer"
    },
    {
      "cli": "--replica-type-conversions=set",
      "default": "",
      "dynamic": true,
      "id": "sysvar_replica_type_conversions",
      "name": "replica_type_conversions",
      "scope": [
        "global"
      ],
      "type": "set",
      "validValues": [
        "ALL_LOSSY",
        "ALL_NON_LOSSY",
        "ALL_SIGNED",
        "ALL_UNSIGNED"
      ]
    },
    {
      "cli": "--replication-optimize-for-static-plugin-config[={OFF|ON}]",
      "default": "OFF",
      "dynamic": true,
      "id": "sysvar_replication_optimize_for_static_plugin_config",
      "name": "replication_optimize_for_static_plugin_config",
      "scope": [
        "global"
      ],
      "type": "boolean"
    },
    {
      "cli": "--replication-sender-observe-commit-only[={OFF|ON}]",
      "default": "OFF",
      "dynamic": true,
      "id": "sysvar_replication_sender_observe_commit_only",
      "name": "replication_sender_observe_commit_only",
      "scope": [
        "global"
      ],
      "type": "boolean"
    },
    {
      "cli": "--report-host=host_name",
      "dynamic": false,
      "id": "sysvar_report_host",
      "name": "report_host",
      "scope": [
        "global"
      ],
      "type": "string"
    },
    {
      "cli": "--report-password=name",
      "dynamic": false,
      "id": "sysvar_report_password",
      "name": "report_password",
      "scope": [
        "global"
      ],
      "type": "string"
    },
    {
      "cli": "--report-port=port_num",
      "default": "[slave_port]",
      "dynamic": false,
      "id": "sysvar_report_port",
      "name": "report_port",
      "range": {
        "from": 0,
        "to": 65535
      },
      "scope": [
        "global"
      ],
      "type": "integer"
    },
    {
      "cli": "--report-user=name",
      "dynamic": false,
      "id": "sysvar_report_user",
      "name": "report_user",
      "scope": [
        "global"
      ],
      "type": "string"
    },
    {
      "cli": "--rpl-read-size=#",
      "default": "8192",
      "dynamic": true,
      "id": "sysvar_rpl_read_size",
      "name": "rpl_read_size",
      "range": {
        "from": 8192,
        "to": 4294959104
      },
      "scope": [
        "global"
      ],
      "type": "integer"
    },
    {
      "cli": "--rpl-semi-sync-replica-enabled[={OFF|ON}]",
      "default": "OFF",
      "dynamic": true,
      "id": "sysvar_rpl_semi_sync_replica_enabled",
      "name": "rpl_semi_sync_replica_enabled",
      "scope": [
        "global"
      ],
      "type": "boolean"
    },
    {
      "cli": "--rpl-semi-sync-replica-trace-level=#",
      "default": "32",
      "dynamic": true,
      "id": "sysvar_rpl_semi_sync_replica_trace_level",
      "name": "rpl_semi_sync_replica_trace_level",
      "range": {
        "from": 0,
        "to": 4294967295
      },
      "scope": [
        "global"
      ],
      "type": "integer"
    },
    {
      "cli": "--rpl-semi-sync-slave-enabled[={OFF|ON}]",
      "default": "OFF",
      "dynamic": true,
      "id": "sysvar_rpl_semi_sync_slave_enabled",
      "name": "rpl_semi_sync_slave_enabled",
      "scope": [
        "global"
      ],
      "type": "boolean"
    },
    {
      "cli": "--rpl-semi-sync-slave-trace-level=#",
      "default": "32",
      "dynamic": true,
      "id": "sysvar_rpl_semi_sync_slave_trace_level",
      "name": "rpl_semi_sync_slave_trace_level",
      "range": {
        "from": 0,
        "to": 4294967295
      },
      "scope": [
        "global"
      ],
      "type": "integer"
    },
    {
      "cli": "--rpl-stop-replica-timeout=#",
      "default": "31536000",
      "dynamic": true,
      "id": "sysvar_rpl_stop_replica_timeout",
      "name": "rpl_stop_replica_timeout",
      "range": {
        "from": 2,
        "to": 31536000
      },
      "scope": [
        "global"
      ],
      "type": "integer"
    },
    {
      "cli": "--rpl-stop-slave-timeout=#",
      "default": "31536000",
      "dynamic": true,
      "id": "sysvar_rpl_stop_slave_timeout",
      "name": "rpl_stop_slave_timeout",
      "range": {
        "from": 2,
        "to": 31536000
      },
      "scope": [
        "global"
      ],
      "type": "integer"
    },
    {
      "cli": "--slave-checkpoint-group=#",
      "default": "512",
      "dynamic": true,
      "id": "sysvar_slave_checkpoint_group",
      "name": "slave_checkpoint_group",
      "range": {
        "from": 32,
        "to": 524280
      },
      "scope": [
        "global"
      ],
      "type": "integer"
    },
    {
      "cli": "--slave-checkpoint-period=#",
      "default": "300",
      "dynamic": true,
      "id": "sysvar_slave_checkpoint_period",
      "name": "slave_checkpoint_period",
      "range": {
        "from": 1,
        "to": 4294967295
      },
      "scope": [
        "global"
      ],
      "type": "integer"
    },
    {
      "cli": "--slave-compressed-protocol[={OFF|ON}]",
      "default": "OFF",
      "dynamic": true,
      "id": "sysvar_slave_compressed_protocol",
      "name": "slave_compressed_protocol",
      "scope": [
        "global"
      ],
      "type": "boolean"
    },
    {
      "cli": "--slave-exec-mode=mode",
      "default": "IDEMPOTENT (NDB)STRICT (Other)",
      "dynamic": true,
      "id": "sysvar_slave_exec_mode",
      "name": "slave_exec_mode",
      "scope": [
        "global"
      ],
      "type": "enumeration",
      "validValues": [
        "STRICT",
        "IDEMPOTENT"
      ]
    },
    {
      "cli": "--slave-load-tmpdir=dir_name",
      "default": "Value of --tmpdir",
      "dynamic": false,
      "id": "sysvar_slave_load_tmpdir",
      "name": "slave_load_tmpdir",
      "scope": [
        "global"
      ],
      "type": "directory name"
    },
    {
      "cli": "--slave-max-allowed-packet=#",
      "default": "1073741824",
      "dynamic": true,
      "id": "sysvar_slave_max_allowed_packet",
      "name": "slave_max_allowed_packet",
      "range": {
        "from": 1024,
        "to": 1073741824
      },
      "scope": [
        "global"
      ],
      "type": "integer"
    },
    {
      "cli": "--slave-net-timeout=#",
      "default": "60",
      "dynamic": true,
      "id": "sysvar_slave_net_timeout",
      "name": "slave_net_timeout",
      "range": {
        "from": 1,
        "to": 31536000
      },
      "scope": [
        "global"
      ],
      "type": "integer"
    },
    {
      "cli": "--slave-parallel-type=value",
      "dynamic": true,
      "id": "sysvar_slave_parallel_type",
      "name": "slave_parallel_type",
      "scope": [
        "global"
      ],
      "type": "enumeration",
      "validValues": [
        "DATABASE",
        "LOGICAL_CLOCK"
      ]
    },
    {
      "cli": "--slave-parallel-workers=#",
      "dynamic": true,
      "id": "sysvar_slave_parallel_workers",
      "name": "slave_parallel_workers",
      "range": {
        "from": 0,
        "to": 1024
      },
      "scope": [
        "global"
      ],
      "type": "integer"
    },
    {
      "cli": "--slave-pending-jobs-size-max=#",
      "dynamic": true,
      "id": "sysvar_slave_pending_jobs_size_max",
      "name": "slave_pending_jobs_size_max",
      "range": {
        "from": 1024
      },
      "scope": [
        "global"
      ],
      "type": "integer"
    },
    {
      "cli": "--slave-preserve-commit-order[={OFF|ON}]",
      "dynamic": true,
      "id": "sysvar_slave_preserve_commit_order",
      "name": "slave_preserve_commit_order",
      "scope": [
        "global"
      ],
      "type": "boolean"
    },
    {
      "cli": "--slave-rows-search-algorithms=value",
      "default": "INDEX_SCAN,HASH_SCAN",
      "dynamic": true,
      "id": "sysvar_slave_rows_search_algorithms",
      "name": "slave_rows_search_algorithms",
      "scope": [
        "global"
      ],
      "type": "set",
      "validValues": [
        "TABLE_SCAN,INDEX_SCAN",
        "INDEX_SCAN,HASH_SCAN",
        "TABLE_SCAN,HASH_SCAN",
        "TABLE_SCAN,INDEX_SCAN,HASH_SCAN"
      ]
    },
    {
      "cli": "--replica-skip-errors=name",
      "default": "OFF",
      "dynamic": false,
      "id": "sysvar_replica_skip_errors",
      "name": "replica_skip_errors",
      "scope": [
        "global"
      ],
      "type": "string",
      "validValues": [
        "OFF",
        "[list of error codes]",
        "all",
        "ddl_exist_errors"
      ]
    },
    {
      "cli": "--slave-transaction-retries=#",
      "default": "10",
      "dynamic": true,
      "id": "sysvar_slave_transaction_retries",
      "name": "slave_transaction_retries",
      "range": {
        "from": 0
      },
      "scope": [
        "global"
      ],
      "type": "integer"
    },
    {
      "cli": "--slave-type-conversions=set",
      "default": "",
      "dynamic": true,
      "id": "sysvar_slave_type_conversions",
      "name": "slave_type_conversions",
      "scope": [
        "global"
      ],
      "type": "set",
      "validValues": [
        "ALL_LOSSY",
        "ALL_NON_LOSSY",
        "ALL_SIGNED",
        "ALL_UNSIGNED"
      ]
    },
    {
      "default": "0",
      "dynamic": true,
      "id": "sysvar_sql_replica_skip_counter",
      "name": "sql_replica_skip_counter",
      "range": {
        "from": 0,
        "to": 4294967295
      },
      "scope": [
        "global"
      ],
      "type": "integer"
    },
    {
      "default": "0",
      "dynamic": true,
      "id": "sysvar_sql_slave_skip_counter",
      "name": "sql_slave_skip_counter",
      "range": {
        "from": 0,
        "to": 4294967295
      },
      "scope": [
        "global"
      ],
      "type": "integer"
    },
    {
      "cli": "--sync-master-info=#",
      "default": "10000",
      "dynamic": true,
      "id": "sysvar_sync_master_info",
      "name": "sync_master_info",
      "range": {
        "from": 0,
        "to": 4294967295
      },
      "scope": [
        "global"
      ],
      "type": "integer"
    },
    {
      "cli": "--sync-relay-log=#",
      "default": "10000",
      "dynamic": true,
      "id": "sysvar_sync_relay_log",
      "name": "sync_relay_log",
      "range": {
        "from": 0,
        "to": 4294967295
      },
      "scope": [
        "global"
      ],
      "type": "integer"
    },
    {
      "cli": "--sync-relay-log-info=#",
      "default": "10000",
      "dynamic": true,
      "id": "sysvar_sync_relay_log_info",
      "name": "sync_relay_log_info",
      "range": {
        "from": 0,
        "to": 4294967295
      },
      "scope": [
        "global"
      ],
      "type": "integer"
    },
    {
      "cli": "--sync-source-info=#",
      "default": "10000",
      "dynamic": true,
      "id": "sysvar_sync_source_info",
      "name": "sync_source_info",
      "range": {
        "from": 0,
        "to": 4294967295
      },
      "scope": [
        "global"
      ],
      "type": "integer"
    },
    {
      "cli": "--terminology-use-previous=#",
      "default": "NONE",
      "dynamic": true,
      "id": "sysvar_terminology_use_previous",
      "name": "terminology_use_previous",
      "scope": [
        "global",
        "session"
      ],
      "type": "enumeration",
      "validValues": [
        "NONE",
        "BEFORE_8_0_26"
      ]
    },
    {
      "id": "sysvar_binlog_transaction_dependency_tracking",
      "name": "binlog_transaction_dependency_tracking"
    }
  ],
  "name": "replication-options-replica",
  "url": "https://dev.mysql.com/doc/refman/8.0/en/replication-options-replica.html"
}
