Postgres at scale — with copy-on-write branching, data masking, separated storage & compute , 100% Postgres and your own cloud

🌏 Earth
Joined November 2020
Introducing the latest in Postgres for agentic workloads. Agents can now branch or wake your Postgres database instantly.
6
6
2
101
355,736
pg_dump vs copy-on-write branching, in two minutes. One copies every row. The other only copies the blocks you change.
1
2
128
Your agent doesn't need access to your production database. Give it a branch instead. Here's the Xata CLI setup, start to finish.
2
164
You don't have to move your Postgres to get branches. Stay on RDS or Cloud SQL. `xata clone stream` follows the source through logical replication, and you branch the copy in Xata. Production stays where it is.
2
184
A read-only user lets you look at production data. It doesn't let you try anything. xata scratch gives you a throwaway branch for one query, test run or migration, then deletes it.
1
1
5
596
A coding agent wants a database per task: created when the work starts, removed when it ends. One shared staging database was never going to keep up. Our CEO @monicasarbu on what to do instead, 2:50pm PT on Stage 2 at WeAreDevelopers in San José: "Databases in the Agent Era."
1
2
267
Live now: Graham walks through Account Observatory, the internal tool our GTM team built on one Postgres database. 30 minutes, then your questions. youtube.com/watch?v=9ZHnGlX-…
3
21,615
One organization's first week in Account Observatory: signed up, first branch the same day, then instance hours and a payment method. We built the tool to spot the customers who don't get this far, and reach out before they give up. When a cohort teaches us something new, we update the picture on a branch and ship it through a pull request. Graham walks through the whole loop tomorrow at 8:30am PT. Free on YouTube, recording included. youtube.com/watch?v=9ZHnGlX-…
1
5
40,975
Xata 🦋 retweeted
@xata for Postgres with CoW branching. We built it from the start with BYOC in mind.
1
2
195
Our GTM team built an internal tool to stay customer focused as a PLG-first company. Account Observatory pulls PostHog, Pylon and Clarify into one Postgres database, so decisions about onboarding come from real customer behavior. Changes ship from a database branch through a pull request, live tool untouched. Thu Sep 24, 8:30am PT, Graham walks through it. Free on YouTube, recording included. youtube.com/watch?v=9ZHnGlX-…
1
3
119,246
Need production data to debug a slow query? Normally, you have to: • Isolate the data • Debug the query • Validate the fix • Deploy the fix With the Xata MCP server and Codex, you can do all of this just by talking to an agent. Branch your Postgres database in seconds, no matter how large it is, and let AI assist you with solving slow query issues. Watch how it works 👇
4
1
7
483
Coding agents write and run SQL now. The same connection that lets one fix a query lets it drop a table. Yours can work against real production data without working against production, and without seeded data that looks nothing like production. Read more: xata.io/blog/introducing-the…
2
2
8
679
With 78.7% of the rows tied on the value we sort by, the query wasn't deterministic. Which rows appeared on a page could change whenever the query plan changed. And it did, as soon as the agent ran ANALYZE. That is not in the schema, and it is not in seeded data either, because nobody seeds 79% of a table at one value on purpose. It deleted its branch on the way out. None of that was in the repo, and the repo is all an agent usually gets.
1
99
You only need the URL: api.xata.tech/mcp Any MCP client that speaks Streamable HTTP can connect, over OAuth in the browser or an API key for CI. Nothing to install locally. Claude Code: claude mcp add --transport http --scope user xata api.xata.tech/mcp then run /mcp to sign in. Works with Claude Code, Cursor, VS Code, Zed, Codex and any MCP client that supports Streamable HTTP: xata.io/docs/platform/mcp
84
Xata is coming to Azure. Branch-native Postgres. A copy-on-write branch of an existing database in seconds, whether the parent is 1GB or 1TB. Xata branches only incur costs for changed data plus compute while awake. A sleeping branch is basically free. Join the waitlist and we will tell you the moment it is ready. xata.io/get/azure
2
3
3
573
Xata 🦋 retweeted
The security research done by @mdisec is incredibly valuable to @xata and the whole Postgres ecosystem. Tons of security fixes in various extensions and core Postgres have been merged lately thanks to his research. I am very grateful for our collaboration!
I went looking for a managed-Postgres provider. Instead, I found a vulnerability in a 4-star PostgreSQL extension available everywhere! and turned it into code execution at @neondatabase, @supabase, @xata and more. Part 1/6 | Extension Risks Are Real mehmetince.net/part-1-6-syst…
1
2
17
3,324
pgp_sym_decrypt with the wrong key throws "Wrong key or corrupt data". It does not hand back garbage bytes. That is the PGP format's integrity check, and it is a useful property if you are encrypting columns with a different key per tenant. A query that picks up the wrong tenant's key fails loudly, instead of returning plausible nonsense that nothing downstream is checking. Read about it here: xata.io/blog/multi-tenant-by…
1
1
387