MySQL Forums
Forum List  »  Optimizer & Parser

Re: bulk update very slow
Posted by: Rick James
Date: September 27, 2012 08:19PM

Buffer pool too small? See

Add a "compound" index:
INDEX(aggregatorID, shortcodeID)
It may help significantly.

How big is the table? (SHOW TABLE STATUS) Sounds like it is 'large', in which case adding the INDEX will take some time.

Minor note: TINYTEXT is virtually useless, and slightly harmful in a few cases; recommend changing to VARCHAR(...) of some appropriate size.

Options: ReplyQuote

Written By
September 25, 2012 02:51PM
September 26, 2012 02:58PM
September 27, 2012 12:01PM
Re: bulk update very slow
September 27, 2012 08:19PM

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.