Replication and Binary Log System Variables (original) (raw)

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.

Contents

  1. auto_increment_increment
  2. auto_increment_offset
  3. binlog_alter_two_phase
  4. binlog_annotate_row_events
  5. binlog_cache_size
  6. binlog_checksum
  7. binlog_commit_wait_count
  8. binlog_commit_wait_usec
  9. binlog_direct_non_transactional_updates
  10. binlog_do_db
  11. binlog_expire_logs_seconds
  12. binlog_file_cache_size
  13. binlog_format
  14. binlog_gtid_index
  15. binlog_gtid_index_page_size
  16. binlog_gtid_index_span_min
  17. binlog_ignore_db
  18. binlog_large_commit_threshold
  19. binlog_legacy_event_pos
  20. binlog_optimize_thread_scheduling
  21. binlog_row_event_max_size
  22. binlog_row_image
  23. binlog_row_metadata
  24. binlog_space_limit
  25. binlog_stmt_cache_size
  26. default_master_connection
  27. encrypt_binlog
  28. expire_logs_days
  29. gtid_binlog_pos
  30. gtid_binlog_state
  31. gtid_current_pos
  32. gtid_domain_id
  33. gtid_seq_no
  34. gtid_slave_pos
  35. gtid_strict_mode
  36. gtid_pos_auto_engines
  37. init_slave
  38. last_gtid
  39. log_bin
  40. log_bin_basename
  41. log_bin_compress
  42. log_bin_compress_min_len
  43. log_bin_index
  44. log_bin_trust_function_creators
  45. log_slow_slave_statements
  46. log_slave_updates
  47. master_verify_checksum
  48. max_binlog_cache_size
  49. max_binlog_size
  50. max_binlog_stmt_cache_size
  51. max_binlog_total_size
  52. max_relay_log_size
  53. read_binlog_speed_limit
  54. relay_log
  55. relay_log_basename
  56. relay_log_index
  57. relay_log_info_file
  58. relay_log_purge
  59. relay_log_recovery
  60. relay_log_space_limit
  61. replicate_annotate_row_events
  62. replicate_do_db
  63. replicate_do_table
  64. replicate_events_marked_for_skip
  65. replicate_ignore_db
  66. replicate_ignore_table
  67. replicate_rewrite_db
  68. replicate_wild_do_table
  69. replicate_wild_ignore_table
  70. report_host
  71. report_password
  72. report_port
  73. report_user
  74. server_id
  75. skip_parallel_replication
  76. skip_replication
  77. slave_abort_blocking_timeout
  78. slave_compressed_protocol
  79. slave_connections_needed_for_purge
  80. slave_ddl_exec_mode
  81. slave_domain_parallel_threads
  82. slave_exec_mode
  83. slave_load_tmpdir
  84. slave_max_allowed_packet
  85. slave_max_statement_time
  86. slave_net_timeout
  87. slave_parallel_max_queued
  88. slave_parallel_mode
  89. slave_parallel_threads
  90. slave_parallel_workers
  91. slave_run_triggers_for_rbr
  92. slave_skip_errors
  93. slave_sql_verify_checksum
  94. slave_transaction_retries
  95. slave_transaction_retry_errors
  96. slave_transaction_retry_interval
  97. slave_type_conversions
  98. sql_log_bin
  99. sql_slave_skip_counter
  100. sync_binlog
  101. sync_master_info
  102. sync_relay_log
  103. sync_relay_log_info

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.

auto_increment_increment


auto_increment_offset


binlog_alter_two_phase


binlog_annotate_row_events

binlog_cache_size


binlog_checksum


binlog_commit_wait_count


binlog_commit_wait_usec


binlog_direct_non_transactional_updates


binlog_do_db


binlog_expire_logs_seconds


binlog_file_cache_size


binlog_format


binlog_gtid_index


binlog_gtid_index_page_size


binlog_gtid_index_span_min


binlog_ignore_db


binlog_large_commit_threshold


binlog_legacy_event_pos


binlog_optimize_thread_scheduling


binlog_row_event_max_size


binlog_row_image


binlog_row_metadata


binlog_space_limit


binlog_stmt_cache_size


default_master_connection


encrypt_binlog


expire_logs_days


init_slave


log_bin


log_bin_basename


log_bin_compress


log_bin_compress_min_len


log_bin_index


log_bin_trust_function_creators


log_slow_slave_statements


log_slave_updates


master_verify_checksum


max_binlog_cache_size


max_binlog_size


max_binlog_stmt_cache_size


max_binlog_total_size


max_relay_log_size


read_binlog_speed_limit


relay_log


relay_log_basename


relay_log_index


relay_log_info_file


relay_log_purge


relay_log_recovery


relay_log_space_limit


replicate_annotate_row_events


replicate_do_db


replicate_do_table


replicate_events_marked_for_skip


replicate_ignore_db


replicate_ignore_table


replicate_rewrite_db


replicate_wild_do_table


replicate_wild_ignore_table


report_host


report_password


report_port


report_user


server_id


skip_parallel_replication


skip_replication


slave_abort_blocking_timeout


slave_compressed_protocol


slave_connections_needed_for_purge


slave_ddl_exec_mode


slave_domain_parallel_threads


slave_exec_mode


slave_load_tmpdir


slave_max_allowed_packet


slave_max_statement_time


slave_net_timeout


slave_parallel_max_queued


slave_parallel_mode


slave_parallel_threads


slave_parallel_workers


slave_run_triggers_for_rbr


slave_skip_errors


slave_sql_verify_checksum


slave_transaction_retries


slave_transaction_retry_errors


slave_transaction_retry_interval


slave_type_conversions


sql_log_bin


sql_slave_skip_counter


sync_binlog


sync_master_info


sync_relay_log


sync_relay_log_info


Comments

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.