In-memory buffer?

Hello .

I am trying to understand the definitive guide precisely.

Exactly , which setting is this in-memory indexing buffer referring to ?

https://www.elastic.co/guide/en/elasticsearch/guide/current/translog.html

In case of bulk request, my understanding is some buffer lies in between the bulk queue but I am not sure about it...

I would appreicate if someone can answer to my question.

Best Regards,
Yu Watanabe

When new documents are indexed into Lucene, for efficiency they are written to an in-memory buffer instead of being immediately written to disk. This in-memory buffer will be flushed in a few circumstances and creates a new segment on disk:

  • after a refresh
  • after a flush
  • if the in-memory buffer fills up
1 Like

@jasontedor

Thank you for clarifying. Is there any stats in Node Stats API that I can check the usage of this buffer?

No, this is not exposed.

Okay. Thank you.

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