BRK361 · Breakout

Azure HorizonDB: Deep dive into architecture and internals

  • Tuesday 17 November
  • 43 min
  • Catalogue level: (200) Intermediate
  • Our depth rating: 300
  • Worth watching: 1/3

Speakers: Sandeep Lingam, Rajesh Setlem, Dave Byrne

Watch on Microsoft’s site from 01:57

Microsoft’s player cannot open a video at a given time: once it plays, skip to the time shown.

What the session covers

The session announces general availability of Azure HorizonDB, a cloud-native PostgreSQL service with up to 3,072 vCores, 128 TB storage and sub-millisecond cross-zone commits, and explains its disaggregated architecture: Blob Storage, a Rust WAL service and sharded page servers beneath stateless compute pools. Recorded demos cover cluster provisioning in the Azure portal with AI model management via Microsoft Foundry, parameter groups, query performance insights and the VS Code extension. LSEG describes plans to use HorizonDB for low-latency API and MCP data distribution. A TPC-C benchmark shows 900K vs 120K transactions per minute against self-hosted Postgres. The second half covers write-path internals (io_uring WAL, delta WAL), multi-tier caching, Hyperlight sandboxing, quorum-based HA without pg_rewind and automatic shard management.

Best for: Database architects and platform engineers evaluating a scalable managed PostgreSQL backend for enterprise or agent workloads; it has little direct Copilot relevance.

Session timeline by chapter

New material starts at 01:57. After the speaker introductions and agenda, the GA announcement and architecture comparison begin at 01:57.

Where to skip: Start at 01:57; the architecture at 04:56–13:10 and the internals from 28:58 to 42:03 are the technical core; the AI model management demo at 15:27 is the only agent/AI-relevant part; the LSEG story at 20:34–26:09 can be skipped.

