Reindexing size understanding

I have 1 index
logs-test tKpZpC8LQPqZdCZd7foPkA 5 1 2091273 0 1gb 1gb

now i have created 1 more index logs-test-reindex with only 1 shard and no replica.

logs-test-reindex cUtPjcFuRWKU3kC0mHJMjA 1 0 2091273 0 1.1gb 1.1gb

my understanding:
if there is no replica then it should occupy less space on disk but results are opposite, this index started occupying more space 1.1gb as compared to 1gb :thinking:

so please help me in understanding what exactly is happening inside elasticsearch in this case?

I'm confused with provided data,

logs-test tKpZpC8LQPqZdCZd7foPkA 5 1 2091273 0 1gb 1gb

According to this, the index has 5 primary shards and 1 replica shard. In that case both primary store size and total store size cannot be 1GB as the above line claims to be.

rest all indexes are also showing same digits for store.size & pri.store.size

what it should be according to you?
less or more

primary store size should be less than store size in your case as you have 'number of replicas' set to 1 according to this line:

logs-test tKpZpC8LQPqZdCZd7foPkA 5 1 2091273 0 1gb 1gb

(by less i mean primary store size should be half the store size when replica is set to 1)

ohkk ohkk
that way you are saying

yes it should be half :thinking:

in your es is it showing same way?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.