Quantcast
Channel: MySQL Forums - Replication
Viewing all articles
Browse latest Browse all 1561

Quickly Cover Slave Replication Lag (6 replies)

$
0
0
I am using master slave replication on 5.7.22 and my db size is around 700G (system specs 16-core and 150G RAM) and every 1 hour db generating 3-GB but we found slave goes around 500 behind seconds and its not cover quickly. We are reading dashboard related data from slave and in this case we are shifting traffic back to master. How we can speedup log implementation process on slave. I try to implement parallel worker but didn't find any impact.

STOP SLAVE;
SET GLOBAL slave_parallel_workers = 16;
SET GLOBAL slave_parallel_type = LOGICAL_CLOCK;
SET GLOBAL sync_binlog = 0;
SET GLOBAL innodb_flush_log_at_timeout=1800;
START SLAVE;

Viewing all articles
Browse latest Browse all 1561

Trending Articles