Cloud service · Azure · Updated

Azure HorizonDB - Azure HorizonDB is a fully managed PostgreSQL database service with independently scalable compute and storage, read scale-out, and integrated AI capabilities.

In short

Azure HorizonDB runs transactional PostgreSQL workloads using shared, zone-resilient storage and a database-as-a-log architecture. It provides managed backups, optional high availability, private connectivity, and integrations for monitoring, analytics, and AI applications.

Cloud Services Hub →

10 key features of Azure HorizonDB

01
PostgreSQL application compatibility

Connect with standard PostgreSQL clients, drivers, ORMs, and SQL. Validate extension availability and managed-service restrictions during migration rather than assuming operating-system access or unrestricted PostgreSQL administration.

02
Independent compute and storage scaling

Resize compute independently of automatically growing shared storage. The database-as-a-log design moves durability and page reconstruction work into the storage layer; compute resizing can still interrupt connections.

03
Reader-based scale-out

Add up to 15 reader nodes and route suitable queries through the read-only endpoint. Keep read-after-write operations on the writer because readers may not reflect the latest committed transaction.

04
Node and availability zone protection

Configure at least two nodes for high availability and select zone-redundant placement to protect against a zone outage. The service promotes a reader after writer failure, but clients must reconnect and handle interrupted transactions.

05
Managed backup and regional recovery

Retain automatic backups for 1 to 35 days and restore an eligible point in time into a new cluster in the same region. Optional geo-redundant backups support paired-region recovery, with potential data loss of up to one hour and no paired-region point-in-time restore.

06
Private connectivity and encrypted storage

Use private endpoints with private DNS and optionally disable public access. Data, logs, WAL, and backups are encrypted at rest; customer-managed keys are in preview and cannot be combined with geo-redundant backup.

07
Operational monitoring and auditing

Create Azure Monitor metric alerts and send selected pgAudit activity to Log Analytics through diagnostic settings. Use Azure Advisor recommendations to review reliability, performance, security, and operational efficiency.

08
System-managed maintenance

Azure applies planned service updates and PostgreSQL minor-version updates through a system-managed maintenance window. Custom scheduling, deferral, and maintenance notifications are unavailable, so applications must tolerate restarts.

09
Vector search and AI model integration

Use vector embeddings and Microsoft Foundry integration for semantic retrieval and AI-backed database operations. AI model management is in limited preview and can provision managed embedding, reranking, and generation models or register existing Foundry model deployments.

10
Apache AGE graph processing

Use Apache AGE for knowledge-graph queries and ingestion alongside PostgreSQL data. Query-planning, graph-join, and MERGE ingestion improvements benefit eligible workloads; benchmark representative graphs rather than assuming uniform speedups.

Where Azure HorizonDB is used

  1. 01
    Transactional application backends

    Run order processing, business applications, or SaaS backends using PostgreSQL transactions. Direct writes and consistency-sensitive reads to the writer, and implement bounded retries for transient failures.

  2. 02
    Read-heavy applications and dashboards

    Move reporting queries and other lag-tolerant reads to reader nodes to reduce contention with transactional traffic. Use separate application connection pools for writer and reader endpoints.

  3. 03
    Semantic search and retrieval-augmented generation

    Store application records with vector embeddings and retrieve relevant context for model prompts. Where preview features are acceptable, use AI model management for embedding generation, reranking, and generation through Foundry.

  4. 04
    Knowledge-graph applications

    Use Apache AGE to represent and query relationships such as people, products, or linked business entities. Test graph traversal and ingestion patterns against production-scale data before selecting indexes and capacity.

  5. 05
    Transactional data with downstream analytics

    Mirror transactional data into Microsoft Fabric OneLake for analytics alongside other enterprise datasets. Keep transactional access in HorizonDB while serving analytical consumers through Fabric.

  6. 06
    Applications requiring regional recovery

    Combine zone-redundant high availability with geo-redundant backups when both local availability and regional disaster recovery are required. Build a recovery runbook around restoring a new cluster and redirecting applications rather than assuming automatic cross-region failover.

