News for hackers. Stuff that matters.
Re:Soft deletion probably isn't worth it by gunnarmorling on Wednesday July 20, 2022 @02:42AM (#32162319)
Log-based change data capture is a great tool for building audit logs; unlike triggers, it doesn't impact write performance, you don't need to maintain triggers in the first place, and you can have you audit log in a system separate from your main database.

Blogged about one possible implementation using Debezium a while ago here: https://debezium.io/blog/2019/10/01/audit-logs-with-change-d...

Disclaimer: I work on Debezium

There are no comments on this comment yet.