Re: MySQL 8 Windows Deletion Performance Improvement?
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.
Subject
Views
Written By
Posted
703
January 14, 2020 03:24PM
396
January 14, 2020 03:37PM
435
January 14, 2020 03:44PM
427
January 14, 2020 03:58PM
388
January 14, 2020 11:30PM
417
January 15, 2020 07:13AM
Re: MySQL 8 Windows Deletion Performance Improvement?
392
January 15, 2020 11:33AM
417
January 15, 2020 11:44AM
428
January 15, 2020 07:17AM
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.