1 vote

Faster way for deleting millions of records

The fastest way would be to use an external API, which you could parallelize quite easily (but be aware of concurrent limits). As far as speeding up the batch, it won't go any faster than asynchronous ...
  • 445k
1 vote
Accepted

WebService returned a SOAP Fault: INVALID_SESSION_ID: This session is not valid for use with the API (async job)

For me this have resolved the issue: Go to the user's profile (in my case System Administrator) -> Edit -> set Session Security Level Required at Login to None -> Save. Somehow, if it is High ...

Only top scored, non community-wiki answers of a minimum length are eligible