Repository navigation
Can I connect Xata to my existing RDS / Aurora / Cloud SQL database? #2
dascalescuro
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Yes. You can create a “production clone” on the Xata platform. Your production database stays where it is, and you get CoW branching from the Xata clone. The replication itself can be done periodically (e.g. nightly) or continuously, via logical replication. Our open source project, pgstream, supports Postgres to Postgres replication including DDL changes.
This means:
Requirements:
wal_level = logical, Cloud SQL supports it with a flag)What this looks like in practice:
Each branch gets its own Postgres endpoint with full read/write access. Changes on a branch don't affect the parent or other branches.
All reactions