pg-osc VS departure

Compare pg-osc vs departure and see what are their differences.

pg-osc

Easy CLI tool for making zero downtime schema changes and backfills in PostgreSQL (by shayonj)

departure

Percona's pt-online-schema-change runner for ActiveRecord migrations. (by departurerb)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
pg-osc departure
6 1
477 134
- 0.7%
7.9 8.0
14 days ago 2 months ago
Ruby Ruby
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.

pg-osc

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

departure

Posts with mentions or reviews of departure. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-05-04.
  • Changing Tires at 100mph: A Guide to Zero Downtime Migrations
    9 projects | news.ycombinator.com | 4 May 2022
    At least for Rails there are several gems available (ie https://github.com/WeTransfer/ghost_adapter or https://github.com/departurerb/departure) that seamlessly hook into the existing migration system and will run all eligible migrations through gh-ost or pt-osc as needed. You're right that it's not free but it isn't all that far off either.

    That said, online schema migrations are a specialized tool designed for very big tables that take hours to run an ALTER TABLE on. If all your tables are small enough that alterations take less than a second or so, don't bother and just block the table for a bit. It's fine.

What are some alternatives?

When comparing pg-osc and departure you can also consider the following projects:

pg-online-schema-change - Easy CLI tool for making zero downtime schema changes and backfills in PostgreSQL [Moved to: https://github.com/shayonj/pg-osc]

reshape - An easy-to-use, zero-downtime schema migration tool for Postgres

safe-pg-migrations - Make your PostgreSQL migrations safe

data-migrate - Migrate and update data alongside your database structure.

ghost_adapter - Run ActiveRecord migrations through gh-ost

tusker - PostgreSQL migration management tool

janet - A dynamic language and bytecode vm

django-pg-zero-downtime-migrations - Django postgresql backend that apply migrations with respect to database locks

litestream - Streaming replication for SQLite.

pgroll - PostgreSQL zero-downtime migrations made easy

gh-ost - GitHub's Online Schema-migration Tool for MySQL