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
858
January 14, 2020 03:24PM
487
January 14, 2020 03:37PM
525
January 14, 2020 03:44PM
548
January 14, 2020 03:58PM
476
January 14, 2020 11:30PM
510
January 15, 2020 07:13AM
Re: MySQL 8 Windows Deletion Performance Improvement?
474
January 15, 2020 11:33AM
533
January 15, 2020 11:44AM
544
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.