How Azure HorizonDB is priced

Database deployment cost planning

Estimate deployment costs using the selected region, compute SKU, node count, data footprint, backup configuration, and applicable networking charges. Confirm current HorizonDB rates and billable meters before committing a budget; additional reader nodes and high-availability capacity must be included in the estimate.

Integrated AI model usage

AI model management usage is billed through the HorizonDB resource with no additional markup over Microsoft Foundry pricing. Estimate embedding, reranking, and generation usage separately from database capacity, using the applicable model pricing.

Services Azure HorizonDB works with

A common architecture places application compute in an Azure virtual network and reaches HorizonDB through Azure Private Link. Private DNS resolves cluster hostnames to private endpoints, while peering, VPN, or ExpressRoute extends access to other networks. Disable public access when the design requires private-only connectivity, and configure database permissions separately from network reachability.

Operational integrations center on Azure Monitor and Log Analytics. Metric alerts provide threshold-based notifications, while diagnostic settings deliver selected database audit activity for centralized investigation. Microsoft Entra authentication supports centralized identity management, but PostgreSQL roles remain responsible for object-level authorization. Preview customer-managed encryption uses Azure Key Vault and requires an early design decision because it cannot be combined with geo-redundant backup.

For data applications, Microsoft Foundry supplies models for embedding, reranking, and generation workflows. Limited-preview AI model management reduces model provisioning and configuration work. Microsoft Fabric mirroring provides a separate path for analytical consumption in OneLake, allowing applications to retain transactional access in HorizonDB while downstream teams combine mirrored data with other datasets. Neither analytics mirroring nor AI integration replaces backup validation, access review, or application recovery testing.

Azure Private Link

Connect to a cluster through a private endpoint using an address from your virtual network, and configure private DNS resolution for its hostnames. For example, an application in a peered virtual network can reach the database privately without allowing its public outbound IP address. On-premises clients can use the private path through VPN or ExpressRoute when routing and DNS are configured.

Azure Monitor

Use Azure Monitor metric alerts to notify operators when configured database thresholds are crossed. Send selected pgAudit events to a Log Analytics workspace through diagnostic settings. For example, investigate a role change by querying audit events in the same workspace used for application troubleshooting.

Microsoft Foundry

Use Foundry models for embeddings, reranking, and generation from database AI functions. Limited-preview AI model management provisions managed models, while the model registry also supports registering existing Foundry deployments. For example, generate document embeddings and rerank retrieved passages before constructing a response.

Microsoft Fabric

Mirror transactional data to Microsoft Fabric OneLake for downstream analytical processing. For example, combine mirrored order data with other business datasets in Fabric while continuing to serve order updates from HorizonDB. Treat mirroring as an analytics integration rather than a substitute for database backup or disaster recovery.

Azure Key Vault

Use Azure Key Vault to hold encryption keys when creating a cluster with preview customer-managed key encryption. For example, an organization with key-ownership requirements can manage the key lifecycle in its own vault. Select this mode at cluster creation and account for its incompatibility with geo-redundant backup.

Azure Blob Storage

Azure HorizonDB can import and export data in supported file formats directly from SQL through its `azure_storage` extension. For example, you can load a CSV file from a blob container into a PostgreSQL table without running a separate data pipeline.

Azure Data Lake Storage

Azure HorizonDB can import and export data in Azure Data Lake Storage Gen2 through the account's Blob endpoint. The `azure_storage` extension uses Blob operations rather than the Data Lake Storage DFS endpoint.

Azure Database for PostgreSQL

Azure HorizonDB can receive databases migrated from Azure Database for PostgreSQL through a supported Azure Database Migration Service workflow. HorizonDB is the destination PostgreSQL cluster in that workflow.

Azure Database Migration Service

Azure HorizonDB is a migration target for supported Azure Database for PostgreSQL and Oracle sources. For an Oracle migration, convert the schema to PostgreSQL first, then use Azure Database Migration Service to move the data.

Azure Databricks

