Skip to content

nevfo/MySQL-Replication-LagMonitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Replication lag monitor for MySQL

Description

The script is used to check replication lags, replication speed, and ETA of catup up

Usage

  • Step 1: Create user on both master and slave
SQL: GRANT REPLICATION CLIENT ON . to lag_monitor@'%' IDENTIFIED BY 'lag_monitor';
  • Step 2: Run lag print tool by: python ./LagPrint.py [slaveHost] [slavePort] [masterHost] [masterPort]
Sample: python ./LagPrint.py 127.0.0.1 3306 127.0.0.1 3316

image

About

The script is used to check replication lags, replication speed, and ETA of catup up

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages