MySQL Forums
Forum List  »  MyISAM

Re: Update syntax very slow on text colum...
Posted by: Mike Kruckenberg
Date: April 11, 2006 12:44PM

So it sounds like you wrote a script that did a SELECT on a table and then ran through all of those records performing a change. 20 hours seems like a long time for 200,000 records, a few questions which might help diagnose the problem.

A couple of questions.
1) How many records total in the table you are updating?
2) How much text is in each record?
3) Where was the process stuck? How long does it take to SELECT, how long to change, and then how long to process each update?
3) Is there a lot of other database traffic happening at the same time?
4) How many and what kind of indexes are on the table? Are you using fulltext?

Mike

Mike Kruckenberg
Co-author of Pro MySQL (Apress)
http://mike.kruckenberg.com

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Update syntax very slow on text colum...
1841
April 11, 2006 12:44PM


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.