Bird
Raised Fist0

Why might setting a very short index.refresh_interval (like 100ms) negatively impact Elasticsearch performance?

hard🧠 Conceptual Q10 of Q15
Elasticsearch - Performance and Scaling
Why might setting a very short index.refresh_interval (like 100ms) negatively impact Elasticsearch performance?
ABecause frequent refreshes increase CPU and disk usage, slowing indexing throughput.
BBecause it causes Elasticsearch to delete data more often.
CBecause it disables automatic refresh, requiring manual refresh calls.
DBecause it causes shards to be reallocated continuously.
Step-by-Step Solution
Solution:
  1. Step 1: Understand impact of very short refresh intervals

    Frequent refreshes cause Elasticsearch to spend more resources refreshing segments.
  2. Step 2: Effect on performance

    This increases CPU and disk I/O, reducing indexing throughput and overall performance.
  3. Final Answer:

    Because frequent refreshes increase CPU and disk usage, slowing indexing throughput. -> Option A
  4. Quick Check:

    Too frequent refresh = higher resource use, slower indexing [OK]
Quick Trick: Very short refresh intervals hurt performance due to resource use [OK]
Common Mistakes:
MISTAKES
  • Thinking it deletes data
  • Confusing with disabling refresh
  • Assuming shard reallocation

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Elasticsearch Quizzes