pg-osc
migration_signature
Our great sponsors
pg-osc | migration_signature | |
---|---|---|
6 | 1 | |
477 | 4 | |
- | - | |
7.9 | 4.4 | |
14 days ago | 4 months ago | |
Ruby | Ruby | |
MIT License | MIT License |
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
-
Pgroll: zero-downtime, undoable, schema migrations for Postgres
Great to see more innovation in this space! How does this compare to?
https://github.com/shayonj/pg-osc
- Want to avoid MySQL but find PlanetScale really appealing
-
Changing Tires at 100mph: A Guide to Zero Downtime Migrations
Postgres has some less robust tooling, at least both of these carry the "experimental" tag:
https://news.ycombinator.com/item?id=29825520
https://github.com/shayonj/pg-osc
But, still, they do it for you.
- Alter PostgreSQL tables without locks and downtime
-
pg-osc: Zero downtime non blocking schema changes in PostgreSQL
You can also try it out, Github: https://github.com/shayonj/pg-osc
-
Show HN: Zero-downtime PostgreSQL migrations for Ruby on Rails
This is very cool! I no longer work on Rails on daily basis, but would have loved to have this.
I built something similar called `pg-osc` / `pg-online-schema-change` for PostgreSQL workloads. It does zero downtime migrations using triggers and shadow table.
Github: https://github.com/shayonj/pg-osc.
Blog: https://www.shayon.dev/post/2022/47/pg-osc-zero-downtime-sch...
Also love that this is written in Ruby :). Going to check it out on some side projects.
migration_signature
-
Show HN: Zero-downtime PostgreSQL migrations for Ruby on Rails
This is cool. We use strong_migrations but I’ll check this out. I love the idea of an enforced pattern for background data migrations.
While I’m here a shameless plug for a gem we built that we’ve found incredibly helpful for safer migrations - https://github.com/TandaHQ/migration_signature
It adds a CI check to guarantee the migrations you tested in development are actually the migrations that run in production.
What are some alternatives?
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]
safe-pg-migrations - Make your PostgreSQL migrations safe
django-pg-zero-downtime-migrations - Django postgresql backend that apply migrations with respect to database locks
reshape - An easy-to-use, zero-downtime schema migration tool for Postgres
online_migrations - Catch unsafe PostgreSQL migrations in development and run them easier in production (code helpers for table/column renaming, changing column type, adding columns with default, background migrations, etc).
tusker - PostgreSQL migration management tool
django-check-migration-wtf - check migrations of django to work on enviroment zero downtime
pgroll - PostgreSQL zero-downtime migrations made easy
neon - Neon: Serverless Postgres. We separated storage and compute to offer autoscaling, branching, and bottomless storage.
quantumdb - Zero-downtime schema evolution for PostgreSQL