19.1.6.4 Binary Logging Options and Variables (original) (raw)

System Variables Used with Binary Logging

The following list describes system variables for controlling binary logging. They can be set at server startup and some of them can be changed at runtime usingSET. Server options used to control binary logging are listed earlier in this section.

A -> B -> C  

Here, A serves as the source for the replica B, and B serves as the source for the replica C. For this to work, B must be both a source_and_ a replica. With binary logging enabled andlog_replica_updates enabled, which are the default settings, updates received from A are logged by B to its binary log, and can therefore be passed on toC.

max_binlog_cache_size <  
  (((maxsize - max_binlog_size) / max_connections) - 1000) / 1.2  

This calculation takes into account the following conditions: