See in forum
We could change the archive select sql query to make it faster and use an index instead of memory sort.
Attachment: Benchmarking patch.
Been looking into this issue. I created a benchmarking system to test the changes I made. However, there doesn't seem to be any change in speed when applying the changes SQL changes specified in the forum... Maybe I'm not adding enough data?
Nice that you investigate this one, it's not easy to reproduce such issues indeed.
(In ) Fixes #3140 Can it really be that simple??