Learn  /  Guides

Fabric HorizonDB explained: serverless PostgreSQL inside Microsoft Fabric, and when to use it

Microsoft just put a PostgreSQL database inside its analytics platform. It starts in seconds, sleeps when nobody uses it and copies its tables into OneLake on its own. Here is what that means in practice.

Guide7 min readUpdated 23 November 2026
DatabasesSQLWhat's new
All guides and cheat sheets

At Ignite on 18 November, Microsoft launched Fabric HorizonDB in public preview: a serverless, PostgreSQL-compatible database that lives inside Microsoft Fabric. It is aimed at the small databases that analytics teams keep needing and rarely get: a table of targets people can edit, the backend for a small app, a scratch database for an AI agent. Here is how it works and where it fits.

What it is, in one picture

App or agentwrites rows with normal PostgreSQL
Fabric HorizonDBserverless, pauses when idle
OneLaketables mirrored automatically
Reports and analysisPower BI, notebooks, warehouse

Most analytics platforms are built for reading large amounts of data. Business processes also need somewhere to write small amounts of data: an approval, a forecast adjustment, a comment on a KPI. Until now, in a Microsoft shop, that usually meant a SharePoint list, an Excel file or a request to the database team. Fabric HorizonDB puts a proper relational database next to the analytics, with the data flowing into OneLake on its own.

What Microsoft announced

Serverless
Databases provision in seconds and scale automatically. After five minutes without activity, compute pauses and resumes when the next query arrives.
PostgreSQL-compatible
You use normal PostgreSQL SQL, drivers and tools. Everything on our PostgreSQL cheat sheet applies.
Mirroring into OneLake
Tables are replicated into OneLake by default, without separate pipelines.
Translytical queries
A single PostgreSQL query can combine live HorizonDB data with analytical data in OneLake; the analytical part runs on Fabric Data Warehouse's distributed compute.
Reverse ETL
Enriched data from Fabric Data Warehouse can flow back into HorizonDB for the app to use.
App backend
It is the PostgreSQL option for Fabric apps and Rayfin, with data APIs, sign-in, storage and hosting.

Which Microsoft database is which?

ServiceEngineStatusBest for
Fabric HorizonDBPostgreSQLPreviewPrototypes, small apps, agent workspaces, editable tables next to analytics
Azure HorizonDBPostgreSQLGenerally availableAlways-on, mission-critical applications with multi-zone replication
SQL database in FabricSQL Server (T-SQL)Generally availableTeams that already write T-SQL and want the same Fabric integration
Cosmos DB in FabricDocument (NoSQL)Available in FabricJSON documents and very flexible schemas

The two HorizonDB services share a name and PostgreSQL compatibility, but not a purpose. Microsoft positions Fabric HorizonDB for development, prototyping and intermittent workloads, and Azure HorizonDB for production systems that must never pause. Azure HorizonDB tables can also be mirrored into Fabric (in preview).

How it compares outside Microsoft

Fabric HorizonDB

Microsoft
  • Lives inside Fabric, next to Power BI semantic models
  • Mirrors into OneLake by default
  • Preview only, so limits and pricing may change

Best if your reports already run on Fabric.

Lakebase

Databricks
  • Managed PostgreSQL inside the Databricks platform
  • Syncs with Unity Catalog tables; a streaming sink became GA on 17 November

The natural choice if your lakehouse is on Databricks.

Snowflake Postgres

Snowflake
  • Managed PostgreSQL run by Snowflake
  • Data mirroring into Snowflake became GA in October

Fits teams whose warehouse is Snowflake.

The pattern is the same everywhere: every big data platform now ships PostgreSQL, because applications and AI agents need somewhere to write, and copying data between the app database and the warehouse is the part everyone wants to stop maintaining.

A first table, in plain PostgreSQL

Nothing here is specific to HorizonDB, which is the point: it is standard PostgreSQL. A typical first use is a small table that people edit through an app, which then appears in OneLake for reporting.

SQL
CREATE TABLE monthly_targets (
  target_id   bigint GENERATED ALWAYS AS IDENTITY PRIMARY KEY,
  region      text NOT NULL,
  month       date NOT NULL,
  target      numeric(12,2) NOT NULL CHECK (target >= 0),
  updated_by  text,
  updated_at  timestamptz NOT NULL DEFAULT now(),
  UNIQUE (region, month)
);

-- an app saves a target; a second save for the same month updates it
INSERT INTO monthly_targets (region, month, target, updated_by)
VALUES ('North', DATE '2026-12-01', 125000, 'sales.lead')
ON CONFLICT (region, month)
DO UPDATE SET target = EXCLUDED.target,
              updated_by = EXCLUDED.updated_by,
              updated_at = now();

Once the table is mirrored, a Power BI report can compare actual sales with these targets without anyone exporting a spreadsheet.

When to use it, and when not to

Good fit

Try it
  • Editable inputs for reports: targets, budgets, mappings, comments
  • The backend of a Fabric app with a few hundred users
  • A scratch database an AI agent can create and throw away
  • Prototypes you want to show next week

Small, intermittent workloads are exactly what serverless suits.

Not yet

Wait
  • Anything customers or payments depend on
  • Workloads that run all day: an always-on database is usually cheaper than constant resuming
  • Strict requirements on regions, limits or service levels before general availability

For production PostgreSQL in Azure today, Microsoft points to Azure HorizonDB.

Check your understanding

1/3What happens to a Fabric HorizonDB database after five minutes without activity?

2/3Where do Fabric HorizonDB tables get mirrored?

3/3Which service is meant for always-on, mission-critical PostgreSQL?

More: the PostgreSQL cheat sheet, how to choose a database and everything from Ignite 2026.

Sources: Microsoft Ignite 2026 Book of News, the Azure Ignite 2026 blog and the Fabric November 2026 feature summary (17 to 19 November 2026); InfoWorld and Hakky coverage of the launch (18 November 2026) for the five-minute auto-pause and Data Warehouse compute details; Databricks and Snowflake release notes for Lakebase and Snowflake Postgres. Preview features can change before general availability.

Alessandro Ecclesie AgazziWritten by Alessandro Ecclesie Agazzi, analytics engineer in London. Updated 23 November 2026. About me

Found this useful?

New guides and "what's new" explainers on data and AI land here regularly. Follow along on LinkedIn, or share this one with a colleague.