Deleting Data

GoalBest Practice
Deleting large volumes of dataWhen deleting large volumes of data, a process that involves deleting one million or more records, use the hard delete option of the Bulk API or Bulk API 2.0 . Deleting large volumes of data might take significant time due to the complexity of the deletion process. (See Deleting Data.)
Making the data deletion process more efficientWhen deleting records that have many children, delete the children first.