# Primary and replica shard is very different

**URL:** <https://discuss.elastic.co/t/primary-and-replica-shard-is-very-different/137745>\
**Category:** Elasticsearch\
**Created:** [June 28, 2018, 6:53am UTC](https://discuss.elastic.co/t/primary-and-replica-shard-is-very-different/137745 "2018-06-28T06:53:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![steadyeffort](https://avatars.discourse-cdn.com/v4/letter/s/ccd318/32.png) [@steadyeffort](https://discuss.elastic.co/u/steadyeffort)\
**Post date:** [June 28, 2018, 6:53am UTC](https://discuss.elastic.co/t/primary-and-replica-shard-is-very-different/137745/1 "2018-06-28T06:53:41Z")

</div>

When I check shard size through /\_cat/shards, primary shard size and replica shard size is very different

index shard prirep state docs store ip node  
result-search-ip-9 0 p STARTED 4418 2mb 192.168.41.47 threat-inside-es-node-3  
result-search-ip-9 0 r STARTED 4418 3.5mb 192.168.41.77 threat-inside-es-node-2  
result-search-ip-9 1 p STARTED 4392 1.4mb 192.168.41.77 threat-inside-es-node-2  
result-search-ip-9 1 r STARTED 4392 2mb 192.168.41.47 threat-inside-es-node-3  
result-search-ip-9 2 p STARTED 4360 38.7mb 192.168.41.47 threat-inside-es-node-3  
result-search-ip-9 2 r STARTED 4360 407.8mb 192.168.41.77 threat-inside-es-node-2  
result-search-ip-9 3 p STARTED 4399 1.3mb 192.168.41.77 threat-inside-es-node-2  
result-search-ip-9 3 r STARTED 4400 1.4mb 192.168.41.47 threat-inside-es-node-3

Shard number 2 has primary and replica shard and size is 38.7mb and 407.8mb.  
I think shard size between primary and replica shard should be similar.  
Replica shard of result-search-ip-2 is 10 times bigger than primary shard.  
I want to know why shard size is very different.

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [June 29, 2018, 2:25pm UTC](https://discuss.elastic.co/t/primary-and-replica-shard-is-very-different/137745/2 "2018-06-29T14:25:44Z")

</div>

It looks as if the number of documents are the same though. You can use the cat segments endpoint to check if the segments are the same.

Also, which elasticsearch version is this?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 27, 2018, 2:39pm UTC](https://discuss.elastic.co/t/primary-and-replica-shard-is-very-different/137745/3 "2018-07-27T14:39:17Z")

</div>

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