Re: Help on Query with DATE BETWEEN not performant
> > it could be something about the
> "group_concat_max_len" attribute
> being to small ...
Not a query you've posted.
> we still found a slow query ...
On the query we've been working with, it's a fetch bottleneck.
> when we get a list of articles we do a
> search for a word inside one of 5 text
> columns that I need to put into SELECT
No text columns in the DDL you posted. If there's a problem, let's see that query and the DDL it depends on.
> regexp was slower then LIKE ...
Yes, that's computationally inevitable.
> SELECT query that has Title,subtitle,body,author,summary ...
> then the fetch takes 56 seconds every time
Yes, Text/Blob fetch in volume is slower the bigger the text/blob volume. Why in the world would you be fetching many rows of text data? Search them on the server, fetch just the bits that need to be returned.
> newly created indexes on new date columns
> are not used if I use BETWEEN ...
Can't replicate that, can you post a sql script with enough Inserts to allow replication of the effect.
Subject
Views
Written By
Posted
2713
February 02, 2020 06:51PM
1020
February 02, 2020 07:13PM
985
February 02, 2020 10:30PM
962
February 03, 2020 04:16AM
960
February 03, 2020 08:12AM
1655
February 03, 2020 10:45AM
1017
February 03, 2020 11:20AM
927
February 03, 2020 12:02PM
933
February 03, 2020 12:26PM
947
February 03, 2020 04:19PM
1689
February 03, 2020 06:21PM
969
February 03, 2020 08:38PM
1702
February 04, 2020 01:03PM
1099
February 04, 2020 01:42PM
1793
February 04, 2020 02:48PM
Re: Help on Query with DATE BETWEEN not performant
1697
February 04, 2020 05:26PM
1422
February 04, 2020 05:27PM
932
February 06, 2020 04:21PM
1207
February 06, 2020 04:31PM
1688
February 06, 2020 10:57PM
1357
February 09, 2020 08:46AM
942
February 09, 2020 11:48AM
1732
February 09, 2020 05:04PM
859
February 04, 2020 04:12PM