Question/Doubt: How to get the size occupied by th...
# troubleshooting
v
Question/Doubt: How to get the size occupied by the indexes
Copy code
Hi Team,

We have an events table in our Apache Pinot Cluster and around 1M rows present in it.

We have applied several indexes on this events table so we wanted to know how much size on disk/memory all the indexes are using so that we can tweak them accordingly.

# Pinot Server Data Directory
pinot.server.instance.dataDir=/mnt/data/apache-pinot-data/

# Pinot Server Temporary Segment Tar Directory
pinot.server.instance.segmentTarDir=/mnt/data/apache-pinot-data/segmentTar
Apache Pinot version: 1.2.0
y
The
index_map
file in a segment directory should give you a good idea of the size occupied by various indexes -
/mnt/data/apache-pinot-data/<table-name>/<segment-name>/v3/index_map
.
m
I believe there is an api to get this segment metadata (on column basis) as well (check swagger).
v
thanks guys, will check it out