| ▲ | tee-es-gee 6 days ago | |||||||
For context for the others, I think you are referring to this blog post: https://xata.io/blog/open-source-postgres-branching-copy-on-... (in particular the "The key is in the storage system" section) right? What I'm saying there is that if you do Postgres with on top of a local ZFS volume, the child branches Postgres instances need to be on the same server. So you are limited in how many branches you can do. One or two are fine, but if you want to do a branch per PR, that will likely not work. If you separate the compute from storage via the network, this problem goes away. | ||||||||
| ▲ | zbentley 6 days ago | parent | next [-] | |||||||
ZFS snapshots can be transmitted over the network, with some diff-only and deduplication gains if the remote destination has an older instance of the same ZFS filesystem. It’s not perfect, and the worst case is still a full copy, but the tooling and efficiency wins for the ordinary case are battle-tested and capable. | ||||||||
| ||||||||
| ▲ | sastraxi 6 days ago | parent | prev [-] | |||||||
Yes, that's what I'm referring to. You're still making the assumption in this comment: why does my 2nd (cloned) database need a separate postgres instance? One postgres server can host multiple databases. | ||||||||
| ||||||||