> ## Documentation Index
> Fetch the complete documentation index at: https://xata.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Xata Documentation

Xata is a modern PostgreSQL platform built for engineering teams that want to build faster and ship with confidence. It transforms development workflows by giving teams instant, safe access to real production data (PII removed), without the risks or costs of maintaining production clones.

With Xata, every pull request or coding agent can instantly create its own isolated database branch with anonymized production data. Branches use copy-on-write technology, so the data is shared with the parent instead of being fully copied. That's why creating a new branch is instant, whether your database is 1 TB or 5 TB. Branches are also very cost-efficient: you only pay for compute while storage is shared, and they can automatically hibernate when not in use to save even more.

You can start using Xata just for your development workflows, keeping your production database exactly where it is. This setup allows your team to branch, test, and experiment safely with real data without changing your existing infrastructure. Once your team is ready, Xata can power both development and production for a unified workflow and consistent performance.

## Why Xata?

Learn more about Xata's core offering and how we're different than the rest.

<Columns cols={2}>
  <Card title="Instant Branching" icon="code-branch" iconType="solid" href="/core-concepts/branching">
    Create database branches in seconds to develop and test with production-like data safely.
  </Card>

  <Card title="Schema Changes" icon="code-merge" iconType="solid" href="/core-concepts/schema-changes">
    Modify your database schema without downtime and deploy schema changes with confidence.
  </Card>

  <Card title="Data Anonymization" icon="lock" iconType="solid" href="/core-concepts/anonymization">
    Automatically anonymize sensitive data and use real data safely in non-production environments.
  </Card>

  <Card title="Scale to Zero" icon="arrows-down-to-line" iconType="solid" href="/core-concepts/scale-to-zero">
    Hibernate inactive branches and pay only for active compute time.
  </Card>

  <Card title="Deployment Flexibility" icon="server" iconType="solid" href="/core-concepts/deployment">
    Choose between SaaS or BYOC and as a managed service or in your infrastructure.
  </Card>
</Columns>

<Tip>Interested in how we compare against other Postgres solutions out there? Check out this [comparison blog series](https://xata.io/blog/neon-vs-supabase-vs-xata-postgres-branching-part-1) for more details.</Tip>

## Tutorials

Get up and running with Xata in minutes and explore what our platform has to offer.

<Columns cols={2}>
  <Card title="Quickstart" icon="rocket" iconType="solid" href="/quickstart">
    Set up a Xata account and create your first database.
  </Card>

  <Card title="Production clone" icon="copy" iconType="solid" href="/tutorials/create-production-clone">
    Create a production clone with anonymized data for your dev branches.
  </Card>

  <Card title="Change Schema" icon="code-merge" iconType="solid" href="/tutorials/schema-change">
    Best practices for schema evolution without downtime.
  </Card>

  <Card title="Streaming Replication" icon="right-left" iconType="solid" href="/tutorials/streaming-replication">
    Set up continuous streaming from your PostgreSQL database to Xata.
  </Card>
</Columns>

## Migration Guides

Migrate your existing PostgreSQL databases to Xata using `xata clone`:

<Columns cols={3}>
  <Card title="AWS RDS" icon="aws" iconType="brands" href="/migrations/aws-rds">
    Migrate from Amazon's managed PostgreSQL services.
  </Card>

  <Card title="GCP Cloud SQL" icon="google" iconType="brands" href="/migrations/gcp-cloudsql">
    Migrate from Google Cloud's managed PostgreSQL.
  </Card>

  <Card title="Azure Database" icon="microsoft" iconType="brands" href="/migrations/azure">
    Migrate from Microsoft's managed PostgreSQL service.
  </Card>

  <Card title="PostgreSQL" icon="database" iconType="solid" href="/migrations/self-hosted">
    Migrate from any self-managed Postgres instance.
  </Card>

  <Card title="Neon" icon="server" iconType="solid" href="/migrations/neon">
    Migrate from Neon's managed PostgreSQL.
  </Card>

  <Card title="Supabase" icon="bolt" iconType="solid" href="/migrations/supabase">
    Migrate from Supabase's managed PostgreSQL service.
  </Card>
</Columns>

## Automation & CI/CD

Integrate Xata directly into your development workflow.

<Columns cols={2}>
  <Card title="Check Merge Readiness" icon="github" iconType="brands" href="/automations/ga-check">
    Validate your branch status and migration readiness.
  </Card>

  <Card title="Create Dev Branch" icon="github" iconType="brands" href="/automations/ga-pr">
    Create and manage development branches for pull requests.
  </Card>

  <Card title="Scheduled Xata Clone" icon="github" iconType="brands" href="/automations/ga-clone">
    Clone your database on a schedule or on-demand.
  </Card>

  <Card title="Xata Clone Cron Task" icon="calendar" iconType="solid" href="/automations/kubernetes-clone">
    Validate your branch status and migration readiness.
  </Card>
</Columns>

## Support

Please contact support if you have any questions about Xata.

<Columns cols={2}>
  <Card title="Status Page" icon="stethoscope" iconType="solid" href="https://www.xatastatus.com/">
    Check the current status of the Xata platform.
  </Card>

  <Card title="Contact Support" icon="headset" iconType="solid" href="https://xata.io/contact-support">
    Contact support to troubleshoot any issues or general consultation.
  </Card>
</Columns>
