The configuration community:
Search the Site:

max_relay_log_size

Information

If a write by a replication slave to its relay log causes the current log file size to exceed the value of this variable the slave rotates the relay logs (closes the current file and opens the next one). If max_relay_log_size is 0 the server uses max_binlog_size for both the binary log and the relay log. If max_relay_log_size is greater than 0 it constrains the size of the relay log which enables you to have different sizes for the two logs. You must set max_relay_log_size to between 4096 bytes and 1GB (inclusive) or to 0. The default value is 0. This variable was added in MySQL 4.0.14.

Syntax

Example

728x90