In reality, it's NOT 0 seconds! it's delayet more than 10-20 minutes, some times more than 1 hours.
Why? Is it a network problem? If i restart the slave, nothing happens. If I restart the master and the slave, it recognises the "delay" and start to read the logs again, but a few minutes or hours (or sometimes days later) it stops again.
Is it a slave or a master problem? Network problems? What should I do?
full outputs below:
mysql> show master status; +------------------+----------+--------------+------------------+ | File | Position | Binlog_Do_DB | Binlog_Ignore_DB | +------------------+----------+--------------+------------------+ | mysql-bin.000088 | 8078024 | | | +------------------+----------+--------------+------------------+ 1 row in set (0.30 sec)
-rw-rw---- 1 mysql mysql 149765008 Sep 4 18:37 tungsten-relay-bin.000214 -rw-rw---- 1 mysql mysql 67 Sep 4 18:38 relay-log.info -rw-rw---- 1 mysql mysql 73 Sep 4 18:38 master.info
but the date is:
[root@tungsten /var/db/mysql]# date Sun Sep 4 19:11:13 CEST 2011
And it's delayed 1 hour. No data is transferred to the slave. It says: Secords behind master 0.
What the hell is going on here?
-- Adam PAPAI Grapes Communication Kft. http://www.grapes.hu E-mail: papai.adam@grapes.hu Phone: +36 30 33-55-735 (Hungary)
-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/mysql?unsub=listsearcharchive@lassosoft.com
Sep 05
Peter Boros Re: Seconds Behind the master 0 but in reality it's over 10 minutes or hours..
Sep 05, 2011; 07:32
Peter Boros
Re: Seconds Behind the master 0 but in reality it's over 10 minutes or hours..
Sep 05
Adam PAPAI Re: Seconds Behind the master 0 but in reality it's over 10 minutes or hours..
Sep 05, 2011; 07:46
Adam PAPAI
Re: Seconds Behind the master 0 but in reality it's over 10 minutes or hours..
Sep 05
Rob Wultsch Re: Seconds Behind the master 0 but in reality it's over 10 minutes or hours..
Sep 05, 2011; 22:12
Rob Wultsch
Re: Seconds Behind the master 0 but in reality it's over 10 minutes or hours..
Sep 06
Kristian Davies Re: Seconds Behind the master 0 but in reality it's over 10 minutes or hours..
Sep 06, 2011; 10:00
Kristian Davies
Re: Seconds Behind the master 0 but in reality it's over 10 minutes or hours..
Search
Lasso Programming
This site manages and broadcasts several email lists pertaining to Lasso Programming and technologies related and used by Lasso developers. Sign up today!