3

as mentioned in the title, assuming that the recycle bin of my org is full, what will happen in recycle bin and the new deleted record, when I delete something from Salesforce ?

3 Answers 3

4

Once the recycle bin is full Salesforce automatically start deleting the data. Old data is deleted first.

By default Deleted records remain in the recycle bin for 15 days, and can be restored during that time.

After 15 days, deleted items are purged from the recycle bin, and once purged, they can’t be recovered.

2
  • if I understand, Salesforce will only delete some of the data (the oldest one), it will not purge all the recycle bin ? Aug 30, 2018 at 6:56
  • @AnasLaghouaouta yes if its not older then 15 days and recycle bin is full then it will only delete required amount of data. If its older then 15 days then it will delete the complete data. Aug 30, 2018 at 6:57
4

Nothing happens immediately when the Recycle Bin is full. However, on the next Recycle Bin clean up cycle, older records will be purged from the Recycle Bin to bring it below the maximum capacity allowed for your org. For example, if you have a limit of 15,000 records, and the Recycle Bin has 15,250 records, then the oldest 250 records would be purged.

In theory, you typically have a few hours to bring the Recycle Bin below the maximum capacity, but you should not rely on this behavior. Note that the 15 day limit is also only processed every few hours, so you typically have a bit longer than 15 days, though, again, you should not rely on this behavior.

0

If records exists in recycle bin which is used for sharing recalculation then Salesforce takes time to complete that process, because sharing recalculation includes records from recycle bin.

That's why, if you want to delete those records permanently without moving to recycle bin then recommended to use Bulk API hard delete.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.