MediaWiki version: | ≥ 1.16 |
MediaWiki file: | lag.php|
---|---|
Location: | maintenance/ |
Source code: | master • 1.40.0 • 1.39.4 • 1.35.11 |
Classes: | DatabaseLag |
Details
lag.php file is a maintenance script to show database lag.
Options/Arguments
Option | Description | Required? |
---|---|---|
--r | Do not exit, just update the database lag every 5 seconds. | Optional |
Usage
php maintenance/lag.php [ --r ]
Terminal
$ php maintenance/lag.php primary.db 1 replica.db 2
See also
- Database access#Lag
- Manual:GetLagTimes.php
- Manual:$wgDBservers
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.