Re: bulk update very slow
Posted by:
Rick James
Date: September 27, 2012 08:19PM
Buffer pool too small? See
http://mysql.rjweb.org/doc.php/memory
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.
Subject
Views
Written By
Posted
5125
September 25, 2012 02:51PM
1995
September 26, 2012 02:58PM
3475
September 27, 2012 12:01PM
Re: bulk update very slow
2119
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.