CPU 16 cores with 32 threads will create 32 shards for an index?

Hi all, I am estimating number of shard for an index. I am focus on number of shards and CPU cores, threads only. Other things I have calculated already and I aware it.
My server has a 16 cores CPU, thread number is 32.
I have only one Elasticsearch data node in a cluster.
So how many shards should I create for an index? 32 shards? A request will be executed parallel on a thread per a shard - is it mean : with a request Elasticsearch uses parallel 32 threads on 32 shards?

This is an invalid assumption.
Shard count has nothing to do with CPU.
It's a function of data volume.

1 Like

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