Skip to content

Improve clarity on index management recommendations - #8082

Open
pete-naylor wants to merge 1 commit into
mainfrom
pete-naylor-patch-1
Open

Improve clarity on index management recommendations#8082
pete-naylor wants to merge 1 commit into
mainfrom
pete-naylor-patch-1

Conversation

@pete-naylor

@pete-naylor pete-naylor commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Clarified recommendations regarding index count and size, emphasizing the importance of avoiding large numbers of small indices for resource efficiency and cost-effectiveness.

Summary

Generative AI disclosure

  1. Did you use a generative AI (GenAI) tool to assist in creating this contribution?
  • Yes
  • No

Clarified recommendations regarding index count and size, emphasizing the importance of avoiding large numbers of small indices for resource efficiency and cost-effectiveness.
@pete-naylor
pete-naylor requested a review from a team as a code owner August 25, 2026 15:21
@github-actions

Copy link
Copy Markdown
Contributor

Elastic Docs AI PR menu

Check the box to run an AI review for this pull request.

  • Review docs changes (docs-review). Status: not started.

Powered by GitHub Agentic Workflows and docs-actions. For more information, reach out to the docs team.

@github-actions

github-actions Bot commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

🔍 Preview links for changed docs

@github-actions

Copy link
Copy Markdown
Contributor

✅ Elastic Docs Style Checker (Vale)

No issues found on modified lines!


The Vale linter checks documentation changes against the Elastic Docs style guide. To use Vale locally or report issues, refer to Elastic style guide for Vale.

* **Index count and size**: Consolidate small indices for better efficiency.
In general, avoid a design where your project contains hundreds of very small indices, specifically those under 1GB each.
Avoiding small indices is important because every index in {{es}} has a certain amount of resource overhead.
Avoiding large numbers of small indices is important because every index in {{es}} has a certain amount of resource overhead.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does large number mean? (Is there a definition that we can push out as large can mean something different for us vs customer A vs customer B).

Is there an explicit need to mention large number? As we wanted to avoid that to indicate that small indices adds overhead and depending on customer + their costs, they can decide how many small indices they want to keep vs not.

Avoiding small indices is important because every index in {{es}} has a certain amount of resource overhead.
Avoiding large numbers of small indices is important because every index in {{es}} has a certain amount of resource overhead.
{{es}} needs to maintain metadata for each index to keep it running smoothly.
When you have a very large number of small indices, the combined overhead from all of them can consume more CPU resources than if the same data were stored in fewer, larger indices.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why omitting this line as that seems important for customers to understand what overhead leads to additional resources. I will prefer we keep it.

Higher resource consumption associated with large numbers of small indices leads to higher costs and can ultimately impact the overall performance of your project.

If your use case naturally generates many small, separate streams of data, the recommended approach is to implement a process to consolidate them into fewer, larger indices. This practice leads to more efficient resource utilization. By grouping your data into larger indices, you can ensure a more performant and cost-efficient experience with {{es-serverless}}.
If your use case naturally generates many small, separate streams of data, the recommended approach is to implement a data model which consolidates them into fewer, larger indices. This practice leads to more efficient resource utilization. By grouping your data into larger indices, you can ensure a more performant and cost-efficient experience with {{es-serverless}}.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do customers know what is a data model?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe mechanism is a better generic word to use instead of process/datamodel?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants