Home » Performance » MySQL » How is the relay log supposed to work?
How is the relay log supposed to work? [message #3611] Mon, 06 October 2008 12:16 Go to next message
Vide  is currently offline Vide
Messages: 1
Registered: October 2008
Junior Member
Hi

I've a Mysql slave which is generating a relay log . Now, I want to use the slave as a cold backup source and Mysql official doc says that you should copy relay log as well when backing up a slave. I see that relay log contains the same statement as in the binlog but that it should be automatically purged, in contrast to how binlog works, when the SQL thread catches up with the I/O thread.
Now, I have a 0 seconds dealy slave and the relay log is increasing every time more... so I don't understand that "autopurge" part (yes, it's enabled in my.cnf, I didn't touch the default value of relay-log-purge so.. what's happening?
I cannot find extensive documentation on how the relay log... and I would like to know whats the best way to do an incremental backup from a slave
Re: How is the relay log supposed to work? [message #3655 is a reply to message #3611 ] Mon, 27 October 2008 01:25 Go to previous message
debug  is currently offline debug
Messages: 132
Registered: March 2008
Senior Member

Are both Relay_Log_Pos and Exec_Master_Log_Pos growing? You can see this in 'show slave status'.


Mikhail Solovyev, MySQL Performance Expert
MySQL Performance Blog
MySQL Consulting
Previous Topic:Are binlogs required for InnoDB Recovery?
Next Topic:Mysql Replication
Goto Forum:
  


Current Time: Mon Jul 6 21:35:30 EDT 2009

Total time taken to generate the page: 0.03179 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 2.7.7.
Copyright ©2001-2007 FUD Forum Bulletin Board Software

MySQL is a trademark of Sun Microsystems.
InnoDB is a trademark of Oracle Corp.

Percona Performance Forums are a service of Percona, Inc.
Not affiliated with Sun Microsystems or Oracle Corp.