metagration VS pg_partman

Compare metagration vs pg_partman and see what are their differences.

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
metagration pg_partman
4 7
100 1,879
- 2.4%
0.0 7.0
about 2 years ago 20 days ago
PLpgSQL PLpgSQL
MIT License 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.

metagration

Posts with mentions or reviews of metagration. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-08-18.
  • Realtime: Multiplayer Edition
    13 projects | news.ycombinator.com | 18 Aug 2022
    Realtime uses logical replication, and from your link it looks like it should work with Timescale (although not recommended):

    > Using logical replication with TimescaleDB is not recommended, as it requires schema synchronization between the primary and replica nodes and replicating partition root tables, which are not currently supported.

    As long as logical replication is supported, this won't be an issue for Realtime because the purpose is to receive data changes (which come in a JSON format) and the end-user doesn't need to persist schema modifications.

    > but couldn't get it working

    If you send me some error logs, I can take a look or forward to one of the team.

    > support Postgres streaming replication

    This is the first time I've heard it requested - I don't think it's something we'd do unless there was a good reason and strong demand. If we were to do any work in this direction we'd prefer to try contribute DDL streaming to PostgreSQL's logical streaming. We've been thinking about this for a while (Michel has built metagration - https://github.com/michelp/metagration which has prompted a few ideas for core patches)

  • GraphJin – An Instant GraphQL to SQL Compiler
    12 projects | news.ycombinator.com | 28 May 2022
  • Show HN: Metagration – Migrate Postgres with Postgres
    1 project | news.ycombinator.com | 25 May 2022
  • Metagration: PostgreSQL Migrator in PostgreSQL
    1 project | news.ycombinator.com | 16 Feb 2021

pg_partman

Posts with mentions or reviews of pg_partman. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-09-22.
  • Dear data engineers
    1 project | /r/dataengineering | 6 Dec 2023
    Assuming these are the types of insights you're looking for, you'll probably look for a way to aggregate data points across/within geographies. postgis is an open source extension for postgres that can help you with this, but there's also quite a few python tools that can help you explore the data, such as geopandas, folium, geoplot. Depending on volume, you might want to partition the data for query performance, and there's another extension pg_partman that can help with that. Just noticed some other posts have recommended something similar.
  • Pgpartman: Partition Management Extension for Postgres
    1 project | news.ycombinator.com | 20 Sep 2023
  • Which is the best way to automate backing up data monthly of tables in a schema and then deleting them?
    1 project | /r/PostgreSQL | 6 Oct 2022
    pg_partman is in RDS >12.5 (here). Pg_partman makes managing data retention relatively easy.
  • Partitioning in Postgres, 2022 Edition
    1 project | news.ycombinator.com | 5 Oct 2022
  • TimescaleDB 2.7 vs. PostgreSQL 14
    4 projects | news.ycombinator.com | 22 Sep 2022
    Whenever I see these posts from TimescaleDB, I always want to ask them how it compares in performance to alternative extensions that implement the same features, rather than just comparing TimescaleDB to vanilla PostgreSQL.

    For example, they mention their automated data retention and how it's achieved with one SQL command, and how DELETEing records is a very costly operation, and how "even if you were using Postgres declarative partitioning you’d still need to automate the process yourself, wasting precious developer time, adding additional requirements, and implementing bespoke code that needs to be supported moving forward".

    There's zero mention anywhere of pg_partman, which does all of these things for you equally as simply, and is a fully OSS free alternative [0].

    I get that it's a PG extension that competes with their product. I know that TimescaleDB does a few other things that pg_partman does not. But I can't help but find its (seemingly) purposeful omission in these, otherwise very thorough blog posts, misleading.

    [0] https://github.com/pgpartman/pg_partman/blob/master/doc/pg_p...

  • Table partitioning by months of the year?
    1 project | /r/PostgreSQL | 23 Aug 2021
    Take a look into this extension which would take care of a good amount of automation for you.
  • Replicating a dynamically partitioned table possible in Postgres 13
    1 project | /r/PostgreSQL | 8 Jan 2021
    You might want to look into pg_partman which has many useful tools around semi-automatic partitioning. According to their documentation they already have a procedure that will do exactly that: create new partitions based on the rows in the default partition.

What are some alternatives?

When comparing metagration and pg_partman you can also consider the following projects:

thin-backend - 🔥 Thin Backend is a Blazing Fast, Universal Web App Backend for Making Realtime Single Page Apps

periods - PERIODs and SYSTEM VERSIONING for PostgreSQL

assert-combinators - Functional assertion combinators.

pgddl - DDL eXtractor functions for PostgreSQL (ddlx)

pg_graphql - GraphQL support for PostgreSQL

blog - OpenSource,Database,Business,Minds. git clone --depth 1 https://github.com/digoal/blog

postgrest - REST API for any Postgres database

postgres-aws-s3 - aws_s3 postgres extension to import/export data from/to s3 (compatible with aws_s3 extension on AWS RDS)

thin-backend-todo-app

practical-sql - Code and Data for the First Edition of "Practical SQL" by Anthony DeBarros, published by No Starch Press (2018).

aquameta - Web development platform built entirely in PostgreSQL

zombodb - Making Postgres and Elasticsearch work together like it's 2023