Chapters (13)

  1. 00:03 Recap Depth 100 · Novelty 0/3

    Welcome, speaker introductions and session agenda

    Rajesh (group product manager, Azure HorizonDB) opens the session, introduces Sandeep (partner engineering director) and Dave Byrne from London Stock Exchange Group, which has worked with the team since the private preview almost a year ago. He references the keynote claim that HorizonDB is 8x faster and outlines the agenda: product overview, GA feature tour, the LSEG story, and an architecture and performance deep dive.

  2. 01:57 New Depth 200 · Novelty 3/3

    Azure HorizonDB reaches GA: headline numbers and evolution of Postgres architecture

    Rajesh announces that Azure HorizonDB has reached general availability at Ignite, positioning it as a cloud-native Postgres built for enterprises, developers and AI agents. Headline figures are up to 3,072 vCores, 128 TB storage, 8x the performance of self-hosted Postgres and sub-millisecond commit latency across availability zones. He contrasts on-premises Postgres (coupled compute and storage), Azure Database for PostgreSQL flexible server (managed disks, data copy needed for new compute) and HorizonDB, where multiple compute nodes share one write-ahead log and one storage layer, so compute and storage scale independently without copying data.

  3. 04:56 Deep dive Depth 300 · Novelty 2/3

    Storage stack (Blob, Rust WAL storage, page servers) and compute pools

    The storage stack is zone-redundant by default: Azure Blob Storage for durability, a WAL storage service rewritten in Rust and optimised for log writes, and a sharded fleet of page servers caching relation files on local NVMe. Compute remains standard Postgres (same wire protocol, about 70 extensions) on stateless nodes grouped into compute pools: one writer and up to 15 readers per cluster, HA within the read-write pool across zones, a read-write endpoint that always follows the writer and round-robin read-only endpoints per pool. Per-node limits of 192 vCores, 8 GB RAM per core, local NVMe cache, failover within about five seconds and an SLA described as four nines and a five are quoted.

  4. 09:59 Deep dive Depth 300 · Novelty 2/3

    Log-as-database write path and cluster/pool/node resource hierarchy

    A transaction commits as soon as its log records are written to WAL storage; page servers apply the records to catch pages up, and reader nodes caching affected pages also receive WAL records, with no configuration required. Page reads from the shared data storage are served in roughly a millisecond. The resource hierarchy is: cluster (storage starting at 8 MB, read-write endpoint, authentication, networking, backup policy, Postgres version 17 or 18 with 19 coming), pools (homogeneous nodes, vCores, node count, HA, parameter group, firewall) and service-managed nodes exposing role and availability zone.

  5. 13:10 Demo Depth 200 · Novelty 2/3

    Demo: provisioning a HorizonDB cluster in the Azure portal with AI model management

    A recorded demo creates a HorizonDB cluster in the Azure portal: name, Postgres version, read-write pool with node count and zone-redundant HA, Intel or AMD Azure v6 hardware, backup retention, optional geo-restore, password and Microsoft Entra authentication, private endpoints and encryption at rest with customer-managed keys. After provisioning, read-write and read-only endpoints are shown. The AI model management option wires the cluster to predefined chat, embedding and other default models from Microsoft Foundry (pay per use) and installs extensions exposing AI functions callable from SQL queries.

  6. 16:22 Demo Depth 200 · Novelty 2/3

    Demo: pool settings, custom parameter groups, query performance insights and VS Code

    The demo shows the default pool's HA settings with a failover option for resiliency testing, networking and private endpoint state, and custom parameter groups as first-class ARM resources, used to enable extensions such as vector, azure_ai and pg_diskann and a WAL tracking setting before assigning the group to the pool. Query performance insights, brought up around GA, requires some parameters and Log Analytics and offers drill-down from pool to node to role with workload trends, execution times, IO statistics and wait events. The PostgreSQL extension for Visual Studio Code (about half a million downloads) creates and connects to HorizonDB and shows cluster metadata, topology and metrics.

  7. 20:34 Customer story Depth 200 · Novelty 1/3

    Customer story: London Stock Exchange Group's data platform and HorizonDB for APIs/MCP

    Dave Byrne explains that LSEG earns substantial revenue from data products and has a 10-year strategic partnership with Microsoft including co-engineering on Microsoft Fabric and HorizonDB. The platform holds many petabytes, receives billions of row updates per hour and curates hundreds of thousands of sources into data products distributed via UIs, feeds and other platforms. HorizonDB is intended for low-latency API and MCP-based distribution instead of serving from the Delta Parquet lakehouse, chosen for standard PostgreSQL, elastic compute, scalable storage and internally managed sharding; LSEG saw substantially better performance than its current Postgres solution and plans production use next year.

  8. 26:09 Demo Depth 300 · Novelty 2/3

    Agent database requirements and TPC-C benchmark demo: 8x vs self-hosted Postgres

    Sandeep frames agent requirements for a database—performance, security and isolation, scalability and high availability—as the same as for demanding enterprise workloads. A benchmark demo compares self-hosted Postgres and HorizonDB on the same 64-vCore Intel v6 compute in HA configuration running TPC-C over 9 TB (about 95,000 warehouses, 47 billion rows). Self-hosted Postgres caps at about 120K transactions per minute while HorizonDB reaches 900K.

  9. 28:58 Deep dive Depth 400 · Novelty 2/3

    Write-path internals: storage offload, single-round-trip commits, io_uring WAL, delta WAL

    HorizonDB moves storage duties such as checkpointing and flushing dirty pages from the Postgres compute node to specialised storage services, which Sandeep says unlocks an order of magnitude of performance. Unlike self-hosted HA Postgres with about four network hops per commit, the zone-resilient WAL service receives writes in all zones simultaneously and commits in one round trip under a millisecond. WAL nodes use append-only writes directly to NVMe via a custom async runtime on io_uring with zero memory allocations, keep in-memory tail caches for readers, and age WAL into geo-redundant storage; full-page writes are replaced by delta WAL updates, reducing write amplification.

  10. 33:46 Deep dive Depth 400 · Novelty 2/3

    Multi-tier caching, filtering service, Rust and Hyperlight sandboxing, read path

    The cache hierarchy adds an on-disk extended cache next to Postgres shared buffers on compute and memory plus NVMe caches on page servers, so data sets larger than local cache are still served with low latency. Writes go from the writer to WAL storage, then to read replicas and to a filtering service that routes WAL records to the page servers owning the pages. All storage services and their clients are written in Rust, and WAL replay on page servers runs inside a Hyperlight secure container to prevent cross-tenant impact. On a cache miss, compute requests a page at a given LSN and the page server replays WAL if needed before returning it; read replicas follow the same path.

  11. 37:40 Deep dive Depth 300 · Novelty 2/3

    High availability: quorum WAL writes, fast failover/failback without pg_rewind

    WAL storage uses majority-quorum writes, so writes continue when a zone is lost. HorizonDB uses its own orchestrator for fast failover, similar to Patroni-based setups, but because the WAL is shared, a returning old primary simply rejoins and reads the log instead of running pg_rewind, enabling repeated failover and failback without extended outage. Page servers are also spread across zones; on a zone loss traffic moves transparently to other zones, and recovered zones rehydrate caches from Azure Storage.

  12. 40:01 Deep dive Depth 300 · Novelty 2/3

    Scalability: automatic shard addition, hot-shard moves and shard splitting

    Data pages are grouped into shards spread across the page server fleet to avoid hotspots, and new shards are added automatically and transparently as data grows, with a current limit of 128 TB. Under bursty load the system detects a busy page server and moves a hot shard to a server with spare capacity. If a single shard is too hot, it is split into smaller fragments scattered across the fleet.

  13. 42:03 Closing Depth 100 · Novelty 0/3

    Closing: agent and enterprise workloads share the same database requirements

    Sandeep returns to the opening question and concludes that agentic and enterprise workloads need the same four properties: performance, availability, security and scalability. These are described as the foundation of HorizonDB, and the session ends.

