dbTalk Databases Forums  

'Repair with keycache' on every optimize

comp.databases.mysql comp.databases.mysql


Discuss 'Repair with keycache' on every optimize in the comp.databases.mysql forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Brian Wakem
 
Posts: n/a

Default 'Repair with keycache' on every optimize - 08-05-2006 , 05:06 PM






I tend to optimize all of our tables around once per week. However the last
4 or 5 times I have optimized a particular table it takes take a really
long time (about 25 minutes compared with 50 seconds 5 weeks ago).

SHOW FULL PROCESSLIST shows 'Repair with keycache'.

This means a repair is in progress, so an error must have been found. Can
anyone shed any light on why this might happen EVERY time I optimize this
table, and not any of the other tables?

A few facts about the table:

MyISAM
4,219,000 rows
574MB data
406MB index
Each time it is optimized there is around 120,000 new rows.

Mysql 4.0**

** For performance reasons we use an old version as 4.1 was 15-20% slower
for us when we looked into upgrading and did some real-world benchmarks.
We will be testing 5.0 in a few weeks.



--
Brian Wakem
Email: http://homepage.ntlworld.com/b.wakem/myemail.png

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.