Xata - Postgres at Scale's Avatar

Xata - Postgres at Scale

@xata.io

With copy-on-write branching, data masking, separated storage & compute , 100% Postgres

51
Followers
0
Following
127
Posts
31.03.2025
Joined
Posts Following

Latest posts by Xata - Postgres at Scale @xata.io

Preview
PostgreSQL Berlin March 2026 Meetup, Thu, Mar 5, 2026, 6:30 PM | Meetup Zalando is graciously hosting us for our first Meetup in 2026. And we are doing it a bit different: we have two rooms, and two talks in parallel. This gives you the opportu

Our CTO Tudor Golubenco is speaking tonight at the PostgreSQL Berlin Meetup, hosted at Zalando.

The talk: How we reduced CloudNativePG wake-up times from 20+ seconds to sub-second for Xata's scale-to-zero Postgres clusters.

20:15 CET if you're in Berlin: meetup.com/postgresql-m...

05.03.2026 13:58 πŸ‘ 3 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Preview
pgstream v1.0.0: Stateless schema change replication by Esther Minano Sanz A major architectural milestone that removes schema logs and simplifies how pgstream captures and replicates Postgres schema changes

pgstream v1.0.0 is out, with a major architectural change.

Schema changes are now emitted directly into WAL as logical messages, without schema logs or stored schema state.

If you work with Postgres CDC, this might be interesting.

Details in the blog πŸ‘‡
xata.io/blog/pgstrea...

04.02.2026 16:00 πŸ‘ 2 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Preview
What you should know about constraints in PostgreSQL | xata.io by Gulcin Yildirim Jelinek In this blog, we explore Postgres constraints through the pg_constraint catalog, covering table vs. column constraints, constraint triggers, domains and more.

Curious to dig deeper? Check out @apatheticmagpie.bsky.social full breakdown on the blog πŸ‘‰ xata.io/blog/constra...

29.01.2026 17:23 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
What you should know about constraints in PostgreSQL | xata.io by Gulcin Yildirim Jelinek In this blog, we explore Postgres constraints through the pg_constraint catalog, covering table vs. column constraints, constraint triggers, domains and more.

Did you know Postgres lets you put **constraints on domains**, not just tables?

A domain is a custom data type with rules attached, and Postgres stores those CHECK constraints right in `pg_constraint` linked by `contypid` instead of `conrelid`.

A clean way to centralize data rules πŸ‘Œ

29.01.2026 17:23 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

It is being planned, thanks for the interest!

28.01.2026 08:35 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Taking database snapshots and moving large volumes of data over the network is something our customers do regularly. While batching is the de facto way to make this efficient choosing the right batch size is non-trivial considering network variability, latency & system load.

Read how we solved itπŸ‘‡πŸ½

12.01.2026 15:18 πŸ‘ 2 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0

@divyendusingh.com is doing a great job making agents do all sorts of stuff using databases. In our case with a few simple instructions, they are able to do branching operations, run queries, validate bug fixes and more.

The blog posts are paired with demo videos, have a look πŸ‘€ πŸ‘‡πŸ½

14.01.2026 13:41 πŸ‘ 2 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0

New in xata clone: AI-assisted PII removal config (schema β†’ strict config β†’ validated).

19.01.2026 15:40 πŸ‘ 1 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Post image

New in xata clone: xata clone config --mode=ai

Feed it your schema + prompt β†’ get a strict, reviewable anonymization config that’s typically more complete than static heuristics.

Blog post: xata.io/blog/smarter...

19.01.2026 14:00 πŸ‘ 2 πŸ” 0 πŸ’¬ 1 πŸ“Œ 1
Preview
Database branching in the age of AI: One markdown file is all you need by Divyendu Singh Learn how to enable database branching for coding agents like Claude Code and Amp Code using simple Xata CLI instructions in AGENTS.md. No complex skills required.

AI agents get useful faster with guardrails, not plugins.

Repo playbook: gh issue β†’ xata branch create + xata branch wait-ready β†’ xata branch url (not $DATABASE_URL) β†’ psql repro/verify β†’ fix.

Video + write-up:

14.01.2026 13:38 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 1
Preview
Optimizing data throughput for Postgres snapshots with batch size auto-tuning by Esther Minano Sanz Why static batch size configuration breaks down in real world networks and how automatic batch size tuning improves snapshot throughput.

Batching is often used to process large volumes of data but a batch size that works in one network setup can perform poorly in another.

We applied automatic batch size tuning to Postgres snapshots in pgstream to adapt across different network environments.

Check the post πŸ‘‡
xata.io/blog/postgre...

12.01.2026 14:35 πŸ‘ 3 πŸ” 2 πŸ’¬ 0 πŸ“Œ 1
Preview
What you should know about constraints in PostgreSQL | xata.io by Gulcin Yildirim Jelinek In this blog, we explore Postgres constraints through the pg_constraint catalog, covering table vs. column constraints, constraint triggers, domains and more.

If you want to understand how constraint enforcement works internally, @apatheticmagpie.bsky.social breaks it down beautifully in her latest blog:

Β πŸ‘‰ xata.io/blog/constra...

08.01.2026 13:43 πŸ‘ 5 πŸ” 3 πŸ’¬ 0 πŸ“Œ 0