Azure HorizonDB can expose its tables to Azure Databricks through Lakehouse Federation's PostgreSQL connector. Databricks can query those tables as a foreign catalog without first copying them into Delta tables.

Alternatives to Azure HorizonDB in other clouds

AWS

Amazon AuroraAmazon Aurora

Amazon Aurora and Azure HorizonDB are managed relational databases for PostgreSQL workloads, with automatically growing storage, read replicas, and point-in-time recovery. Aurora also supports MySQL and offers a choice of provisioned instances or serverless compute that adjusts to demand, while HorizonDB uses resizable compute nodes.

Compare fact by fact
Azure HorizonDBAmazon Aurora
Database compatibilityPostgreSQLMySQL and PostgreSQL
Compute sizingResizable compute nodesProvisioned or autoscaling serverless
Compared Nov 2026
Amazon RDSAmazon RDS

Amazon RDS and Azure HorizonDB both run managed relational databases with automated backups and read scaling. Amazon RDS supports multiple database engines and lets teams resize storage through the console or API, while Azure HorizonDB is PostgreSQL-only and grows storage automatically as data grows.

Compare fact by fact
Azure HorizonDBAmazon RDS
Database enginesPostgreSQL onlyPostgreSQL and other engines
Storage scalingAutomatic growth as data growsResize via console or API
Compared Nov 2026

What is Azure HorizonDB

2 min read

Azure HorizonDB is a managed PostgreSQL service for transactional applications, read-heavy workloads, and applications that combine relational data with vector search or AI operations. Applications connect through standard PostgreSQL clients, drivers, and connection strings. Engineers manage the cluster configuration, database schema, access permissions, and workload tuning; Azure manages the underlying nodes, storage infrastructure, and service maintenance.

The service separates compute from storage. Compute nodes process queries and cache frequently accessed data, while shared storage maintains durable database state. In its database-as-a-log architecture, compute sends write-ahead log records to durable storage rather than writing modified data pages directly. Storage scales automatically as data grows, independently of compute sizing.

Each cluster has one writer node and supports up to 15 reader nodes. Use the read-write endpoint for transactions and reads that must include the latest committed changes. The read-only endpoint distributes connections across readers, which can lag behind the writer. If the pool has no readers, its read-only endpoint connects to the writer and can accept writes; do not treat that endpoint as an authorization boundary. Enforce read-only access through PostgreSQL permissions.

High availability requires at least two compute nodes. Select zone-redundant high availability when the application must tolerate an availability zone outage; zone-resilient storage alone does not provide zone-redundant compute. Readers can become failover targets, and the read-write endpoint directs new connections to the promoted writer. Applications should implement reconnection and transaction retry handling.

Automatic backups combine periodic storage snapshots with continuous WAL archiving. Retention is configurable from 1 to 35 days and defaults to 7 days. Point-in-time restore creates a new cluster in the same region. Optional geo-redundant backup supports restoration to the paired region using the latest backup available there, not an arbitrary cross-region recovery point. Asynchronous replication means recovered data can be up to one hour behind the source.

Choose the PostgreSQL major version, encryption mode, and geo-redundant backup setting carefully when creating a cluster because these choices cannot subsequently be changed. Customer-managed encryption keys are a preview capability and cannot be combined with geo-redundant backup. Cross-region reader nodes, separate read pools, in-place major-version upgrades, and built-in PgBouncer connection pooling are not available.

For private access, configure Azure Private Link and private DNS, then disable public access when appropriate. Connections require encryption, and applications should use the endpoint hostname rather than a fixed IP address. PostgreSQL roles control access to databases and objects independently of network access controls.

Plan for operational interruptions during compute scaling and maintenance. Scaling can drain connections and cancel uncommitted transactions, while maintenance can restart the database. Maintenance windows are system-managed and cannot be customized, deferred, or rescheduled. Establish metric alerts, capture required audit activity, test restores, and validate application recovery behavior before relying on the cluster for production traffic.

Azure architecture icons are the property of Microsoft. BlowStack is not affiliated with or endorsed by Microsoft.

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.