# Snapshot is very very slow

**URL:** <https://discuss.elastic.co/t/snapshot-is-very-very-slow/86525>\
**Category:** Elasticsearch\
**Created:** [May 20, 2017, 2:05pm UTC](https://discuss.elastic.co/t/snapshot-is-very-very-slow/86525 "2017-05-20T14:05:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Balamurali](https://avatars.discourse-cdn.com/v4/letter/b/90db22/32.png) [@Balamurali](https://discuss.elastic.co/u/Balamurali)\
**Post date:** [May 20, 2017, 2:05pm UTC](https://discuss.elastic.co/t/snapshot-is-very-very-slow/86525/1 "2017-05-20T14:05:18Z")

</div>

Hii all,

We are using ES 1.3.7 cluster with 6GB heap and we are on ES upgradation process

**Snapshot taking duration is very very slow** last few days

FYI , our snapshot repo has more than _1000 snapshots_ in it .

**What is reason for this slowness and please suggest how to overcome this issue.**

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [May 20, 2017, 3:14pm UTC](https://discuss.elastic.co/t/snapshot-is-very-very-slow/86525/2 "2017-05-20T15:14:36Z")

</div>

> [@Balamurali](#):
>
> What is reason for this slowness

The slowness is because Elasticsearch, in version 1.3.7, had to compare every local segment with every segment already in the snapshot repository. This caused snapshot speed to become increasingly slower as more snapshots (and therefore more segments) were added to the cluster.

> [@Balamurali](#):
>
> how to overcome this issue.

This was addressed in a later version of Elasticsearch (I can't find the exact pull request, or even version number, but I believe it was resolved in the 2.x releases). **The solution is to upgrade.** 1.3.7 is no longer supported, nor are _any_ of the 1.x branches. The 2.x branches will cease to be supported when Elasticsearch 6.0 is released (later this year).

If that does not work for you, potential workarounds include:

- delete older snapshots, reducing the segment count in the repository.
- change to snapshot to a new repository every week, or month. This means every time you snapshot to a new repository, it will be a full snapshot, increasing storage requirements.

---

<div class="post-metadata">

**Author:** ![Balamurali](https://avatars.discourse-cdn.com/v4/letter/b/90db22/32.png) [@Balamurali](https://discuss.elastic.co/u/Balamurali)\
**Post date:** [May 22, 2017, 4:44am UTC](https://discuss.elastic.co/t/snapshot-is-very-very-slow/86525/3 "2017-05-22T04:44:49Z")

</div>

Thanks much @theuntergeek, it helps lot!!!!

---

<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 19, 2017, 4:44am UTC](https://discuss.elastic.co/t/snapshot-is-very-very-slow/86525/4 "2017-06-19T04:44:59Z")

</div>

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