Pattern 94 / LIFECYCLE

Soft Delete

Use this when Allowing recovery and audit after deletion.

Pressure
Allowing recovery and audit after deletion
Mechanism
Mark records deleted instead of immediately removing them from storage
Toll
Queries must consistently filter deleted data; privacy rules may require hard delete
Architecture plate94
Diagram for Soft Delete
Executive brief

Soft Delete fits when Allowing recovery and audit after deletion. Mechanism: Mark records deleted instead of immediately removing them from storage. Use it for User records, admin workflows, compliance review. The toll: Queries must consistently filter deleted data; privacy rules may require hard delete.

Use when

User records, admin workflows, compliance review.

Example

Use soft delete when user records, admin workflows, compliance review..

Review framing

Describe the pressure first, then the mechanism, then the cost. That keeps the design grounded.

Same pressure family

Data Lifecycle

95Data Retention Window
โ† 9395 โ†’