PostgreSQL stores *all* constraints: check, not-null, PK, FK, unique, exclusion and domain constraints as rows in `pg_constraint` catalog.

In Postgres 18, even NOT NULL constraints now get their own entries here (before 18 they lived in `pg_attribute`!).

08.01.2026 13:43 πŸ‘ 3 πŸ” 1 πŸ’¬ 1 πŸ“Œ 0
Preview
Modernize Database Workflows Without a Migration. Branch Postgres by Claudiu Dascalescu Modernize dev workflows: replace your shared, fragile staging database with instant branches for your Postgres database.

Moving a production DB is stressful. Don’t.

Keep prod on your infra. Stream a logical replica (WAL) into Xata, anonymize PII at ingest, then spin up copy-on-write Postgres branches in seconds - one per PR πŸ‘‡

23.12.2025 18:15 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

Testing one last change on prod before the holidays…

20.12.2025 06:39 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Teaching Claude Code to use isolated database branches with Agent Skills by Divyendu Singh Learn how to set up the Xata Agent Skill in minutes. Enable Claude Code to access realistic data using isolated database branches for safer, faster debugging.

Claude reads the issue, spins up a branch named after the git branch, reproduces on realistic data, finds a classic off-by-one (missing `<=`), fixes it, validates, and ships.

Blog + video: xata.io/blog/teachin...

17.12.2025 16:55 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

What Claude learns:

- `gh` β†’ read the GitHub issue
- `xata` β†’ create branch β†’ `wait-ready` β†’ `checkout`
- `psql` β†’ query the *branch* URL (via `xata branch url`)

17.12.2025 16:55 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Setup (2 commands):

`curl -fsSL xata.io/install.sh | bash`

`xata ai download claude-skill`

17.12.2025 16:55 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Core idea: add a Claude Agent Skill (~20 lines) that tells Claude: when DB access is relevant, create an isolated copy-on-write Postgres branch and work there, never against $DATABASE_URL / production.

17.12.2025 16:55 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

You wouldn’t let Claude Code touch prod.

But some bugs *need* real data to reproduce.

Here’s how we teach Claude to debug safely using Xata database branches πŸ‘‡

17.12.2025 16:55 πŸ‘ 2 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Post image

It’s Friday and you want to ship to prod.

12.12.2025 17:04 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Closing the loop: Building a coding agent that uses Postgres branches by Divyendu Singh Explore how to build an AI coding agent that follows a full developer workflow, including creating Postgres branches, using a sandbox, fixing bugs, and raising pull requests with Xata, Vercel, and Git...

Here is the full post: xata.io/blog/a-codin...

12.12.2025 12:12 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Video thumbnail

Giving agents access to realistic data via branches should scale the feature development without increasing costs.

This shows how you can use the β€œscale to zero” feature of the Xata platform to improve feature development while keeping costs in check.

12.12.2025 12:12 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Preview
What you should know about constraints in PostgreSQL | xata.io by Gulcin Yildirim Jelinek In this blog, we explore Postgres constraints through the pg_constraint catalog, covering table vs. column constraints, constraint triggers, domains and more.

Postgres constraints are the rules that keep your data clean.

Types tell you *what* can be stored but constraints enforce *what must be true*.
If a row violates a rule, Postgres rejects it. No silent corruption.
A few well-chosen constraints prevent entire classes of bugs.

xata.io/blog/constra...

11.12.2025 15:18 πŸ‘ 4 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0
Preview
Closing the loop: Building a coding agent that uses Postgres branches by Divyendu Singh Explore how to build an AI coding agent that follows a full developer workflow, including creating Postgres branches, using a sandbox, fixing bugs, and raising pull requests with Xata, Vercel, and Git...

Read the full post: xata.io/blog/a-codin...

10.12.2025 09:28 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Video thumbnail

AI agents are β€œclever” to use available tools like grep, sed to find the relevant code files based on a prompt.

Here we experiment with giving AI agent tools to change environment variables in a repository that it checked out and it worked.

10.12.2025 09:28 πŸ‘ 3 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Preview
Closing the loop: Building a coding agent that uses Postgres branches by Divyendu Singh Explore how to build an AI coding agent that follows a full developer workflow, including creating Postgres branches, using a sandbox, fixing bugs, and raising pull requests with Xata, Vercel, and Git...

Here are the results: xata.io/blog/a-codin...

09.12.2025 13:42 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Video thumbnail

We explored giving AI agents access to compute (via Sandbox) and database via Xata branches and some β€œcommandments” to follow a developer-like workflow.

09.12.2025 13:42 πŸ‘ 1 πŸ” 2 πŸ’¬ 1 πŸ“Œ 0
Preview
Closing the loop: Building a coding agent that uses Postgres branches by Divyendu Singh Explore how to build an AI coding agent that follows a full developer workflow, including creating Postgres branches, using a sandbox, fixing bugs, and raising pull requests with Xata, Vercel, and Git...

Check out the full post here: xata.io/blog/a-codin...

08.12.2025 13:48 πŸ‘ 1 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0

Can an AI Agent follow the same workflow that human developers can?

We explored giving AI agent access to the database branch, a compute sandbox to execute code and instructions to follow a developer workflow (in plain English) and the experiment was a success.

08.12.2025 13:48 πŸ‘ 2 πŸ” 2 πŸ’¬ 1 πŸ“Œ 0