Announcements (6)

  • 01:57 GA Azure HorizonDB

    Azure HorizonDB general availability

    Microsoft's cloud-native PostgreSQL service with disaggregated compute and storage reaches general availability.

    Speaker’s quote (at 01:57)
    „As Satya announced in today's keynote, we are excited and thrilled to have reached the GA milestone of Azure Horizon DB at Ignite.“
  • 06:50 roadmap Azure HorizonDB

    Expanded PostgreSQL extension support

    HorizonDB currently supports about 70 extensions and more are planned.

    Speaker’s quote (at 06:50)
    „We are right now going with close to 70 extensions, but it's right around the corner. We'll start expanding more extensions.“
  • 11:24 roadmap Azure HorizonDB

    PostgreSQL 19 support

    HorizonDB clusters will support PostgreSQL version 19 in addition to 17 and 18.

    Speaker’s quote (at 11:24)
    „you select your Postgres version, 17, 18, and pretty soon 19.“
  • 11:53 roadmap Azure HorizonDB

    Additional compute pools per cluster

    Support for adding more pools beyond the read-write pool within a cluster is coming.

    Speaker’s quote (at 11:53)
    „And then the support for more additional pools are coming right around the corner.“
  • 15:27 not stated Azure HorizonDB

    AI model management for HorizonDB

    Wires a cluster to predefined Microsoft Foundry models and installs extensions exposing AI functions usable inside PostgreSQL queries.

    pay for what you use

    Speaker’s quote (at 15:27)
    „once you create the cluster, you get an option to enable AA model manager and AA model management feature. This is one of the key differentiator for Horizon DB.“
  • 18:07 not stated Azure HorizonDB

    Query performance insights for HorizonDB

    Provides query-level observability with drill-down by pool, node and role, including execution times, IO statistics and wait events.

    Speaker’s quote (at 18:07)
    „I also want to show you about query performance insights. This is a feature that we have been working very closely in order to bring it up around GA time.“

Demos (3)

  • 13:10 You can try it yourself Azure HorizonDB

    A database administrator provisions a secure, zone-redundant HorizonDB cluster in the Azure portal and enables AI model integration.

    Steps (9)
    1. In the Azure portal, start creating an Azure HorizonDB cluster, enter a name and select Postgres version 17 or 18.
    2. Create the read-write pool, set the number of nodes (2 in the demo) and set high availability to zone redundant.
    3. Choose the processor (Intel or AMD) and hardware generation; memory is 8 GB per vCore.
    4. Set backup retention and optionally enable geo-restore.
    5. On authentication, choose password and/or Microsoft Entra authentication and select the Entra admin.
    6. On networking, decide whether to allow connections from Azure and enable private endpoints for a subnet in a VNet.
    7. On security, enable encryption at rest with a customer-managed key by selecting a cluster identity and a key.
    8. Review the settings and create the cluster; after provisioning, check the read-write and read-only endpoints.
    9. Enable AI model management to connect default models from Microsoft Foundry and install the AI function extensions.

    Prerequisites: Azure subscription; for customer-managed keys a cluster identity and an encryption key; for private endpoints a VNet subnet.

  • 16:22 Not stated Azure HorizonDB

    An administrator or developer customises pool configuration, monitors query performance and manages the cluster from Visual Studio Code.

    Steps (7)
    1. Open the default pool and review high availability settings; optionally trigger a failover to simulate resiliency.
    2. On the networking page, review the endpoints, public access and private endpoint connection state.
    3. On the parameters page, note the default parameter group (PG17) and create a custom parameter group.
    4. In the custom group, select extensions (vector, azure_ai, pg_diskann) and turn on the WAL tracking setting.
    5. Back on the cluster, assign the custom parameter group to the default pool so all its nodes receive the settings.
    6. Enable the required parameters and Log Analytics, then open query performance insights and drill down from pool to node to role, reviewing workload trends, execution times, IO statistics and wait events.
    7. In Visual Studio Code, use the PostgreSQL extension to create or connect to a HorizonDB cluster and open the dashboard with metadata, topology and metrics.

    Prerequisites: An existing HorizonDB cluster; Log Analytics enabled for query performance insights; the PostgreSQL extension installed in Visual Studio Code.

  • 27:37 Not stated Azure HorizonDB

    Side-by-side TPC-C comparison of self-hosted Postgres and HorizonDB on identical compute to show throughput difference.

    Steps (4)
    1. Provision self-hosted Postgres and HorizonDB on the same 64-vCore Intel v6 SKU, both in high availability configuration.
    2. Load the TPC-C dataset (about 9 TB, 95,000 warehouses, 47 billion rows) into both.
    3. Run a sanity check that tables, schema and row counts match on both sides.
    4. Start the benchmark client and compare transactions per minute on both graphs.

    Prerequisites: Identical 64-vCore compute for both systems in HA configuration and a 9 TB TPC-C dataset.

Watch on Microsoft’s site: BRK361