MySQL Forums
Forum List  »  InnoDB

Re: Power outage db down - need help
Posted by: Heikki Tuuri
Date: February 25, 2005 03:30AM

Jeff,

you should not run queries on the table that you are CHECKing. Those queries cause the timeout.

Or upgrade to MySQL-4.1.xx where the timeout is 2 hours.

MySQL/InnoDB data format on disk is the same on Solaris/Sparc and Linux/AMD64. Thus, when you have the Solaris database ok, it is simple to move it to the Opteron.

Interesting that the Opteron box was badly corrupt while the Solaris box was ok. That suggests that fsync is badly broken in the Linux-2.4.21-27.ELsmp/Opteron box while Solaris/Sparc is ok. That strengthens my guess that commercial Unix computers are more carefully designed than Linux computers.

"
InnoDB: Page lsn 12 4083660083, low 4 bytes of lsn at page end 4180158248
InnoDB: Also the page in the doublewrite buffer is corrupt.

"

The corruption is probably that the start of the page is from an earlier time than the tail of the page.

Have you tried to use hdparm or a proprietary program of the disk vendor to switch off write caching?

Best regards,

Heikki
Oracle Corp./Innobase Oy
InnoDB - transactions, row level locking, and foreign keys for MySQL

InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISAM tables
http://www.innodb.com/order.php

Options: ReplyQuote


Subject
Views
Written By
Posted
6245
February 23, 2005 07:17PM
2887
February 24, 2005 10:09AM
2844
February 24, 2005 11:26AM
2650
February 24, 2005 11:57AM
2654
February 24, 2005 07:09PM
3054
February 24, 2005 07:54PM
Re: Power outage db down - need help
3339
February 25, 2005 03:30AM
2660
February 25, 2005 01:46PM


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.