Is it possible to disable the transaction log?

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?

--

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:
http://www.elasticsearch.org/guide/reference/index-modules/translog.html

Best regards,
Radu

http://sematext.com/ -- ElasticSearch -- Solr -- Lucene

On Mon, Dec 17, 2012 at 10:35 AM, Olav Grønås Gjerde olavgg@gmail.comwrote:

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?

--

--

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?

--