About [[MediaWiki:Apihelp-main-param-maxlag/ksh]]

Jump to navigation Jump to search

"Database replication" is a configuration where you have multiple databases that communicate with each other so they all contain the same data. A "database replicated cluster" is a cluster (meaning "a group of computers that work together") of databases configured in this manner.

"Lag" refers to the situation where one or more of the databases in the cluster are not completely up to date. For example, if the "master" database has data up to 2016-01-21T01:23:45Z while one of the "slave" is only up to 2016-01-21T01:23:30Z, that's a lag of 15 seconds.

In this case, "$lag" and "$host" are syntactic variables rather than computer code variables, so <var> would not be appropriate. They are there to represent that the actual output text will be something like "Waiting for db1045: 53 seconds lagged."

Anomie01:30, 21 January 2016