pg-clone-schema
pgcow
pg-clone-schema | pgcow | |
---|---|---|
3 | 1 | |
176 | 11 | |
- | - | |
8.7 | 10.0 | |
10 days ago | about 5 years ago | |
PLpgSQL | C | |
MIT License | GNU General Public License v3.0 or later |
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-clone-schema
-
Pg_branch: Pre-alpha Postgres extension brings Neon-like branching
For ad hoc copies I’ve found the third party schema cloning function useful. I assume performance would be an issue for huge databases though. https://github.com/denishpatel/pg-clone-schema
- Does PostgreSQL have schema creation command which replicates all the objects of another schema?
pgcow
-
Pg_branch: Pre-alpha Postgres extension brings Neon-like branching
https://github.com/Photonios/pgcow that supports ZFS.
BTRFS is not that scary. Quota and RAID56 is broken but other features have been stable quite some time. Btrfs is used by default for few Linux distros and Facebook makes quite heavy use of it on their servers https://lwn.net/Articles/824855/
I have been running btrfs on all of my machines since 2016 as transparrent file compression helps a lot with keeping disk usage down.
Btrfs RAID1 even saved my data once when one of the SSD's decided to die suddenly.
For maximum performance you should run databases on top of XFS anyway. It also supports per-file COW via relinks.
What are some alternatives?
pg_branch - Experimental Postgres extension for quickly branching databases through file system snapshots
examples - Examples for Oh Krab!
dolt - Dolt – Git for Data
database-lab-engine - DBLab enables 🖖 database branching and ⚡️ thin cloning for any Postgres database and empowers DB testing in CI/CD. This optimizes database-related costs while improving time-to-market and software quality. Follow to stay updated.