MySQL Forums
Forum List  »  Performance

Re: Sort_merge_passes increasing at 38 per minute...
Posted by: Rick James
Date: December 24, 2011 08:58AM

That is a tiny table -- 1.5MB. The buffer pool is also small: 64MB. No reason for a sort to take even 1 second.

That UPDATE might do all that the Stored Procedure was going to do, and do it faster, and without worrying about transactions. (I cannot verify that it is exactly what you need.)

If there are other tables, or if this table grows a lot, then consider your settings, based on
http://mysql.rjweb.org/doc.php/memory

You have expensive stuff?
`price` decimal(30,2) NOT NULL,
allows up to
$9,999,999,999,999,999,999,999,999,999.99
(hehe)

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Sort_merge_passes increasing at 38 per minute...
1015
December 24, 2011 08:58AM


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.