Skip to main content

AmazonAurora DSQL

Long tables of catalogue cards being sorted in the Card Division of the Library of Congress, early twentieth century

Aurora DSQL is the serverless distributed SQL database from AWS — Postgres-compatible, multi-region active-active, with strong consistency and unlimited horizontal scale.

Databases & Caching. Last reviewed June 2026.

In this entry

A printer’s case of metal type sorted into compartments, labelled Scotch Roman (Pica) Caps

5gotchas

5tips

7sections

Definition

Amazon Aurora DSQL is a serverless, distributed SQL database announced at re:Invent 2024 and generally available in 2025–2026. It speaks the PostgreSQL wire protocol for many workloads, scales horizontally without application-level sharding, and supports multi-region active-active with strong consistency semantics aimed at global OLTP. DSQL targets problems solved elsewhere by Google Spanner or CockroachDB — inventory ledgers, global session state, financial records — while staying in the Aurora brand and AWS billing ecosystem.

Unlike single-region Aurora, DSQL has no manual failover, vacuum tuning, or writer instance sizing: you pay for read and write request units plus storage. Transactions use optimistic concurrency with snapshot isolation; conflicting commits return retriable errors your application must handle. DSQL is OLTP-first — not a warehouse, not a cache, and not a drop-in for every Postgres extension.

AspectAurora (PostgreSQL)Aurora DSQL
TopologySingle-region writer + replicasMulti-region active-active
ScalingVertical + read replicasHorizontal, serverless
ConsistencyStrong in regionStrong across regions
Ops modelProvisioned or Serverless v2Fully serverless

When to use it

  • Global SaaS needing one logical database with low-latency reads and writes in multiple AWS Regions.
  • Strong cross-region consistency for ledgers, inventory, or entitlement state — not last-writer-wins NoSQL semantics.
  • Teams that want Postgres drivers and ORMs without operating Patroni, Citus, or custom shard routers.
  • Short OLTP transactions with idempotent retry logic already built into the app layer.

When not to use it

  • Single-region cost-sensitive OLTP — Aurora Serverless v2 is simpler and usually cheaper.
  • Long-running batch updates, COPY-scale bulk loads, or heavy stored procedures — DSQL optimizes for short transactions.
  • Complex PL/pgSQL, exotic extensions, or full Postgres admin feature parity — validate support matrix before migration.
  • Analytics dashboards — use Redshift, Athena on S3 Tables, or Aurora read analytics paths instead.

Tips

  • Implement exponential backoff retry on serialization failures as a standard middleware concern — not an edge case.
  • Keep transactions short and narrow — wide multi-row locks increase conflict rates across regions.
  • Model idempotency keys on writes so retries from mobile clients do not double-charge or duplicate rows.
  • Use regional endpoints so apps talk to the nearest DSQL endpoint; understand how cross-region writes bill request units.
  • Pilot with a non-critical schema (feature flags, session metadata) before moving financial core tables.

Gotchas

  • Serious: Treating DSQL like single-region Aurora — optimistic concurrency means commit-time failures are normal under load; apps must retry.
  • Serious: Multi-region active-active write amplification — each write may incur replication cost in every linked region; FinOps surprises show up in request-unit lines, not instance hours.
  • Regular: Postgres compatibility is partial — LISTEN/NOTIFY, some catalog queries, and admin commands differ; read the compatibility guide before lift-and-shift.
  • Regular: Connection storms still hurt — use pooling discipline even though there are no instances to size.
  • Regular: Migration cutover from Aurora requires dual-write or DMS planning — downtime windows depend on write volume and conflict handling.

Official references

Ask

Our AWS-certified team implements, audits and tunes Amazon Aurora DSQL in production. Tell us what you are building.

Pictures:James Murray in the Scriptorium (public domain); Card Division of the Library of Congress, 1900–1920 (public domain); Salle des catalogues, Bibliothèque Mazarine, Paris, Marie-Lan Nguyen (CC BY 2.0); Copyright card catalog drawer, Michael Holley Swtpc6800 (public domain); Type in sort case, Edinburgh City of Print (CC BY 2.0); Widener Library reading room, 1920 (public domain). Via Wikimedia Commons.