# Any way to not sync translog to disk continually?

**URL:** <https://discuss.elastic.co/t/any-way-to-not-sync-translog-to-disk-continually/5963>\
**Category:** Elasticsearch\
**Created:** [November 24, 2011, 1:50am UTC](https://discuss.elastic.co/t/any-way-to-not-sync-translog-to-disk-continually/5963 "2011-11-24T01:50:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nick\_Tarleton](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nick_tarleton/32/1100_2.png) [@Nick\_Tarleton](https://discuss.elastic.co/u/Nick_Tarleton)\
**Post date:** [November 24, 2011, 1:50am UTC](https://discuss.elastic.co/t/any-way-to-not-sync-translog-to-disk-continually/5963/1 "2011-11-24T01:50:57Z")

</div>

For a large, offline bulk index build, or for testing, is there any way to  
have ElasticSearch not fsync() the translog to disk constantly? (I assume  
that's what it's doing, from observation)

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [November 24, 2011, 8:08am UTC](https://discuss.elastic.co/t/any-way-to-not-sync-translog-to-disk-continually/5963/2 "2011-11-24T08:08:45Z")

</div>

You can set index.gateway.local.sync setting to -1.

On Thu, Nov 24, 2011 at 3:50 AM, Nick Tarleton [nickptar@gmail.com](mailto:nickptar@gmail.com) wrote:

> For a large, offline bulk index build, or for testing, is there any way to  
> have Elasticsearch not fsync() the translog to disk constantly? (I assume  
> that's what it's doing, from observation)

---

<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 6, 2017, 3:47am UTC](https://discuss.elastic.co/t/any-way-to-not-sync-translog-to-disk-continually/5963/3 "2017-07-06T03:47:38Z")

</div>


