temporal_tables VS connectors

Compare temporal_tables vs connectors and see what are their differences.

temporal_tables

Postgresql temporal_tables extension in PL/pgSQL, without the need for external c extension. (by nearform)

connectors

Connectors for capturing data from external data sources (by estuary)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
temporal_tables connectors
6 3
576 32
4.0% -
4.9 9.9
5 months ago 2 days ago
PLpgSQL Go
GNU General Public License v3.0 or later GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

temporal_tables

Posts with mentions or reviews of temporal_tables. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-20.
  • PostgreSQL temporal_tables extension in PL/pgSQL
    1 project | news.ycombinator.com | 6 Dec 2023
  • Versioning data in Postgres? Testing a Git like approach
    9 projects | news.ycombinator.com | 20 Oct 2023
    It was reimplemented in pure SQL here https://github.com/nearform/temporal_tables for this purpose
  • All the ways to capture changes in Postgres
    12 projects | news.ycombinator.com | 22 Sep 2023
    I enjoyed this blog. I think it provides a great succinct overview of various approaches native to Postgres.

    For the "capture changes in an audit table" section, I've had good experiences at a previous company with the Temporal Tables pattern. Unlike other major RDBMS vendors, it's not built into Postgres itself, but there's a simple pattern [1] you can leverage with a SQL function.

    This allows you to see a table's state as of a specific point in time. Some sample use cases:

    - "What was this user's configuration on Aug 12?"

    - "How many records were unprocessed at 11:55pm last night?"

    - "Show me the diff on feature flags between now and a week ago"

    [1]: https://github.com/nearform/temporal_tables

  • Show HN: I made a CMS that uses Git to store your data
    13 projects | news.ycombinator.com | 23 Oct 2022
    One of these Postgres-based implementations of SQL:2011's temporal versioning features might get you close enough:

    - https://github.com/nearform/temporal_tables

  • How to implement row changes history?
    1 project | /r/PostgreSQL | 27 Jul 2021
    You don't really need to install an extension to use temporal tables, there is an alternative (https://github.com/nearform/temporal_tables) implemented purely as a plpgsql trigger so that it works everywhere.
  • Temporal Tables PostgreSQL Extension
    3 projects | news.ycombinator.com | 9 Apr 2021
    I was part of a team at NearForm using this for a project on an EC2 instance. In order to move to AWS RDS we had to recreate the functionality of temporal_tables as a PostgreSQL function, rather than extension.

    When we switched, we found that although there were minor bugs, we didn't have any noticeable loss of performance and we have used it ever since for many projects.

    https://github.com/nearform/temporal_tables

    If you're also limited by cloud services and the extensions limitations, this is a great solution.

connectors

Posts with mentions or reviews of connectors. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-22.
  • All the ways to capture changes in Postgres
    12 projects | news.ycombinator.com | 22 Sep 2023
    No. We implemented our own [1] for a few reasons:

    * Scaling well to multi-TB DBs without pinning the write-ahead log (potentially filling your DB's disk) while the backfill is happening. Instead, our connector constantly reads the WAL and works well in setups like Supabase that have very restrictive WAL sizes (1GB iirc).

    * Incremental fault-tolerant backfills that can be stopped and resumed at will.

    * Being able to offer "precise" captures which are logically consistent in terms of the sequence of create/update/delete events.

    The last one becomes really interesting when paired with REPLICA IDENTITY FULL, because you can feed it into an incremental computation (perhaps differential dataflow) for streaming updates of a continuous computation.

    Our work is based off of the Netflix DBLog paper, which we took and ran with.

    [1] https://github.com/estuary/connectors/tree/main/source-postg...

  • Why would you ever not use CDC for ELT?
    1 project | /r/dataengineering | 7 May 2023
    Our connectors themselves are fully OSS (for example, here's PostgreSQL)
  • What Is Dbt and Why Are Companies Using It?
    3 projects | news.ycombinator.com | 2 Dec 2021
    We've used https://github.com/estuary/connectors/pkgs/container/source-... to load data sets in the many terabytes. Caveat that, while it's implemented to Airbyte's spec, we've only used it with Flow.

What are some alternatives?

When comparing temporal_tables and connectors you can also consider the following projects:

temporal_tables - Temporal Tables PostgreSQL Extension

walex - Postgres change events (CDC) in Elixir

pgkit - Pgkit - Backup, PITR and recovery management made easy

pg-event-proxy-example - Send NOTIFY and WAL events from PostgreSQL to upstream services (amqp / redis / mqtt)

maxwell - Maxwell's daemon, a mysql-to-json kafka producer

debezium - Change data capture for a variety of databases. Please log issues at https://issues.redhat.com/browse/DBZ.

wasmer.io - The Wasmer.io website

airbyte - The leading data integration platform for ETL / ELT data pipelines from APIs, databases & files to data warehouses, data lakes & data lakehouses. Both self-hosted and Cloud-hosted.