https://pinot.apache.org/ logo
#getting-started
Title
# getting-started
t

Tiger Zhao

08/25/2021, 2:18 PM
What does the process look like for changing the table config for an existing table with segments in deepstore?
For example: if I wanted to modify the indices for an existing table. Do the segments in deepstore automatically get updated?
k

Kishore G

08/25/2021, 2:22 PM
you can simply change the table config and invoke the reloadAll segments api on the controller. Note that this will add index the segments on the servers.. not the deepstore
t

Tiger Zhao

08/25/2021, 2:23 PM
I see, so does that mean that every time a new server loads a segment from the deepstore in the future, it will have to recompute the indices? Also to confirm, the index and aggregation information is all stored within a segment right?
n

Neha Pawar

08/25/2021, 2:39 PM
Yes, every new server will have to recompute indices. Every existing server will have to recompute indices it doesn't already have, during reload
t

Tiger Zhao

08/25/2021, 2:55 PM
Got it, thanks! In this case, is it recommended to recompute the segments in deepstore?
k

Kishore G

08/25/2021, 3:05 PM
Not really.. we did this design on purpose
👍 1