NOTE
1.13 Elasticsearch flush
English translation of the original VNote ‘Elasticsearch flush’, preserving its structure and historical learning notes.
This is a historical learning note and may contain outdated or incomplete understanding.
1. What Is flush?
- An Elasticsearch operation that persists segment files from the filesystem cache to disk and clears the translog at the same time.
2. Why Is flush Needed?
- Commit and clear translog transactions, ensuring that segment files are persisted to disk.
3. When flush Is Triggered
3.1. Manual
POST /my-index-000001/_flush
3.2. Automatic
- Every 30 minutes or when the translog file becomes too large.
Discussion
Sign in with GitHub to comment. Discussions are stored as GitHub Issues.View on GitHub