# How to stop the process of Delete-by-query plugin

**URL:** <https://discuss.elastic.co/t/how-to-stop-the-process-of-delete-by-query-plugin/44657>\
**Category:** Elasticsearch\
**Created:** [March 17, 2016, 7:13am UTC](https://discuss.elastic.co/t/how-to-stop-the-process-of-delete-by-query-plugin/44657 "2016-03-17T07:13:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![lizhenmxcz](https://avatars.discourse-cdn.com/v4/letter/l/a88e57/32.png) [@lizhenmxcz](https://discuss.elastic.co/u/lizhenmxcz)\
**Post date:** [March 17, 2016, 7:13am UTC](https://discuss.elastic.co/t/how-to-stop-the-process-of-delete-by-query-plugin/44657/1 "2016-03-17T07:13:26Z")

</div>

hi:  
I use the Delete-by-query plugin to delete the 20 millions records in the 6 billion records. But it rans too slowly and it is only able to delete about 1 million per hour. I don't want to wait the finish of delete, and how can i to stop it without restart the cluster

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [March 17, 2016, 9:24pm UTC](https://discuss.elastic.co/t/how-to-stop-the-process-of-delete-by-query-plugin/44657/2 "2016-03-17T21:24:59Z")

</div>

I'm afraid you can't.

---

<div class="post-metadata">

**Author:** ![lizhenmxcz](https://avatars.discourse-cdn.com/v4/letter/l/a88e57/32.png) [@lizhenmxcz](https://discuss.elastic.co/u/lizhenmxcz)\
**Post date:** [March 18, 2016, 1:53am UTC](https://discuss.elastic.co/t/how-to-stop-the-process-of-delete-by-query-plugin/44657/3 "2016-03-18T01:53:41Z")

</div>

@dadoonet, thanks for your reply, but it is disappointing to here that. It is consume large resources but ineffective. After 24 hours, only 10 millions records were deleted.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [March 18, 2016, 3:57am UTC](https://discuss.elastic.co/t/how-to-stop-the-process-of-delete-by-query-plugin/44657/4 "2016-03-18T03:57:18Z")

</div>

This will change soon with the Task Management API! 🙂

---

<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:** [July 5, 2017, 11:07pm UTC](https://discuss.elastic.co/t/how-to-stop-the-process-of-delete-by-query-plugin/44657/5 "2017-07-05T23:07:20Z")

</div>


