Re: Help on Query with DATE BETWEEN not performant
Yes the fast 2nd run is due to the cache, which is removed in 8.0 so you may as well disable it now.
I'd expect MySQL to use the earticles.dateofarticle index, did you try Force Index on that key? It shouldn't be necessary, but if that doesn't work consider replacing that index with (dateofarticle,id).
I'd also experiment with fewer buffer pool instances.
Edited 1 time(s). Last edit at 02/03/2020 10:47AM by Peter Brawley.
Subject
Views
Written By
Posted
1594
February 02, 2020 06:51PM
649
February 02, 2020 07:13PM
636
February 02, 2020 10:30PM
608
February 03, 2020 04:16AM
618
February 03, 2020 08:12AM
Re: Help on Query with DATE BETWEEN not performant
632
February 03, 2020 10:45AM
619
February 03, 2020 11:20AM
597
February 03, 2020 12:02PM
628
February 03, 2020 12:26PM
629
February 03, 2020 04:19PM
872
February 03, 2020 06:21PM
632
February 03, 2020 08:38PM
595
February 04, 2020 01:03PM
630
February 04, 2020 01:42PM
970
February 04, 2020 02:48PM
598
February 04, 2020 05:26PM
617
February 04, 2020 05:27PM
561
February 06, 2020 04:21PM
665
February 06, 2020 04:31PM
621
February 06, 2020 10:57PM
606
February 09, 2020 08:46AM
614
February 09, 2020 11:48AM
568
February 09, 2020 05:04PM
567
February 04, 2020 04:12PM