The instant database scratchpad: xata scratch
xata scratch gives you a disposable copy of your Postgres from the terminal. One command forks a branch with your real data, runs your query, and deletes it.
xata scratch gives you a disposable copy of your Postgres from the terminal. One command forks a branch with your real data, runs your query, and deletes it.
Giving every pull request its own copy-on-write branch of the production Postgres you already run, even at terabyte scale. Ready in about three seconds, gone when the PR closes.
Postgres 18 introduced temporal keys (WITHOUT OVERLAPS, PERIOD).Postgres 19 expands (UPDATE/DELETE ... FOR PORTION OF) temporal capabilities further.
Read, filter, and search your PostgreSQL logs for any branch in the Xata console or the CLI. Per-branch, per-instance, no log drain to set up.
What's new in pgstream v1.1.0: env vars in YAML config, JSON logs, Kubernetes health probes, custom TLS for OpenSearch, and fixes for composite primary keys.
See how we reduced branching times from 20+ seconds to around a second and what use-cases these speed improvements enable.
We've rebuilt the query editor from the ground up. The new version is faster, smarter, and easier to use.
How we rebuilt Xata's PostgreSQL branch metrics on a self-hosted VictoriaMetrics stack in six weeks, with zero user-visible downtime.
Build production-ready AI apps with Xata, Claude Code and Postgres workflows for safe migrations, branching and anonymized data cloning.
Every Xata Postgres branch includes a built-in PgBouncer pooler in transaction mode. Tuned for serverless and edge, scales to zero with the branch.
Read the technical details of our new distributed storage system, which is the key to scaling to a huge number of Postgres instances.
AI can write the code, but humans still need to own the engineering. A practical guide to using AI without drowning in slop.
Use your existing Postgres. Ship faster with Xata.