MySQL Forums
Forum List  »  Replication

Auto-Advancing Master Bin-Log Position
Posted by: Todd Schneider
Date: March 24, 2014 02:43PM

Hello,

Are there any trivial MySQL commands that can be run on a master in order to advance its MySQL binary log position?

I intend to use the command as a heartbeat to slaves (the built-in heartbeat functionality seems to degrade as more slaves connect to the master), and I've been using a dummy event of the form:

CREATE EVENT mysql.keep_alive ON SCHEDULE EVERY 60 SECOND DO DROP DATABASE IF EXISTS keep_alive;

But this command writes an Event Scheduler note to both the MySQL *.err file and Windows Event Viewer.

I was wondering if there was a cleaner way to do it without affecting the event logs. I'm currently using version:

mysql Ver 14.14 Distrib 5.5.25a, for Win64 (x86)

Thanks!

Options: ReplyQuote


Subject
Views
Written By
Posted
Auto-Advancing Master Bin-Log Position
2129
March 24, 2014 02:43PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.