Home » Performance » MySQL » Database unavailability during optimize table, etc.
Database unavailability during optimize table, etc. [message #973] Fri, 23 March 2007 04:54 Go to previous message
Wicked  is currently offline Wicked
Messages: 1
Registered: March 2007
Location: Novosibirsk, Russia
Junior Member

Hello Peter.

I've taken a part in a discussion on phpclub.ru about the OPTIMIZE TABLE ( http://phpclub.ru/talk/showthread.php?threadid=93499 , if you have no problems with Russian ). People mentioned that the optimize locks a table for a few minutes which can make any high-loaded site unreachable for this time. So I would like to get your advice how people (including me) can optimize tables w/o such long downtime. For example does MySQL have some sort of progressive optimize table which would optimize table by small steps? Or probably some replication is needed so that servers one by one could optimize their tables and then rapidly update their state from a binlog or something else and then return back to the order. What would you recommend?

Of course, optimize table is not the only case of course.

Thanks in advance.

Read Message
Read Message
Previous Topic:help with index use on query
Next Topic:Is This ODBC connectivity error or VB application error
Goto Forum:

  


Current Time: Fri Jul 10 01:17:45 EDT 2009

Total time taken to generate the page: 0.02049 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.