What is Azure HorizonDB?
Imagine your team runs an order-processing system on PostgreSQL. It started small, but now the database is several terabytes, the reporting team wants its own read copies, and the business wants the system to survive a zone outage without losing a single committed order. Every time you add a replica, PostgreSQL copies the whole database to a new disk. Every failover means a standby has to catch up on log first. And every few months someone has to resize the disk because it is close to full.
Azure HorizonDB is Microsoft’s answer to that problem. It is a fully managed, PostgreSQL-compatible database service where compute and storage are separated. The PostgreSQL engines (compute nodes) don’t own any data. They all share one distributed, zone-redundant storage layer that grows on its own. Adding a replica doesn’t copy data, a failover doesn’t wait for a standby to rebuild, and there is no disk size or IOPS setting to manage.
This is the first article in my series on Azure HorizonDB. It is a concepts article: no code, no CLI and no cluster yet. By the end you should be able to explain how HorizonDB works, how it differs from Azure Database for PostgreSQL Flexible Server, and decide which of the two fits your workload. In the next article we create the cluster that the rest of the series uses.
Where things stand (December 2026)
- Generally available. HorizonDB entered public preview at Microsoft Build in June 2026 and became generally available on 17 November 2026 at Microsoft Ignite (see the release notes and the Ignite 2026 databases announcement).
- Still in preview: Microsoft’s GA announcement calls out built-in AI model management as preview. Check the status of the other AI features (AI Functions, AI Pipelines) in the docs before you rely on them in production.
- Regions: the overview page now lists 15 regions – Canada Central, Central US, East US, East US 2, South Central US, West US 2 and West US 3 in the Americas; Germany West Central, Sweden Central and West Europe in Europe; and Australia East, India South Central, Indonesia Central, Japan East and Korea Central in Asia Pacific. At preview launch there were only five.
- Docs lag behind: several Learn pages (the landing page, high availability, compute replicas, business continuity) still carry “(Preview)” in their titles because they were last updated in July. The release notes and the Ignite announcements are the source for the GA status.
- Two products, one name: Microsoft Fabric HorizonDB, announced at the same Ignite, is a separate serverless PostgreSQL experience inside Fabric and is in public preview. This series is about Azure HorizonDB, the Azure service.
If you read my first look at HorizonDB during the preview, some of what I wrote then has changed. This article reflects the GA documentation.
Step 1 – Understand the architecture: compute and storage are separate
In a traditional PostgreSQL server – including Flexible Server – each server has its own disk. The engine writes the write-ahead log (WAL) and the data pages to that disk, and replicas keep their own full copies by replaying the primary’s WAL. HorizonDB breaks that link. Microsoft describes it as a database-as-a-log design with three layers.
1.1 Stateless compute nodes
Each compute node runs the PostgreSQL engine: connections, query planning, execution and transactions. It keeps a memory buffer plus a local NVMe SSD cache for hot pages – 8 GB of memory and 32 GB of SSD cache per vCore – but nothing on the node is the source of truth. If a node disappears, no data goes with it. That is what “stateless compute” means here.
1.2 WAL storage and the single-step commit
This is the key idea. The only thing a compute node writes to storage is the WAL. Data pages are never written from compute. When your application commits a transaction, the writer node sends the WAL records to a separate, zone-resilient WAL storage service, and HorizonDB acknowledges the commit only after that service has durably stored them.
So a commit is one durable write of the log – no data-file writes, no checkpoint on the critical path, and no waiting for a standby server to confirm. Because the WAL storage spans availability zones, a committed transaction survives a zone failure even if your cluster has only one compute node.
1.3 Shared data storage
From WAL storage, the log flows in three directions: to the shared data storage (a fleet of storage servers that keep the data sharded across zones and rebuild page state by applying the WAL), to every reader node (so their caches stay current – typically within milliseconds), and to Azure Blob storage as the WAL archive. The storage servers write dirty pages to zone-redundant Blob storage, and backups are Blob snapshots.
Because storage is a shared service, you don’t attach disks, choose a size or provision IOPS. Storage grows automatically and you pay for what you use.
1.4 What the storage layer takes off your compute
In a normal PostgreSQL server, the same machine that runs your queries also does checkpointing, WAL archiving, shipping WAL to replicas and backups. In HorizonDB those jobs run in the storage layer, so your vCores are spent on queries.
| Layer | What it does | Resilience |
|---|---|---|
| Compute nodes (1 writer + readers) | Run PostgreSQL; cache hot pages in memory and local NVMe SSD; write only WAL | Each node sits in one availability zone; nodes are replaceable |
| WAL storage | Durably stores WAL before a commit is acknowledged; feeds data storage, readers and the archive | Zone-resilient |
| Shared data storage | Holds the data, sharded; rebuilds pages from WAL; takes over checkpointing and backups | Data kept in multiple zones |
| Azure Blob storage | WAL archive, page storage and backup snapshots | Zone-redundant |
If you know Azure SQL Database Hyperscale, the idea will feel familiar: a log service at the centre, page servers behind it, and compute nodes that can come and go.
Step 2 – Understand what a cluster is made of
In Flexible Server you create a server. In HorizonDB you create a cluster. The cluster is the resource you connect to, secure, back up and restore. Inside it are a few terms you will see in the portal throughout this series:
| Term | What it is |
|---|---|
| Cluster | The top-level resource. Backup, restore, authentication, encryption and networking are set here |
| Pool | A group of compute nodes with the same size. Today a cluster has exactly one read-write pool, named defaultpool in the portal (separate read pools are not available yet) |
| Writer node (primary) | The one node that accepts writes |
| Reader nodes (replicas) | Up to 15 readable replicas in addition to the primary. They serve reads and are the failover candidates |
| Read-write endpoint | One per cluster. Always points to the current writer, including after a failover |
| Read-only endpoint | One per pool. Load-balances connections across the reader nodes |
All nodes in a pool share the same vCore and memory size. Compute sizes range from 2 to 192 vCores with 8 GB of memory per vCore, on AMD or Intel processors depending on the region. You can add or remove reader nodes while the cluster is online, and you can stop a pool to deallocate its compute.
Watch out: the read-only endpoint does not reject writes. If the pool has no reader nodes, it connects to the writer, and writes through it succeed. Microsoft’s Well-Architected guidance says not to rely on this endpoint to enforce read-only access. Use database roles for that.
Step 3 – See how high availability works on shared storage
Because every node reads the same storage, a HorizonDB replica is not a copy of the database. It is just another engine pointed at the same data. That changes how high availability works:
- HA needs at least one reader node. With a writer and at least one reader, the reader can be promoted. The reader is also usable for read traffic all the time – it isn’t an idle standby you pay for and can’t query.
- Zone placement is a pool setting. ZoneRedundant places the pool’s nodes in at least two availability zones. AnyZone prefers provisioning success and might put all nodes in one zone. Disabled runs a single node with no failover.
- Failover doesn’t rewind or copy anything. On an unplanned failure the service detects it, fences the old primary so no more writes land, promotes the replica closest to the primary’s last log position, updates the read-write endpoint and lets clients reconnect.
- No committed transaction is lost. Microsoft guarantees that committed transactions survive a failover; transactions that were in flight are rolled back and the application must retry them.
- Without a reader node, the service restarts the writer, and if that fails it provisions new compute – your data is safe in storage, but recovery takes longer.
You can also run a planned failover (to test, or the service uses it for minor version upgrades and security patches) and a forced failover. The docs don’t give a failover time in seconds; they only say it is faster than traditional PostgreSQL because no log rewinding is needed. We will measure it ourselves in Article 3.
Backups follow the same pattern: they are storage snapshots taken several times a day plus continuous WAL archiving, with retention of 1 to 35 days. Restore time depends on how much WAL has to be replayed, not on the size of the database. A restore always creates a new cluster.
Step 4 – Compare HorizonDB with Azure Database for PostgreSQL Flexible Server
Flexible Server is not going away. It is Microsoft’s mature, general-purpose managed PostgreSQL, and HorizonDB sits next to it, not in place of it. Here is how they compare on the points that matter for a decision (sources: the HorizonDB overview and Well-Architected guide, and the Flexible Server overview and compute options, checked on 4 December 2026):
| Area | Azure HorizonDB | Azure Database for PostgreSQL Flexible Server |
|---|---|---|
| Architecture | Separate compute and shared, distributed storage; compute writes only WAL | Each server has its own managed disk; replicas keep their own copies |
| Resource you create | Cluster (pool of writer + reader nodes) | Server (plus optional standby and replicas) |
| Compute options | One shape: 2–192 vCores, 8 GB memory per vCore | Burstable (1–20 vCores), General Purpose and Memory Optimized (2–192 vCores), 4 to about 9.5 GiB per vCore |
| Storage | Grows automatically; no size or IOPS to choose; billed on used GB | You choose 32 GiB–64 TiB and a storage tier; can grow (autogrow optional) but can’t shrink; IOPS depend on size and tier |
| High availability | Readable replicas on shared storage; ZoneRedundant / AnyZone / Disabled | Warm standby with synchronous replication, zone-redundant or same-zone; the standby isn’t readable |
| Read scale-out | Up to 15 readable replicas in the same region, no data copy, typically milliseconds behind | Asynchronous read replicas with their own storage, in-region or cross-region |
| Durability of a commit | Acknowledged after WAL is durable in zone-resilient WAL storage – even with one node | Durable on the server’s storage; zero data loss on failover with zone-redundant HA |
| Backup retention | 1–35 days; no long-term retention | 7–35 days; long-term retention up to 10 years |
| Geo-redundant backup | Yes, in paired regions; can’t be combined with customer-managed keys | Yes |
| Cross-region replicas | Not available | Available |
| Networking | Public access with firewall rules and/or private endpoints (Private Link); no VNet injection | VNet integration, or public access and private endpoints |
| Connection pooling | No built-in PgBouncer (use your own pooler) | Built-in PgBouncer (not on Burstable) |
| Maintenance | System-managed; no custom window | System-managed or custom window |
| Major version upgrade | Not in place – the version is fixed at creation | In-place major version upgrade |
| AI features | Built-in vector search with DiskANN, AI Functions and AI Pipelines in SQL, AI model management (preview), Microsoft Foundry integration | pgvector, DiskANN and the azure_ai extension |
| Billing | vCore-hours per node + used storage + backup storage | vCore-hours per server + provisioned storage + backup storage |
Two things in this table surprise most people. First, HorizonDB has no small tier: the minimum is 2 vCores with 16 GB of memory, and HA means at least two nodes. Flexible Server’s Burstable tier is far cheaper for a small app or a dev box. Second, several things you might take for granted on Flexible Server – a custom maintenance window, PgBouncer, in-place major upgrades, VNet integration, long-term backup retention – are not available yet on HorizonDB.
Step 5 – Decide when to choose which
Start from the workload, not the product. These are the questions I ask:
| If your workload… | Lean towards | Why |
|---|---|---|
| Is mission-critical and must not lose a committed transaction in a zone outage | HorizonDB | Commits are durable across zones before they are acknowledged; failover doesn’t rebuild anything |
| Is read-heavy and needs many replicas that stay current | HorizonDB | Up to 15 readers on the same storage, no data copy per replica |
| Has a large or fast-growing database and you are tired of resizing disks | HorizonDB | Storage grows automatically; no size or IOPS to manage |
| Is an AI application that keeps embeddings, vector search and model calls next to the data | HorizonDB | Built-in DiskANN vector search, AI Functions and Pipelines (check preview status per feature) |
| Is small, dev/test or bursty | Flexible Server | Burstable tier and stop/start make it much cheaper |
| Needs cross-region read replicas or long-term backup retention for compliance | Flexible Server | Not available on HorizonDB today |
| Must run inside your VNet (VNet injection) or needs built-in PgBouncer | Flexible Server | HorizonDB supports Private Link only and has no built-in pooler |
| Needs control over maintenance timing or in-place major upgrades | Flexible Server | HorizonDB maintenance is system-managed and versions are fixed at creation |
| Depends on a specific PostgreSQL extension or version | Check both | Compare the supported extensions and versions lists before you decide |
If you are already happy on Flexible Server, there is no rush. Move when you hit one of the HorizonDB strengths above – replicas, storage growth, zone durability or AI-in-the-database – and when the limitations below don’t block you. Article 10 of this series covers migration planning.
Limitations and decisions you can’t undo
The overview page lists these as not available today:
- Cross-region reader nodes
- Read pools (only one compute pool per cluster)
- Customer-managed keys together with geo-redundant backup – pick one
- Custom maintenance windows and deferral, and maintenance notifications
- In-place major version upgrade
- Built-in connection pooling (PgBouncer)
- Long-term backup retention
- Index tuning
- Virtual network injection
And these are fixed when you create the cluster – plan them before you click Create:
| Setting | Why it matters |
|---|---|
| PostgreSQL major version | No in-place major upgrade; changing it later means a migration |
| Connectivity method (public, private endpoint or both) | Can’t be changed after creation |
| Data encryption type (service-managed or customer-managed key) | Can’t be changed later, and CMK rules out geo-redundant backup |
| Geo-redundant backup | Only at creation, and only in regions with a pair |
One more thing to be aware of: the docs disagree on scaling. The Well-Architected guide says changing vCores “doesn’t noticeably interrupt applications”, while the business continuity page says scaling restarts the cluster with downtime – which is also what I saw during the preview. Until we test it on the demo cluster in Article 8, plan scaling for a quiet period.
Security and governance at a glance
- Authentication: Microsoft Entra ID, PostgreSQL passwords, or both. Microsoft recommends Entra-only with managed identities; if you keep passwords, use SCRAM-SHA-256.
- Network: public access is closed by default (no firewall rules allow anything until you add them), and private endpoints give you Private Link access. Always connect with the cluster’s FQDN, never an IP address.
- Encryption: data, WAL and backups are always encrypted at rest with service-managed keys; customer-managed keys are an option at creation. Enforce TLS – the guidance is TLS 1.3 as the minimum.
- Read-only access: enforce it with database roles, not with the read-only endpoint.
Articles 5 and 6 go into networking and security in detail.
Pricing model
HorizonDB charges for three things:
| Meter | How it is measured | What drives it |
|---|---|---|
| Compute | Provisioned vCore-hours, for every node (writer and each reader) | vCores × number of nodes × hours running |
| Storage | Used database storage, GB per month | How much data you actually store |
| Backup storage | Used backup storage for the retention period | Free up to the size of the database; beyond that, billed |
The important consequence: HA doubles compute, because the reader node is billed like the writer. A savings plan for compute (one or three years) is available. When I checked the public pricing page on 4 December 2026 it didn’t show figures, so use the Azure pricing calculator for your region. Article 8 walks through a full estimate.
My recommendation
Treat HorizonDB as the PostgreSQL option for workloads that have outgrown a single server: many readers, fast-growing data, zero tolerance for losing committed transactions, or AI features that belong next to the data. For those, the shared-storage design removes real operational work. For everything else – small apps, dev/test, workloads that need VNet injection, PgBouncer, cross-region replicas or long-term backups – Flexible Server is still the better and cheaper choice today. Before you pick HorizonDB, go through the “can’t undo” table above, because the version, connectivity and encryption choices stay with the cluster for its whole life.
Summary
In this article, we learnt what Azure HorizonDB is, how its separate compute and shared storage work, what a cluster is made of, how high availability works on shared storage, how it compares with Azure Database for PostgreSQL Flexible Server, and when to choose each.
| Topic | What to Remember |
|---|---|
| Status | Preview June 2026, generally available 17 November 2026; AI model management still in preview |
| Regions | 15 regions across the Americas, Europe and Asia Pacific (December 2026) |
| Architecture | Stateless compute, zone-resilient WAL storage, shared data storage, Blob storage |
| Commit | Acknowledged once WAL is durable in WAL storage; compute never writes data pages |
| Cluster | One default pool: 1 writer + up to 15 readers; read-write and read-only endpoints |
| Compute | 2–192 vCores, 8 GB memory and 32 GB SSD cache per vCore; no Burstable tier |
| Storage | Grows automatically; no size or IOPS to provision |
| High availability | Needs at least one reader; ZoneRedundant spreads nodes over zones; no committed data lost on failover |
| Backup | 1–35 days, snapshots + WAL archive; restore creates a new cluster; no LTR |
| Not available yet | Cross-region readers, read pools, CMK + geo-backup, custom maintenance, major upgrades, PgBouncer, LTR, VNet injection |
| Fixed at creation | PostgreSQL major version, connectivity method, encryption type, geo-redundant backup |
| Choose HorizonDB for | Mission-critical, read-heavy, fast-growing or AI-heavy PostgreSQL workloads |
| Choose Flexible Server for | Small or dev/test workloads, VNet injection, PgBouncer, cross-region replicas, LTR |
| Pricing | vCore-hours per node + used storage + backup; HA doubles compute |
Do you like this article? If you want to get more updates about these kind of articles, you can join my Learning Groups
Discover more from Praveen Kumar Sreeram's Blog
Subscribe to get the latest posts sent to your email.
4 comments