Auto-Advancing Master Bin-Log Position
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!
Subject
Views
Written By
Posted
Auto-Advancing Master Bin-Log Position
2129
March 24, 2014 02:43PM
998
March 25, 2014 06:58PM
837
April 09, 2014 07:07AM
1027
April 10, 2014 03:53PM
923
April 11, 2014 07:35AM
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.