Why Does Disk Usage Increase After Running delete_by_query to Delete Data in an Elasticsearch Cluster?
Running the delete_by_query command does not immediately delete data. Instead, it adds a deletion mark to the target data. While marked data is filtered out from search results, it still occupies disk space.
The occupied disk space is not released until the next segment merge occurs.
Querying data with the deletion mark occupies disk space. This is why disk usage increases.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot