Back to Developer Roadmap

Primary Shards

src/data/roadmaps/elasticsearch/content/primary-shards@nkqoh4_V4VRyETqN0ci1R.md

4.01.2 KB
Original Source

Primary Shards

Primary shards are the fundamental units of data storage in Elasticsearch. An index is logically divided into one or more primary shards, each of which contains a portion of the index's data. These shards allow Elasticsearch to distribute data across multiple nodes in a cluster, enabling horizontal scaling and improved performance. The number of primary shards is defined at index creation and determines the maximum level of parallelism for indexing and searching.

Visit the following resources to learn more: