Hi, I am trying optimize a query which brings data...
# general
s
Hi, I am trying optimize a query which brings data from
30 different segments
of a table. I use
timestamp
for the segment partitioning and also setup
rangeindexcolumn
on the same column
'report_date'
. for example select name, total_sales from product_sales where
report_date > '2024-01-20'
and
report_date < '2024-01-27'.
I see that no index has been used for this because
numEntriesScannedInFilter
is not zero. Lets say, I have
100k rows
per segment for
30days
worth of data then takes about `504ms f`or the query. Anyone knows how to optimize or tune any of the stuff?