PostgreSQL
Content type: News
6 min read
Azure HorizonDB reaches general availability with vector search and AI functions inside PostgreSQL
- Reading
- 6 min
- Code
- 1
Microsoft made Azure HorizonDB generally available on December 4, 2026, with AI functions as native SQL and separation between compute and storage, promising to take the external vector store out of the RAG equation.
Microsoft made Azure HorizonDB generally available on December 4, 2026, according to InfoQ. It is a managed, PostgreSQL-compatible database that separates compute from storage and embeds vector search, hybrid search, and calls to AI models inside the database engine itself. The preview had been announced at Ignite 2025, targeting up to 3,072 vCores and 128 TB of shared storage to compete with Amazon Aurora and Google AlloyDB.
For anyone already working with RAG (retrieval-augmented generation) stacks, the announcement matters less for the GA label and more for what it removes from the picture: today it's common to assemble a pipeline with Postgres for relational data, a separate service like Pinecone or Qdrant for embeddings, and a custom layer to call the embedding model and the LLM. HorizonDB proposes doing all three with SELECT.
How compute and storage separation works
Microsoft Learn documentation describes a "database as a log" design: the compute layer writes only the write-ahead log to storage, and storage nodes reconstruct data pages from that log, eliminating checkpoint I/O from the write path. Each cluster has a single write node and up to 15 read nodes, all sharing the same copy of the data, with 8 GB of memory and 32 GB of local NVMe cache per vCore.
This changes the storage math in high-read scenarios. A 10 TB database with 15 read replicas still counts as 10 TB, not 150 TB, because the replicas read from the same shared storage instead of keeping their own copies.
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.
Dost Muhammad Khalil, Oracle and PostgreSQL DBA
The read-write endpoint always follows the current writer node after a failover, which Microsoft promises to complete in under five seconds. The read-only endpoint, meanwhile, balances across reader nodes, which may lag slightly behind the most recent commits.
AI as a SQL function, not a separate service
The centerpiece of the announcement is exposing AI capabilities as plain SQL instead of a separate API. According to a post by Jonathon Frost, principal product manager for PostgreSQL at Microsoft, HorizonDB combines pgvector with DiskANN indexing, keyword ranking via pg_textsearch (BM25), and graph queries with Apache AGE, plus functions like ai.embed(), ai.generate(), and ai.rank() that call a configured Microsoft Foundry endpoint.
Creating a DiskANN index and running a hybrid query that combines vector results with keyword search 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'
);In practice, a RAG pipeline that today needs to orchestrate embeddings in one service, indexing in another, and answer generation in a third now fits into a single query and a single database connection. The "AI Pipelines," which run checkpointed work with automatic retry on top of the pg_durable extension, cover the orchestration piece that today usually lives in application code or in tools like LangChain.
Not everything reached GA at the same time: AI model management and knowledge graphs remain in public preview, and a "Database Agent" that gives advisory recommendations about the database is in limited preview.
Performance, regions, and what GA still doesn't cover
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 more OLTP performance than self-managed PostgreSQL, measured in a HammerDB TPROC-C benchmark, with commit latency under one millisecond.
The source doesn't specify whether any Brazilian region is among the 13 covered, so teams here need to check the up-to-date list in the documentation before planning access latency. More relevant for anyone designing architecture is the list of what's still missing from GA:
- No cross-region readers: disaster recovery relies on geo-redundant backup and restore in the paired region.
- Customer-managed key and geo-redundant backup are mutually exclusive within the same cluster.
- The PostgreSQL major version is fixed at creation, with no in-place upgrade.
- There's no built-in connection pooler (no native PgBouncer).
- Backup retention limited to 35 days, system-managed-only maintenance windows, and support for Private Link but not VNet injection.
A warning from Zaheer Syed, cloud and AI delivery lead, reinforces the single-region point:
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.
Zaheer Syed, cloud and AI delivery lead
Fabric HorizonDB and migration paths
Alongside GA, Microsoft launched Fabric HorizonDB in public preview, a serverless variant within Microsoft Fabric. Databases are provisioned in seconds, compute pauses after five minutes of inactivity, and tables mirror to OneLake in Delta format by default. Transact-SQL queries run PostgreSQL commands on the Fabric Data Warehouse, and synced tables bring data from the warehouse back to HorizonDB as a form of reverse ETL.
For those already running PostgreSQL in production, Azure Database Migration Service moves databases from AWS, Google Cloud, on-premises servers, and Azure VMs, with a preview path to migrate existing Azure Database for PostgreSQL instances to HorizonDB. Oracle databases get Foundry model-based schema conversion and AI-assisted application conversion, but online data migration doesn't exist yet (only offline, in preview).
Where this leaves Azure's other Postgres services
The launch reignited a recurring question among Azure users: how many PostgreSQL products Microsoft maintains at the same time. On X, developer Johannes Vink asked whether it wasn't "yet another PostgreSQL offering on Azure" and said he was "getting lost in the options." Shireesh Thota, corporate vice president of Azure Databases, replied in the announcement thread itself:
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.
Shireesh Thota, corporate vice president of Azure Databases
Asked whether the launch changes anything for Azure SQL, Thota replied that SQL Hyperscale remains the cloud-native option on that side of the portfolio. A question about logical replication coming out of HorizonDB, that is, whether it can feed Debezium or move data back to a Flexible Server, went unanswered as of the InfoQ story's publication.
What remains open
HorizonDB charges for provisioned compute in core-hours, used database storage, and backup storage for the retention period, with Foundry model usage billed separately.
For those evaluating swapping a hand-built RAG stack for a database that already talks to the model in SQL, the most concrete points to check are: whether the region of interest is among the 13 available, whether the 35-day backup limit and the lack of a native pooler fit the operation, and whether the absence of cross-region readers is acceptable for the product's SLA. The full documentation, with the list of regions and limitations, is available on Microsoft Learn.
Translated from the Brazilian Portuguese original · Read the original
Fear that AI could break encryption wipes $200 billion off crypto market
An NSA warning about the risk that AI and quantum computing pose to current encryption wiped $200 billion off the crypto market this week and inflated security stocks and tokens marketed as 'quantum-safe'. For those running critical infrastructure, the scare reinforces a migration deadline that was already underway.







