# Deleting Data

| Goal                                            | Best Practice                                                                                                                                                                                                                                                                                                                                                                                           |
| ----------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Deleting large volumes of data                  | When 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](/docs/platform/salesforce-large-data-volumes-bp/guide/ldv-deployments-best-practices-deleting-data.md).) |
| Making the data deletion process more efficient | When deleting records that have many children, delete the children first.                                                                                                                                                                                                                                                                                                                               |
