What is my actual disc consumption by an index?


(Vikas Gopal) #1

Hi Experts ,

I have an index , after firing GET /_cat/indices/?v I am getting below

health status index      pri   rep    docs.count    docs.deleted     store.size       pri.store.size 
green  open   cefv1      5        1       111968469      0             1.2tb               636.1gb 

So I have two sizes 1) Store size and another is pri.store size . I am bit confused with both the terms , can someone suggest what is actual size , is it 1.2tb or 636.1gb ?

Regards
VG


(Christian Dahlqvist) #2

pre.store.size is the size of the primary shard only. store.size is the total index size across the cluster, including replicas, and since you have 1 replica configured, it is twice the size of the primary shard.


(Vikas Gopal) #3

Thanks @Christian_Dahlqvist

I get is so Store.size is the actual size . Thanks for your prompt response .

Regards
VG


(system) #4