Easy, alternative soft deletion: `deleted_record_insert`

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • macaroon

    Postgres introspection and macros

  • With a procedural language and SQL introspection features, you can programmatically generate triggers, functions and backing tables for these kinds of things. For Postgres, this SQL can generate temporal tables backed by JSONB for any table:

    https://github.com/solidsnack/macaroon/blob/master/temporal....

    It would be pretty easy to change this to perform deletion-with-interning like mentioned in the article.

    In an older version, the code actually replicated the schema of the source table in the log table; but it can lead to problems during migrations.

  • sqlalchemy-easy-softdelete

    Easily add soft-deletion to your SQLAlchemy Models

  • I wrote a specific library to do this (automatically generates a mixin for SQLAlchemy and installs a hook which rewrites all queries, removing soft-deleted items from queries and also relationships) so that the soft-delete problem becomes a non issue and you still have the data there if you want to revert/activate something

    https://github.com/flipbit03/sqlalchemy-easy-softdelete

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • awesome-data-temporality

    A curated list to help you manage temporal data across many modalities 🚀.

  • I’ve recently put together an awesome list about temporality, including: soft delete, time travel, slowly changing dimensions, and bitemporality. https://github.com/daefresh/awesome-data-temporality

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts