Skip to main content

New answers tagged

0 votes

How to quickly delete thousands of nodes?

This code fetches node IDs matching a certain condition, loads those nodes into memory, and then deletes them. By querying for IDs first, it efficiently retrieves only the nodes we want to delete. ...
Euclid.H's user avatar
0 votes
Accepted

How to quickly delete thousands of nodes?

I found a way to delete thousands of nodes much more quickly. Drupal can delete nodes much, much more quickly when the content type has no fields. With that in mind, this process allowed me to delete ...
arnoldbird's user avatar
  • 1,203

Top 50 recent answers are included