MySQL Forums
Forum List  »  MyISAM

Re: MySQL 8 Windows Deletion Performance Improvement?
Posted by: Peter Brawley
Date: January 15, 2020 11:33AM

That query will probably run faster as a Join, also with a Where clause limiting rows than with Limit, eg ...

delete a from roles a
join temp_roles b using(job_id)
where job_id between ...;

Once you find the largest chunk size that maintains performance, wrote an sproc or PHP script that chunks it automatically.

If it's me, I make InnoDB versions, test, and move to InnoDB if I can tune InnoDB to get better performance with innodb_buffer_pool_size=6G and key_buffer_size at a minimum..



Edited 1 time(s). Last edit at 01/15/2020 12:44PM by Peter Brawley.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: MySQL 8 Windows Deletion Performance Improvement?
117
January 15, 2020 11:33AM


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.