Replication and Binary Log System Variables | MariaDB Documentation (original) (raw)

  1. HA & Performance
  2. MariaDB Replication

Replication and Binary Log System Variables

Explore replication and binary log system variables in MariaDB Server. This section details essential configuration parameters for managing replication behavior & binary logging for data consistency.

The terms master and slave have historically been used in replication, and MariaDB has begun the process of adding primary and replica synonyms. The old terms will continue to be used to maintain backward compatibility - see MDEV-18777 to follow progress on this effort.

This page lists system variables that are related to binary logging and replication.

See Server System Variables for a complete list of system variables and instructions on setting them, as well as System variables for global transaction ID.

Also see mariadbd replication options for related options that are not system variables (such as binlog_do_db and binlog_ignore_db).

See also the Full list of MariaDB options, system and status variables.

binlog_annotate_row_events

binlog_direct_non_transactional_updates

binlog_expire_logs_seconds

binlog_gtid_index_page_size

binlog_gtid_index_span_min

binlog_large_commit_threshold

binlog_optimize_thread_scheduling

binlog_row_event_max_size

default_master_connection

log_bin_trust_function_creators

log_slow_slave_statements

max_binlog_stmt_cache_size

replicate_annotate_row_events

replicate_events_marked_for_skip

replicate_wild_ignore_table

skip_parallel_replication

slave_abort_blocking_timeout

slave_compressed_protocol

slave_connections_needed_for_purge

slave_domain_parallel_threads

slave_parallel_max_queued

slave_run_triggers_for_rbr

slave_sql_verify_checksum

slave_transaction_retries

slave_transaction_retry_errors

slave_transaction_retry_interval

This page is licensed: CC BY-SA / Gnu FDL