Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a slave that claims, in SHOW SLAVE STATUS, to be zero seconds behind the master.

However, it also says it's on Master_Log_File binlog.009636, which is 46.9 gig behind where the master is. I can look at the database and see the tables are all out of date.

No replication-related queries are running; the threads say "Waiting for master to send event" and "Has read all relay log; waiting for the slave I/O thread to update it." Yet the log IS moving, as it's now 46.7 gig behind.

What is going on here? Server is MySQL 5.0.95.

share|improve this question

It means the thread has processed all events in the relay log files, and is now waiting for the I/O thread to write new events to the relay log.

Wait and watch whether size decreases as it seems to be updating because initially size was 46.9G and now it is 46.7G

share|improve this answer
The data is moving but so far as I can tell, no queries are running. And why does Seconds_Behind_Master report 0? – Andrew Jun 27 '12 at 15:08
OK I think I know why it's not doing anything: It's moving a gigantic file over to load into the database and it's doing that very slowly. Still don't know why Seconds_Behind_Master reports 0. – Andrew Jun 27 '12 at 15:14
I think you can find similar issue might be with v5.0.95 on – Mahesh Patil Jun 28 '12 at 4:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.