docker-postgres-upgrade
docker-pgautoupgrade
docker-postgres-upgrade | docker-pgautoupgrade | |
---|---|---|
4 | 7 | |
992 | 436 | |
- | 1.4% | |
6.5 | 7.4 | |
3 months ago | 9 days ago | |
Shell | Shell | |
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.
docker-postgres-upgrade
-
When Did Postgres Become Cool?
Ah, looks like psql seems to have switched to actually using minor and major versions properly during the last two years - I remember the dance from the 9.x versions and postgres-upgrade [1].
In any case it's way more straightforward with mysql.
[1] https://hub.docker.com/r/tianon/postgres-upgrade
-
A PostgreSQL Docker container that automatically upgrades PostgreSQL
Related: https://github.com/tianon/docker-postgres-upgrade
-
I upgraded from Debian Bullseye to Bookworm, and it went very well
Also don't forget to pg_dump before the upgrade, as the binaries for previous Postgres version might not exist anymore after the upgrade... Otherwise, https://hub.docker.com/r/tianon/postgres-upgrade/ might be helpful (haven't used it though).
-
In MySQL, never use “utf8”. Use “utf8mb4”
> When you say "complex ride" what does that mean?
On managed postgresql services like RDS it's easy, yes, because Amazon does all of the nasty work for you and has already seen all the kinks you may run into.
If you are on your own and using Docker, you essentially need a third-party image that has the old and new binaries (https://github.com/tianon/docker-postgres-upgrade).
If you are on your own and are using distribution packages, it's more complicated (https://blog.samuel.domains/blog/tutorials/from-stretch-to-b...).
If you are on your own and use postgres from source, well... have fun, there's a reason why I prefer using distribution-maintained packages when possible.
docker-pgautoupgrade
-
Why Postgres Extensions should be packaged and distributed as OCI images
> ... PostgreSQL package.
Is it able to automatically upgrade people from older PG versions?
If not, the MIT licensed code from here might be worth looking through and grabbing ideas from? :)
https://github.com/pgautoupgrade/docker-pgautoupgrade
Specifically the scripting here is the bulk of it, the majority of the other stuff is just the existing docker entrypoint code from the official Docker PG container:
https://github.com/pgautoupgrade/docker-pgautoupgrade/blob/0...
- When Did Postgres Become Cool?
- A PostgreSQL Docker container that automatically upgrades PostgreSQL
- Postgre automatically upgrade–This is interesting but do we need this?
What are some alternatives?
pgloader - Migrate to PostgreSQL in a single command!
Redash - Make Your Company Data Driven. Connect to any data source, easily visualize, dashboard and share your data.
MySQLTuner-perl - MySQLTuner is a script written in Perl that will assist you with your MySQL configuration and make recommendations for increased performance and stability.
PostgreSQL-Disaster-Recovery-With-Barman - A complete end-end project that demonstrates the 'Traditional backup with WAL streaming' architecture implementation (Backup via rsync/SSH + WAL streaming). This is chosen as it provides incremental backup/restore & a bunch of other features.
postgresqltuner - Simple script to analyse your PostgreSQL database configuration, and give tuning advice
PostgreSQL-Disaster-Recove
pgkit - Pgkit - Backup, PITR and recovery management made easy
pgsql-backup - PostgreSQL Backup Script. Ported from AutoMySQLBackup.
Serendipity - A PHP blog software
embedded-postgres-binaries - Lightweight bundles of PostgreSQL binaries with reduced size intended for testing purposes.