Join us

The challenges of soft delete

"Soft delete" sounds gentle. It isn't. Slapping a deleted_at column on every table pollutes queries, drags down migrations, and leaves tombstones all over production.

This post digs into saner options: PostgreSQL triggers, event archiving in the app layer, and CDC via WAL. Each separates the dead stuff from the living, keeping OLTP lean - but they come with their own setup costs and infra quirks.


Let's keep in touch!

Stay updated with my latest posts and news. I share insights, updates, and exclusive content.

Unsubscribe anytime. By subscribing, you share your email with @varbear and accept our Terms & Privacy.

Give a Pawfive to this post!


Only registered users can post comments. Please, login or signup.

Start writing about what excites you in tech — connect with developers, grow your voice, and get rewarded.

Join other developers and claim your FAUN.dev() account now!

Avatar

VarBear #SoftwareEngineering

FAUN.dev()

@varbear
SWE Weekly Newsletter, Varbear. Curated Programming news, tutorials, tools and more!
Developer Influence
1

Influence

1

Total Hits

96

Posts