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
1294
January 14, 2020 03:24PM
650
January 14, 2020 03:37PM
703
January 14, 2020 03:44PM
802
January 14, 2020 03:58PM
655
January 14, 2020 11:30PM
741
January 15, 2020 07:13AM
Re: MySQL 8 Windows Deletion Performance Improvement?
666
January 15, 2020 11:33AM
712
January 15, 2020 11:44AM
714
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.