2

I am having a very large website which have around 400000 nodes of story content type. And these nodes have around 2000000 revisions. How can I delete all the revisions except the current revision so i can reduce the size of my database.

I have tried node node revison delete module with no success. Page is getting time out.

1

The time out page is happening cause the modules is not using Drupal batch operation.

Did you try to use drush command that comes with the same module? you need to install Drush Help module to do so. If it didn't work, please post it here so I can provide you with a batch code.

  • Yes, I have used with crush command but there is no response of drush command with asked question scenario. Drush was working on my dev setup which have only 30000 revisions. – Yatendra Singh Nov 29 at 3:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.