# Azure HorizonDB Reaches General Availability with Vector Search and AI Functions Inside PostgreSQ

> Source: <https://www.infoq.com/news/2026/12/azure-horizondb-postgresql-ga/?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global>
> Published: 2026-12-04 08:13:00+00:00

**Key takeaway:** HorizonDB exposes vector search, BM25 keyword ranking and model calls as SQL inside PostgreSQL — a DiskANN index is created with CREATE INDEX ... USING diskann (embedding vector_cosine_ops) and hybrid retrieval runs via ai.search(..., search_type => 'hybrid') against a configured Microsoft Foundry e

Microsoft recently made [Azure HorizonDB generally available](https://techcommunity.microsoft.com/blog/adforpostgresql/horizondb-postgresql-for-enterprises-developers-and-agents-on-azure-and-fabric/4573498), providing teams a managed PostgreSQL-compatible database that separates compute from storage and runs vector search, hybrid retrieval, and model calls inside the engine.

When the company [announced an early preview](https://www.infoq.com/news/2025/12/azure-horizondb-postgresql) at Ignite 2025, the service targeted up to 3,072 vCores and 128 TB of shared storage, positioning Azure against [Amazon Aurora](https://aws.amazon.com/rds/aurora/) and [Google AlloyDB](https://cloud.google.com/alloydb) in scale-out PostgreSQL. The generally available release runs in 13 regions across the Americas, Europe, and Asia Pacific, supports databases up to 128 TB, and integrates with Microsoft Entra ID, private endpoints, and customer-managed keys. Microsoft claims up to 8x faster OLTP performance than self-managed PostgreSQL on a HammerDB TPROC-C benchmark, sub-millisecond commit latency, and failover in under five seconds.

The [Microsoft Learn overview](https://learn.microsoft.com/en-us/azure/horizondb/overview) describes a database-as-a-log design in which compute writes only the write-ahead log to storage, and storage nodes rebuild data pages from that log, removing checkpoint I/O from the write path. Each cluster has one writer and up to 15 readers that share a single copy of the data, with 8 GB of memory and 32 GB of local NVMe cache per vCore. A read-write endpoint always follows the current writer after failover, while a read-only endpoint balances across readers that may lag slightly behind recent commits.

In a LinkedIn [comment](https://lnkd.in/p/ef47RUmU), Oracle and PostgreSQL DBA Dost Muhammad Khalil highlighted what the shared storage means for replicas:

Compute and storage layer separation is really awesome, not to worry about network bandwidth for replication on compute level, not to worry about replica lag. on the top of it if database is 10TB and has 15 reader nodes it will be considered as 10TB not 150TB.

The AI capabilities are exposed as SQL rather than as a separate service. According to a product post by Jonathon Frost, principal group product manager for PostgreSQL at Microsoft, HorizonDB combines [pgvector](https://github.com/pgvector/pgvector) with [DiskANN indexing](https://learn.microsoft.com/en-us/azure/horizondb/ai/vector-index-diskann), BM25 keyword ranking through [pg_textsearch](https://learn.microsoft.com/azure/horizondb/ai/full-text-search) and [Apache AGE](https://age.apache.org/) graph queries, alongside functions such as ai.embed(), ai.generate() and ai.rank() that call a configured Microsoft Foundry endpoint, while AI Pipelines run checkpointed, retryable work on the pg_durable extension. Not all of it is generally available: AI Model Management and knowledge graphs are in public preview, and a Database Agent for PostgreSQL that gives advisory recommendations is in limited preview. Creating a DiskANN index and running a hybrid query that fuses vector and keyword results looks like this:

```
CREATE INDEX documents_embedding_diskann_idx

ON documents USING diskann (embedding vector_cosine_ops);

SELECT * FROM ai.search(
    'V-17 shipment delay',
    'documents',
    search_type => 'hybrid'
);
```

Alongside the GA release, Microsoft launched [Fabric HorizonDB in public preview](https://learn.microsoft.com/en-us/fabric/database/horizondb/overview) as a serverless variant inside Microsoft Fabric. Databases provision in seconds, compute pauses after five minutes of inactivity, and tables mirror into [OneLake](https://learn.microsoft.com/en-us/fabric/onelake/onelake-overview) in Delta format by default. Transact-SQL queries run PostgreSQL statements on Fabric Data Warehouse, and synced tables bring warehouse data back into HorizonDB as a form of reverse ETL.

For migrations, [Azure Database Migration Service](https://learn.microsoft.com/en-us/azure/dms/) moves PostgreSQL databases from AWS, Google Cloud, on-premises servers, and Azure VMs, and a preview path moves existing Azure Database for PostgreSQL servers onto HorizonDB. Oracle estates get schema conversion based on Foundry models and AI-assisted application conversion, with offline data migration in preview and online migration still to come.

The Learn documentation also lists what the GA release does not yet include. There are no cross-region readers, so disaster recovery relies on geo-redundant backup and restore to the paired region. A cluster can use customer-managed keys or geo-redundant backup but not both; the PostgreSQL major version is fixed at creation with no in-place upgrade, and teams need an external connection pooler because PgBouncer is not built in. Backup retention tops out at 35 days, maintenance windows are system-managed only, and the service supports Private Link but not VNet injection.

The launch also drew the question of where HorizonDB leaves Azure's other PostgreSQL services. On X, Johannes Vink asked whether this was "yet another offering of PostgreSQL on Azure" and said he was "getting lost in the options." Shireesh Thota, corporate vice president for Azure Databases, [replied](https://x.com/ShireeshThota/status/2122772150004465780) in the thread under his own announcement:

Fair. Here on, we will invest in our Flex SKU for managed instance capabilities - flexible with lift and shift, and HorizonDB for cloud native - elasticity, HA, AI extensions, advanced capabilities (ex: faster graph) etc. The rest will all be converged.

Asked whether the launch changed anything for Azure SQL, Thota answered that SQL Hyperscale remains the cloud-native option there. A question about logical replication out of HorizonDB, "a distributed Postgres that can still feed Debezium or move back to Flexible Server," had no reply at the time of writing.

In a LinkedIn [briefing](https://www.linkedin.com/pulse/azure-horizondb-what-enterprises-need-know-microsofts-zaheer-syed-0afwf/) for enterprises, cloud and AI delivery lead Zaheer Syed argued that HorizonDB fits when PostgreSQL is the right dialect and the workload is constrained by read scale, write throughput, or the cost of running a separate vector store. He also warned architects about the service's regional scope:

HorizonDB is a regional service. If your reference architecture assumes active-active across regions, this is not that product. Design for zone redundancy within a region and geo-restore for regional failure, and be explicit about your recovery point objective.

HorizonDB [bills](https://azure.microsoft.com/en-us/pricing/details/horizondb/) for provisioned compute in core hours, used database storage, and backup storage for the retention period, with Foundry model usage charged separately. The service documentation, including the region list and limitations, is available on Microsoft Learn.
