Skip to content

config dbmaxreplicationlag

Byrne edited this page Nov 1, 2010 · 1 revision

DBMaxReplicationLag

This is an integer value, which is the number of bytes to allow a database slave to be lagged behind the master database. If the slave exceeds this specified value, it will not be considered when choosing a slave database for read-only access.

Default

The default is 0; which means no lag is acceptable, and any amount of lag will cause the slave to be ignored until it is up to date.

Values

integer (number of bytes)

This value can be best determined by the database administrator.

Example

Define lag of 1024bytes:

DBMaxReplicationLag 1024
  • Categories: Appendix: Configuration Directives
  • Tags: config, database, lag, master, replication, slave
Clone this wiki locally