so I have one table and its real time ingestion so...
# troubleshooting
a
so I have one table and its real time ingestion so definitely star tree wont work on it but what else can I use in indexing my use case has , SUM, count ,AVG function , where clause and group by's so what kind of index I can use for which column?
x
startree index can work on the persisted data/segments, so you can still configure and use it for realtime table
if you are on upsert then just try inverted index on the columns you use in the where clause
a
actually I have upsert in my table so it wont work
x
casue startree index won’t work for upsert table
how long your upsert would last
you may still do startree index for older persisted data
a
yes i am using inverted but what about for group by and aggregation . upserts could be random like updating some value for the same key randomly
you may still do startree index for older persisted data
x
you won’t have index for groupby or aggregation
what’s your use case
a
that means for the persisted data I can use it ? but them I have to remove upsert from my table.
can I message you personally @Xiang Fu?
x
is there timestamp associated with your data
sure