# Azure HorizonDB

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

Cloud service · Azure. Updated 2026-11-25. Page: https://blowstack.com/tools/cloud-services-hub/azure-horizondb

> 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.

## 10 key features of Azure HorizonDB

1. **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.
2. **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.
3. **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.
4. **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.
5. **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.
6. **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.
7. **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.
8. **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.
9. **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. **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. **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. **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. **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. **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. **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](https://blowstack.com/tools/cloud-services-hub/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](https://blowstack.com/tools/cloud-services-hub/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](https://blowstack.com/tools/cloud-services-hub/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](https://blowstack.com/tools/cloud-services-hub/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](https://blowstack.com/tools/cloud-services-hub/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](https://blowstack.com/tools/cloud-services-hub/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](https://blowstack.com/tools/cloud-services-hub/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](https://blowstack.com/tools/cloud-services-hub/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](https://blowstack.com/tools/cloud-services-hub/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](https://blowstack.com/tools/cloud-services-hub/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.
- **[Azure DNS](https://blowstack.com/tools/cloud-services-hub/azure-dns)**: Azure HorizonDB private endpoints can use Azure Private DNS zones linked to client virtual networks. This lets clients resolve the database hostname to the private endpoint IP address.
- **[Azure Managed Grafana](https://blowstack.com/tools/cloud-services-hub/azure-managed-grafana)**: Azure HorizonDB can supply dashboard data through Grafana's built-in PostgreSQL data source. For example, a dashboard can query a reporting view using a read-only database account.
- **[Azure OpenAI in Foundry Models](https://blowstack.com/tools/cloud-services-hub/azure-openai-in-foundry-models)**: Azure HorizonDB can call Azure OpenAI models from SQL through the `azure_ai` extension. For example, it can generate text embeddings, store them in a `pgvector` column, and use them for similarity search.
- **[Azure Policy](https://blowstack.com/tools/cloud-services-hub/azure-policy)**: Azure HorizonDB cluster resources can be governed by Azure Policy at the subscription or resource-group scope. For example, a policy can restrict cluster deployments to approved Azure regions.
- **[Azure portal](https://blowstack.com/tools/cloud-services-hub/azure-portal)**: Azure HorizonDB clusters can be created and managed in the Azure portal. The cluster page exposes its connection endpoints and settings for tasks such as scaling compute, configuring access, and managing backup retention.
- **[Azure Resource Manager](https://blowstack.com/tools/cloud-services-hub/azure-resource-manager)**: Azure HorizonDB clusters are Azure Resource Manager resources. You can deploy and configure them through ARM APIs or templates, including settings such as compute capacity and backup retention.
- **[Azure role-based access control (Azure RBAC)](https://blowstack.com/tools/cloud-services-hub/azure-role-based-access-control-(azure-rbac))**: Azure HorizonDB uses Azure RBAC to control who can manage cluster resources through Azure. Those permissions are separate from PostgreSQL roles that control access to database objects.
- **[Azure Synapse Analytics](https://blowstack.com/tools/cloud-services-hub/azure-synapse-analytics)**: Azure HorizonDB can exchange data with Azure Synapse pipelines through their PostgreSQL connector. A Copy activity can read operational tables from HorizonDB and stage the data for analytics.
- **[Azure Virtual Network](https://blowstack.com/tools/cloud-services-hub/azure-virtual-network)**: Azure HorizonDB can be reached privately through a private endpoint in an Azure virtual network. Applications with network access to that endpoint can connect without exposing the cluster to the public internet.
- **[Foundry Agent Service](https://blowstack.com/tools/cloud-services-hub/foundry-agent-service)**: Azure HorizonDB can provide retrieval data to agents in Foundry Agent Service through a connector or an MCP server. For example, an agent can retrieve relevant passages from a vector index in HorizonDB before composing an answer.
- **[Foundry Models](https://blowstack.com/tools/cloud-services-hub/foundry-models)**: Azure HorizonDB can register compatible Foundry Models deployments in its model registry and invoke them by alias from SQL. These models can generate embeddings or responses, or rerank search results.
- **[Logic Apps](https://blowstack.com/tools/cloud-services-hub/logic-apps)**: Azure HorizonDB can supply data to Azure Logic Apps workflows through the PostgreSQL connector. For example, a workflow can look up a row in HorizonDB and use the result in an approval step.
- **[Microsoft Entra ID (formerly Azure AD)](https://blowstack.com/tools/cloud-services-hub/microsoft-entra-id-(formerly-azure-ad))**: Azure HorizonDB accepts Microsoft Entra ID access tokens for PostgreSQL authentication when Entra authentication is enabled. Users and applications can sign in with their Entra identities instead of maintaining separate database passwords.

## Alternatives to Azure HorizonDB in other clouds

### AWS

**[Amazon Aurora](https://blowstack.com/tools/cloud-services-hub/amazon-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.

| | Azure HorizonDB | Amazon Aurora |
| --- | --- | --- |
| Database compatibility | PostgreSQL | MySQL and PostgreSQL |
| Compute sizing | Resizable compute nodes | Provisioned or autoscaling serverless |

Compared Nov 2026.

**[Amazon RDS](https://blowstack.com/tools/cloud-services-hub/amazon-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.

| | Azure HorizonDB | Amazon RDS |
| --- | --- | --- |
| Database engines | PostgreSQL only | PostgreSQL and other engines |
| Storage scaling | Automatic growth as data grows | Resize via console or API |

Compared Nov 2026.

## What is Azure HorizonDB

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.
