Azure HorizonDB is Microsoft's cloud-native, PostgreSQL-based database service. It separates compute from shared, zone-resilient storage, uses a "database-as-a-log" write path, and lets one writer scale out to up to 15 readers. It became generally available in November 2026, after a public preview that started in June. This guide covers what Azure HorizonDB actually is, how it differs from Azure Database for PostgreSQL Flexible Server, how it compares with Aurora DSQL, AlloyDB and Neon, and how to migrate into it.
One correction up front, because early coverage got it wrong: HorizonDB is not a sharded or multi-writer "distributed Postgres" in the Citus sense. It is a single-writer PostgreSQL cluster on disaggregated storage, closer in spirit to Aurora than to Citus. If you need horizontal write scale-out on Azure, the answer is still elastic clusters on Flexible Server.
Azure HorizonDB GA: status as of November 2026
The HorizonDB release notes list two milestones: preview in June 2026 and general availability in November 2026, timed with Microsoft Ignite. Microsoft first showed the service at Ignite 2025, and its July 2026 Tech Community post positioned it alongside Flexible Server as the "tier-1, high-scale" option.
What is GA and what isn't is worth checking per feature. At the time of writing:
- PostgreSQL 17 is GA. PostgreSQL 18 is in preview (extension list).
- The management REST API used in the quickstart ARM template is still versioned
2026-10-01-preview. - Some how-to pages, such as the dump-and-restore guide and the HA concepts page, still carry Build 2026 public-preview metadata.
How Azure HorizonDB works: architecture
The overview on Microsoft Learn describes two design principles: disaggregated compute and storage, and database-as-a-log.
Compute: one writer, up to 15 readers
A HorizonDB cluster is the unit you secure, back up and restore. Inside it:
| Component | Per cluster | Role |
|---|---|---|
| Writer node | 1 | The only node that changes data |
| Reader nodes | Up to 15 | Serve reads. Readers in the read-write pool are failover targets |
| Read-write pool | 1 | Holds the writer plus optional readers |
| Read-write endpoint | 1 | Always routes to the current writer, including after failover |
| Read-only endpoint | 1 per pool | Load-balances across that pool's readers |
| Storage | 1 shared copy | All nodes read the same data |
Nodes are stateless. You don't size disks or IOPS. You pick a processor (Intel Edsv6 or AMD Eadsv6 "Generation 1"), a vCore count and a node count at the pool level. Each node gets 8 GB of RAM and 32 GB of local NVMe cache per vCore. Because every node reads the same storage, adding a reader doesn't copy data, which is why reader provisioning and failover are fast.
The docs also describe optional separate read pools (for example, a reporting pool with its own size and endpoint), but the limitations table says read pools aren't available yet: a cluster has exactly one pool for now.
Storage: WAL service, page servers, Blob
Only write-ahead log records travel from compute to storage. Data pages never do. A commit flows like this:
- The writer sends WAL to a dedicated, low-latency WAL storage service. The transaction is acknowledged only after that service durably stores it.
- WAL storage forwards the WAL to shared data storage (sharded page servers that rebuild pages by replaying WAL) and to every reader, which applies changes to cached pages. Microsoft says readers typically reflect changes within milliseconds.
- WAL is archived to zone-redundant Azure Blob storage for point-in-time restore, and page servers write updated pages there too.
Checkpointing, WAL archiving, WAL shipping to replicas and backups are all offloaded from the database nodes. Backups are Blob snapshots, so their duration doesn't grow with database size. All three storage layers are zone-resilient by default, and storage grows automatically. Microsoft markets the ceiling as up to 128 TB of storage and 3,072 vCores across the primary and replicas (product page).
The product page and Microsoft's blog also make performance claims (for example, multiples of self-managed Postgres throughput and faster vector search than pgvector indexes). Those come from Microsoft's internal benchmarks. Run your own workload before quoting them.
Postgres compatibility and extensions
HorizonDB runs community PostgreSQL. The quickstart's sample psql banner shows server 17.9 (Azure HorizonDB ...). You choose the major version when you create the cluster and can't upgrade it in place later, so pick 17 for production today and plan a migration for 18.
The extension catalog is broad. Highlights for PostgreSQL 17:
| Area | Extensions (version on PG 17) |
|---|---|
| Vector and AI | vector (pgvector) 0.8.7, pg_diskann 0.7.6, azure_ai 2.5.6, pg_textsearch 1.5.1 (BM25) |
| Geospatial | postgis 3.6.4 and its raster/topology/tiger modules, pgrouting 3.8.0 |
| Time series and partitioning | timescaledb 2.24.0, pg_partman 5.4.3, pg_cron 1.6.8 |
| Graph | age 1.8.0 (Apache AGE) |
| Ops and tuning | pg_stat_statements, pg_hint_plan, pg_repack, auto_explain, pgaudit |
| Oracle migration | orafce 4.16.3, oracle_fdw 2.7.0 |
| Other | anon, plv8, pglogical, wal2json, hll, tdigest, pg_durable |
Notably absent: Citus. There is no sharding extension, which confirms the single-writer design.
Extensions must be allow-listed before CREATE EXTENSION works. You set azure.extensions in a custom parameter group assigned to the pool, and the change applies without a restart at GA (how-to). Extensions marked as needing shared_preload_libraries (for example pg_cron, timescaledb, pg_stat_statements, pgaudit) also need that parameter changed and a pool restart.
SHOW azure.extensions;
CREATE EXTENSION IF NOT EXISTS pg_diskann CASCADE; -- pulls in "vector"
CREATE TABLE docs (
id bigint GENERATED ALWAYS AS IDENTITY PRIMARY KEY,
tenant_id int NOT NULL,
embedding public.vector(1536)
);
CREATE INDEX docs_embedding_idx ON docs USING diskann (embedding vector_cosine_ops);
-- Filtered vector search: the tenant predicate is evaluated inside the DiskANN walk
SELECT id FROM docs
WHERE tenant_id = 42
ORDER BY embedding <=> '[...]'::vector
LIMIT 10;
The DiskANN guide is the reason many teams will look at HorizonDB. Filters are pushed into the index walk instead of post-filtering HNSW results, and spherical quantization allows up to 16,000 dimensions (sq_bits = 1). If you're weighing in-database vectors against a dedicated vector store, our S3 Vectors tutorial covers the opposite end of that tradeoff.
Pricing model and regions
Microsoft hasn't published per-unit prices in the docs I checked. The billing model, from the overview and the product page, is:
- Compute: provisioned vCore-hours for the writer and every reader/HA node
- Storage: used data and log storage, per GiB-month (no provisioned size)
- Backup storage: the product page says backups are free up to 100% of the cluster's initial size, with additional backup storage billed per GiB-month
Because HA requires at least two nodes, a production cluster costs at least two nodes of compute. Get real numbers from the Azure pricing calculator for your region before you compare against Flexible Server.
Learn lists 13 regions at GA: Canada Central, Central US, East US, South Central US, West US 2 and West US 3 in the Americas; Germany West Central and Sweden Central in Europe; and Australia East, India South Central, Indonesia Central, Japan East and Korea Central in Asia Pacific. An Azure update entry cites 15 regions, so check the portal for your target region.
GA limitations to plan around
From the limitations table:
| Not available at GA | Workaround |
|---|---|
| Cross-region reader nodes | Geo-redundant backup, restore to paired region |
| Read pools (more than one pool) | Use readers in the single read-write pool |
| Customer-managed keys and geo-redundant backup together | Choose one at creation, since neither can be changed later |
| Custom maintenance windows, deferral, notifications | System-managed window only |
| In-place major version upgrade | Dump/restore or DMS into a new cluster |
| Built-in PgBouncer | Run your own pooler |
| Long-term backup retention | Max 35 days |
| VNet injection | Private Link (private endpoints) only |
The cross-region gap is the big one. If your DR requirement is a warm replica in another region with an RPO of seconds, HorizonDB doesn't offer that yet. Geo-restore from backup is a different RTO class.
Azure HorizonDB vs Flexible Server vs Cosmos DB for PostgreSQL
Microsoft now has three PostgreSQL offerings, and one of them is being retired:
| Azure HorizonDB | Azure Database for PostgreSQL Flexible Server | Azure Cosmos DB for PostgreSQL | |
|---|---|---|---|
| Architecture | Single writer, shared log-structured storage | Single server with attached storage, optional replicas | Citus distributed tables |
| Read scale | Up to 15 readers on shared storage | Read replicas (separate storage copies) | Worker nodes |
| Write scale-out | No | Elastic clusters (Citus-based) | Yes (Citus) |
| Max compute (per Microsoft) | 3,072 vCores across nodes | Up to 192 vCores | n/a |
| PG versions | 17 GA, 18 preview | Same-day major versions per Microsoft | n/a |
| Regions | 13 at GA | 60+ | n/a |
| Status | GA (Nov 2026) | GA | Retirement path, not for new projects |
Microsoft's own guidance is simple. Choose Flexible Server for lift-and-shift Postgres, the widest region coverage, fastest access to new major versions, built-in pooling and maintenance control. Choose HorizonDB for tier-1 OLTP that needs fast failover and many read replicas on one copy of data, or for AI workloads that benefit from DiskANN with filtering. For sharding, use elastic clusters. Microsoft points Cosmos DB for PostgreSQL users there, not to HorizonDB.
How it compares with Aurora DSQL, AlloyDB and Neon
| Azure HorizonDB | Amazon Aurora DSQL | Google AlloyDB | Neon | |
|---|---|---|---|---|
| Write model | Single writer | Distributed, active-active (OCC) | Single primary | Single writer per branch |
| Storage | Shared WAL + page servers on Blob | Distributed, serverless | Disaggregated, multi-zone | Safekeepers + pageserver + object storage |
| Read scale | Up to 15 readers | Serverless, scales automatically | Read pools, up to 20 nodes per pool | Not compared here |
| Postgres behavior | Community PG 17 with extensions | Wire-compatible with notable gaps (see below) | PG-compatible | Community Postgres |
| Distinctive feature | DiskANN with filter pushdown | Multi-region active-active | Columnar engine, AlloyDB Omni self-hosted | Branching, scale to zero |
The table only lists documented features. The tradeoffs that matter in practice:
- Aurora DSQL trades Postgres behavior for distribution. Per its compatibility docs, isolation is fixed at Repeatable Read with optimistic concurrency (expect serialization errors and retries), a transaction can modify up to 3,000 rows, and there's no PL/pgSQL, triggers or temp tables. HorizonDB keeps normal Postgres semantics and extensions but has no multi-region writes.
- AlloyDB is the closest architectural peer. Per the AlloyDB overview, it uses disaggregated compute and storage with read pools, plus an in-memory columnar engine for analytics and a downloadable Omni edition you can run anywhere.
- Neon solves a different problem. Its architecture separates compute from storage too, but for copy-on-write branches and scale-to-zero, which is ideal for dev, preview environments and spiky SaaS. See our Neon vs Supabase comparison for that market.
Migrating to Azure HorizonDB step by step
Microsoft documents two paths: native dump and restore, and Azure Database Migration Service (DMS) in offline mode. Neither is an online, near-zero-downtime cutover, so budget a write freeze.
1. Check compatibility. Confirm the source runs PostgreSQL 17 or older (going up is fine, down is not), and compare the extensions you use with HorizonDB's list. Anything missing (Citus, custom C extensions) is a blocker.
-- On the source
SELECT extname, extversion FROM pg_extension ORDER BY 1;
SELECT version();
2. Create the cluster with the settings you can't change later: PostgreSQL version, geo-redundant backup vs customer-managed key, and encryption type. The portal and the REST API (Microsoft.HorizonDb, 2026-10-01-preview) are the documented paths. The quickstart has a minimal ARM template. If you edit it by hand, run it through a JSON formatter first, because a stray comma fails the whole deployment. Allow-list your extensions in a parameter group.
3. Move roles. pg_dump doesn't include roles. The Microsoft guide uses pg_dumpall -r, adding --no-role-passwords when the source is a managed service that hides pg_authid (HorizonDB itself and other managed Azure Postgres services), then strips superuser-only attributes:
pg_dumpall -r --no-role-passwords -h source.example.com -U admin > roles.sql
sed -i '/azure_superuser/d; /azure_pg_admin/d; /azuresu/d; /^CREATE ROLE replication/d; /^ALTER ROLE replication/d; /^ALTER ROLE/ {s/NOSUPERUSER//; s/NOBYPASSRLS//;}' roles.sql
psql -f roles.sql -h mycluster.rw.<id>.<region>.horizondb.azure.com -U adminuser
4. Dump and restore in parallel with the directory format. Use client tools at least as new as the target's major version:
pg_dump -Fd -j 8 appdb -h source.example.com -U admin -f appdb.dump
createdb appdb -h mycluster.rw.<id>.<region>.horizondb.azure.com -U adminuser
pg_restore -Fd -j 8 -d appdb appdb.dump \
-h mycluster.rw.<id>.<region>.horizondb.azure.com -U adminuser 2> errors.log
5. Or use DMS (source type PostgreSQL, target Azure HorizonDB, migration mode Offline). Microsoft's troubleshooting advice is to run DMS in the same region and temporarily scale up HorizonDB compute for the load.
6. Cut over. Point writers at the read-write endpoint (sslmode=require, port 5432), send read-only traffic to the read-only endpoint, and remember that reads there can lag the writer slightly. Add an external connection pooler, because none is built in.
If you're arriving from a self-managed Postgres, it's also a good moment to review what's new in the engine itself. Our PostgreSQL 19 features overview covers the next major version you'll eventually migrate to. Because HorizonDB has no in-place major upgrades, that will be another dump/restore or DMS run.
Frequently Asked Questions
Is Azure HorizonDB generally available?
Yes. Microsoft's release notes list general availability in November 2026, after a public preview that began in June 2026. PostgreSQL 17 is the GA engine version, and PostgreSQL 18 is in preview. Some sub-features and the management API version are still labeled preview, so check each feature page.
Is Azure HorizonDB distributed PostgreSQL like Citus?
No. HorizonDB has one writer node and up to 15 readers sharing a single copy of data on distributed storage. Writes don't scale out across nodes, and Citus isn't in the extension list. For sharding on Azure, use elastic clusters in Azure Database for PostgreSQL Flexible Server.
How much does Azure HorizonDB cost?
Billing is pay-as-you-go: provisioned vCore-hours for each node, used data and log storage per GiB-month, and backup storage beyond the included amount. Microsoft hadn't published per-unit prices on the pages reviewed for this article, so use the Azure pricing calculator for your region.
Can I upgrade Azure HorizonDB from PostgreSQL 17 to 18 in place?
Not at GA. In-place major version upgrades are listed as unavailable. You'd create a new cluster on the newer version and move data with dump/restore or Database Migration Service.
Should I move from Flexible Server to HorizonDB?
Only if you need what HorizonDB adds: fast failover on shared storage, up to 15 readers without data copies, or DiskANN with filtered vector search at scale. If you depend on built-in PgBouncer, custom maintenance windows, cross-region replicas, VNet injection or regions HorizonDB doesn't serve yet, stay on Flexible Server for now.
Conclusion
Azure HorizonDB gives Azure an Aurora- and AlloyDB-style Postgres: one writer, many readers, log-structured shared storage, and fast failover, with a strong extension catalog and the best vector-search story of any managed Postgres on Azure. It isn't a sharding database, and the GA release has real gaps: no cross-region readers, no in-place major upgrades, no built-in pooling, and 13 regions. Pilot it for read-heavy tier-1 OLTP and filtered vector search. Keep Flexible Server for broad, conventional Postgres workloads. And benchmark Microsoft's performance claims on your own queries before you commit.