# Size is increasing after using shrink API

**URL:** https://discuss.elastic.co/t/size-is-increasing-after-using-shrink-api/183475
**Category:** Elasticsearch
**Created:** [May 30, 2019, 7:12am UTC](https://discuss.elastic.co/t/size-is-increasing-after-using-shrink-api/183475 "2019-05-30T07:12:29Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![pathri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pathri/32/54484_2.png) [@pathri](https://discuss.elastic.co/u/pathri)
#### Post date: [May 30, 2019, 7:12am UTC](https://discuss.elastic.co/t/size-is-increasing-after-using-shrink-api/183475/1 "2019-05-30T07:12:29Z")

</div>

below is the state of earthquake index  
yellow open earthquake VvP3SezoTGyFjSC8M4ufjQ 5 1 8313 0 8.8mb 8.8mb

i ran shrink API on this with index.codec: best compression and the result is below

yellow open earthquake\_shrink 3Mzv12qXR6iGfy6\_YFPbGg 1 1 8313 0 12.1mb 12.1mb

anyone please help me in understanding this

Thanks in advance

---

<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: [June 27, 2019, 7:12am UTC](https://discuss.elastic.co/t/size-is-increasing-after-using-shrink-api/183475/2 "2019-06-27T07:12:31Z")

</div>

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