Hello,
I currently have the situation that I have a workspace with nearly 500k flat entries (each entry is small, only 4 fields:I know that's bad, will be changed in future but need to cleanup first).
Now, I need to delete a lot of them, tried that with a groovy script.
However so far it always takes a long time, especially the session.save operation.
My latest try was to fetch a smaller size by adding a limit to the query and then also saving in smaller sizes, eg saving after 50 or 100 nodes removed.
Will provide the script later on as well.
Regards,
Christoph