# Delete by Query Impact in terms of Data size vs Time taken

**URL:** https://discuss.elastic.co/t/delete-by-query-impact-in-terms-of-data-size-vs-time-taken/295339
**Category:** Elasticsearch
**Created:** [January 25, 2022, 11:17am UTC](https://discuss.elastic.co/t/delete-by-query-impact-in-terms-of-data-size-vs-time-taken/295339 "2022-01-25T11:17:05Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![yash\_196](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yash_196/32/99273_2.png) [@yash\_196](https://discuss.elastic.co/u/yash_196)
#### Post date: [January 25, 2022, 11:17am UTC](https://discuss.elastic.co/t/delete-by-query-impact-in-terms-of-data-size-vs-time-taken/295339/1 "2022-01-25T11:17:05Z")

</div>

Hi Everyone,

I am trying to understand the impact of using delete by query API in Elasticsearch. I am looking for some formula/metrics in terms of the time taken to delete a certain amount of data. Can anyone please help me with the same? Some examples to explain the use case if available will also help.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [February 22, 2022, 11:17am UTC](https://discuss.elastic.co/t/delete-by-query-impact-in-terms-of-data-size-vs-time-taken/295339/2 "2022-02-22T11:17:40Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
