Bird
Raised Fist0

You want to optimize shard sizing for a time-series index that grows by 5GB daily. Which strategy is best to keep shard sizes manageable over time?

hard🚀 Application Q9 of Q15
Elasticsearch - Performance and Scaling
You want to optimize shard sizing for a time-series index that grows by 5GB daily. Which strategy is best to keep shard sizes manageable over time?
AUse daily indices with 1 shard each
BUse a single index with many shards and no rollover
CUse one large index with fixed shard count
DUse monthly indices with rollover and shard count adjustment
Step-by-Step Solution
Solution:
  1. Step 1: Consider data growth and shard size

    5GB daily growth means monthly data ~150GB, so monthly indices help manage size.
  2. Step 2: Use rollover and adjust shard count

    Rollover creates new indices when size limits reached; adjusting shards keeps shards balanced.
  3. Final Answer:

    Use monthly indices with rollover and shard count adjustment -> Option D
  4. Quick Check:

    Time-series optimization = monthly rollover + shard tuning [OK]
Quick Trick: Use rollover and monthly indices for time-series [OK]
Common Mistakes:
MISTAKES
  • Using daily indices causes too many shards
  • Single large index grows too big
  • Fixed shard count ignores data growth

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Elasticsearch Quizzes