# Is it possible to disable the transaction log?

**URL:** <https://discuss.elastic.co/t/is-it-possible-to-disable-the-transaction-log/10087>\
**Category:** Elasticsearch\
**Created:** [December 17, 2012, 8:35am UTC](https://discuss.elastic.co/t/is-it-possible-to-disable-the-transaction-log/10087 "2012-12-17T08:35:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Olav\_Gronas\_Gjerde](https://avatars.discourse-cdn.com/v4/letter/o/e19b73/32.png) [@Olav\_Gronas\_Gjerde](https://discuss.elastic.co/u/Olav_Gronas_Gjerde)\
**Post date:** [December 17, 2012, 8:35am UTC](https://discuss.elastic.co/t/is-it-possible-to-disable-the-transaction-log/10087/1 "2012-12-17T08:35:53Z")

</div>

I've installed Linux on a cheap and slow USB memory stick and I've  
configured a memory only ES cluster, which seems to work fine. However  
there are some IO related to writing to the transaction\_log which hurts the  
overall performance. I really don't need consistency for the data I'm  
indexing and would like to disable the transaction\_log to improve the  
performance. Is this possible? Or should I just create a ramdisk for the  
transaction log?

--

---

<div class="post-metadata">

**Author:** ![radu\_gheorghe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/radu_gheorghe/32/556_2.png) [@radu\_gheorghe](https://discuss.elastic.co/u/radu_gheorghe)\
**Post date:** [December 17, 2012, 1:10pm UTC](https://discuss.elastic.co/t/is-it-possible-to-disable-the-transaction-log/10087/2 "2012-12-17T13:10:58Z")

</div>

Hi Olav,

I don't think it's possible. Or at least I don't know of a way. But  
translog is not only for consistency, it's also for performance. Otherwise,  
ES would have to commit to the Lucene index for each operation.

So I think the best you can do in this situation is to use a ramdisk and  
tweak the settings if you need to:

> **[Elastic — The Search AI Company](https://www.elastic.co)**
>
> Power insights and outcomes with The Elastic Search AI Platform. See into your data and find answers that matter with enterprise solutions designed to help you accelerate time to insight. Try Elastic ...

## Best regards, Radu

[http://sematext.com/](http://sematext.com/) -- Elasticsearch -- Solr -- Lucene

On Mon, Dec 17, 2012 at 10:35 AM, Olav Grønås Gjerde [olavgg@gmail.com](mailto:olavgg@gmail.com)wrote:

> I've installed Linux on a cheap and slow USB memory stick and I've  
> configured a memory only ES cluster, which seems to work fine. However  
> there are some IO related to writing to the transaction\_log which hurts the  
> overall performance. I really don't need consistency for the data I'm  
> indexing and would like to disable the transaction\_log to improve the  
> performance. Is this possible? Or should I just create a ramdisk for the  
> transaction log?
> 
> --

--

---

<div class="post-metadata">

**Author:** ![jprante](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jprante/32/44941_2.png) [@jprante](https://discuss.elastic.co/u/jprante)\
**Post date:** [December 17, 2012, 8:10pm UTC](https://discuss.elastic.co/t/is-it-possible-to-disable-the-transaction-log/10087/3 "2012-12-17T20:10:15Z")

</div>

It should be easy as setting the parameter

gateway: none

Cheers,

Jörg

On Monday, December 17, 2012 9:35:53 AM UTC+1, Olav Grønås Gjerde wrote:

> I've installed Linux on a cheap and slow USB memory stick and I've  
> configured a memory only ES cluster, which seems to work fine. However  
> there are some IO related to writing to the transaction\_log which hurts the  
> overall performance. I really don't need consistency for the data I'm  
> indexing and would like to disable the transaction\_log to improve the  
> performance. Is this possible? Or should I just create a ramdisk for the  
> transaction log?

--

---

<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, 2:59am UTC](https://discuss.elastic.co/t/is-it-possible-to-disable-the-transaction-log/10087/4 "2017-07-06T02:59:35Z")

</div>


