pgcow
pg-clone-schema
pgcow | pg-clone-schema | |
---|---|---|
1 | 3 | |
11 | 176 | |
- | - | |
10.0 | 8.7 | |
about 5 years ago | 6 days ago | |
C | PLpgSQL | |
GNU General Public License v3.0 or later | 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.
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.
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?
What are some alternatives?
pg_branch - Experimental Postgres extension for quickly branching databases through file system snapshots
dolt - Dolt – Git for Data
examples - Examples for Oh Krab!
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.