# What the difference between shrink api and reindex api

**URL:** <https://discuss.elastic.co/t/what-the-difference-between-shrink-api-and-reindex-api/228063>\
**Category:** Elasticsearch\
**Created:** [April 15, 2020, 8:54am UTC](https://discuss.elastic.co/t/what-the-difference-between-shrink-api-and-reindex-api/228063 "2020-04-15T08:54:20Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [April 15, 2020, 8:57am UTC](https://discuss.elastic.co/t/what-the-difference-between-shrink-api-and-reindex-api/228063/2 "2020-04-15T08:57:01Z")

</div>

Reindexing is typically a lot more resource intensive as all documents need to be reprocessed. The shrink index API combines the existing segments without reprocessing, so is a lot faster and results in less CPU and disk I/O usage. The bigger the index the bigger the difference.

---

_[View the full topic](https://discuss.elastic.co/t/what-the-difference-between-shrink-api-and-reindex-api/228063)._
