pg_ivm VS postgresql-contrib

Compare pg_ivm vs postgresql-contrib and see what are their differences.

pg_ivm

IVM (Incremental View Maintenance) implementation as a PostgreSQL extension (by sraoss)
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
pg_ivm postgresql-contrib
19 3
774 13
9.9% -
6.3 10.0
about 1 month ago almost 6 years ago
C PLpgSQL
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.

pg_ivm

Posts with mentions or reviews of pg_ivm. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-14.

postgresql-contrib

Posts with mentions or reviews of postgresql-contrib. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-25.
  • PostgreSQL 16 Beta 1
    2 projects | news.ycombinator.com | 25 May 2023
    You can use https://github.com/twosigma/postgresql-contrib/blob/master/m... and write triggers to update your views or mark them as needing asynchronous refreshes. It's not as automatic as what you'd like, but it's a lot better than having to keep waiting.
  • The Next Generation of Materialize
    9 projects | news.ycombinator.com | 3 Oct 2022
    I use PG with an alternative materialized views implementation[0] that is pure PlPgSQL and that exposes real tables that can be used to write to in triggers, and where the views can be marked stale too.

    This means hand-coding triggers to keep the materializations up to date, or else to mark them as out of date (because maybe some operations would be slow or hard to hand-code triggers for), but this works remarkably well.

    As a bonus, I get an update history table that can be used to generate updates to external systems.

    In principle one can get the AST for a VIEW's query from the PG catalog and use that generate triggers on the tables it queries to keep it up to date. In practice that's only trivial for some kinds of queries, and I've not written such a tool yet.

    [0] https://github.com/twosigma/postgresql-contrib/blob/master/m...

What are some alternatives?

When comparing pg_ivm and postgresql-contrib you can also consider the following projects:

prawn-stack - A pageview counter using the AWS free tier, Postgres, Node and React

risingwave - Cloud-native SQL stream processing, analytics, and management. KsqlDB and Apache Flink alternative. 🚀 10x more productive. 🚀 10x more cost-efficient.

materialize - The data warehouse for operational workloads.

ksql - The database purpose-built for stream processing applications.

pg_hint_plan - Extension adding support for optimizer hints in PostgreSQL

contour - Contour is a Kubernetes ingress controller using Envoy proxy.

mssql-changefeed

pg_jsonschema - PostgreSQL extension providing JSON Schema validation

OpenLogReplicator - Open Source Oracle database CDC

ora2pg - Ora2Pg is a free tool used to migrate an Oracle database to a PostgreSQL compatible schema. It connects your Oracle database, scan it automatically and extracts its structure or data, it then generates SQL scripts that you can load into PostgreSQL.