forked from jayallen/melody
-
Notifications
You must be signed in to change notification settings - Fork 36
config dbmaxreplicationlag
Byrne edited this page Nov 1, 2010
·
1 revision
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.
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.
integer (number of bytes)
This value can be best determined by the database administrator.
Define lag of 1024bytes:
DBMaxReplicationLag 1024
- Categories: Appendix: Configuration Directives
- Tags: config, database, lag, master, replication, slave