# Deleting 40K topics

**URL:** <https://meta.discourse.org/t/deleting-40k-topics/98781>\
**Category:** Product Support\
**Created:** [5 oktober 2018 om 06:39 UTC](https://meta.discourse.org/t/deleting-40k-topics/98781 "2018-10-05T06:39:00Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![gerald](https://avatars.discourse-cdn.com/v4/letter/g/ea666f/32.png) [@gerald](https://meta.discourse.org/u/gerald)\
**Post date:** [5 oktober 2018 om 08:18 UTC](https://meta.discourse.org/t/deleting-40k-topics/98781/3 "2018-10-05T08:18:32Z")

</div>

They were created by a script that publishes wordpress posts that creates a matching discourse topic for every wordpress post.

Unfortunately I don’t have the knowledge how to do this in the command line, but I still think that the batch delete can be improved. For example, it lets you choose up to 1000 topics to edit/delete but it can’t handle such a task, perhaps because it tries to do them all at once. Maybe there is a way to do this more sequentially so the server can handle the load. If I could delete 1000 posts at a time, i wouldn’t have a problem doing it manually via the browser, only 40 time for 40K topics.

EDIT: I increased the server power (to 4 cpus, 4GB ram) and restarted the browser automation and it deleted everything within a couple of hours… so in case anyone reads this in the future, it is something you can do if you don’t have command line experience..

---

_[View the full topic](https://meta.discourse.org/t/deleting-40k-topics/98781)._
