Elasticsearch & Lucene (50 Qs)•Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)
Index Lifecycle Management (ILM): Hot, Warm, Cold, Frozen, and Delete tiers automation.
senior LevelMost AskedLifecycle
In Simple Words: ILM automates storage tiering as data ages, slashing infrastructure costs by 70%:
- Hot Tier: High-speed NVMe SSDs. Handles all incoming write ingestion and frequent queries.
- Warm Tier (after 7 days): Rolled over, read-only index. Shrink shard count and run force-merge to 1 segment.
- Cold Tier (after 30 days): Read-only searchable snapshots stored directly on AWS S3 / GCS.
- Frozen Tier (after 90 days): Fully decoupled object storage cache.
- Delete Phase (after 365 days): Automatically delete index to maintain compliance.