Does the shard (Elasticsearch) have its own JVM settings

I am going through ES documentation and saw this following.

`Each shard is in itself a fully-functional and independent "index" that can be hosted on any node in the cluster.`

Does "fully functional" means it is a "seperate" lucene instance or thread that can have its own hardware and software resources associated with it?

If it is, is it possible to configure different shards to use different configurations of RAM

A shard is a Lucene instance, yes.

No, that's not possible.

1 Like

Is there a specific reason not to do this ? I am trying to understand from the perspective of scalability , performance tuning ...

Because running 100s of JVM's, ie one per shard and multiple shards per node, is far more of a waste compared to the ability to tune one single shard's JVM.

If you are having problems, then perhaps you can share details on that aspect.

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