|
|
|
|
|
by konha
1860 days ago
|
|
> On the flip side, soft deletes require every single read query to exclude deleted records. You can use partial indexes to only index non-deleted rows. If you are worried about having to remember to exclude deleted rows from queries: Use a view to abstract away the implementation detail from your analytics queries. |
|
This is a good alternative to moving deleted records from an active table to a deleted table.