OnDemand User Group

Support Forums => MP Server => Topic started by: Nils Engerby on March 18, 2021, 09:47:16 AM

Title: arsdoc delete vs. bulk_delete
Post by: Nils Engerby on March 18, 2021, 09:47:16 AM
Does anyone know the difference between arsdoc delete and its bulk siebling that was introduced in 10.1.0.4?

The description of the bulk_delete function merely says "Use to delete a large number of documents from the system" and the command parameters are slightly different. No explanation of what the real difference is, and why would you ever want to not use the bulk_delete function?

We need to delete millions of index records from an application group and I started off using the regular arsdoc delete which totally hogged the system. Deleting 100,000 docs could run for hours.

I did one small test with bulk_delete and it was lightning fast which made me wonder if it takes some undesired shortcuts, like not deleting annotations. Haven't mustered up the courage to use it again without knowing exactly what it does and does not do ...

Appreciate any insights.

//Nils