THR881 · Theater

Microsoft Fabric HorizonDB: One PostgreSQL endpoint for AI apps

  • Thursday 19 November
  • 20 min
  • Catalogue level: (200) Intermediate
  • Our depth rating: 300
  • Worth watching: 1/3

Speakers: Silvano Coriani

Watch on Microsoft’s site from 00:01

Microsoft’s player cannot open a video at a given time: once it plays, skip to the time shown.

What the session covers

Silvano Coriani introduces Fabric HorizonDB, a fully managed, serverless PostgreSQL engine in Fabric, now in public preview. It runs on the same architecture as Azure HorizonDB, with separated compute and storage plus a serverless layer: provisioning takes about 5 seconds and compute auto-pauses after 5 idle minutes. The preview limits databases to 4 TB and ships about 72 pre-installed extensions. The session covers three integration paths (automatic mirroring to OneLake, pg_fabric_fdw federation with warehouses and lakehouses, and reverse ETL) and AI grounding with Microsoft Foundry models via the Azure AI extension. A demo shows an analytical query over about 100 million orders dropping from 40 s to 3.8 s when it is pushed down to Fabric DW through the OneLake mirror.

Best for: Data engineers and Postgres developers who build apps on Fabric and want to combine OLTP and analytical data over a single connection.

Session timeline by chapter

New material starts at 00:01. The session has no recap intro: it opens directly with the Fabric HorizonDB public preview announcement.

Where to skip: Watch from the start: the announcement fills the first 4 minutes. The core is the integration paths at 03:48, the federation and trans-analytical pattern at 08:37, and the push-down demo at 16:08. The AI part at 11:44 adds little, and you can skip the closing at 18:42.

Chapters (8)

  1. 00:01 New Depth 200 · Novelty 3/3

    Fabric HorizonDB: serverless PostgreSQL in Fabric, now in public preview

    Silvano Coriani of the Microsoft Postgres team introduces Fabric HorizonDB, a fully managed, serverless Postgres engine in Fabric that spins up in seconds. It can query Fabric data warehouse and lakehouse artifacts in the Postgres dialect and join them with operational data. It also integrates with Fabric AI and Microsoft Foundry models. It runs on the same architecture as Azure HorizonDB, with compute and storage separated, and adds a serverless compute layer. The public preview limits databases to 4 TB, lets Fabric apps use the Postgres dialect with Fabric HorizonDB as their backend, and ships about 72 pre-installed extensions, including Azure AI.

  2. 03:48 Deep dive Depth 300 · Novelty 2/3

    Three integration paths: OneLake mirroring, pg_fabric_fdw federation, reverse ETL

    The speaker describes three ways Fabric HorizonDB integrates with Fabric. First, all Postgres data is mirrored automatically and transparently into OneLake, where it gets Delta Parquet compression and columnar storage for analytics. Second, the dedicated extension pg_fabric_fdw federates with OneLake stores that expose a SQL analytics endpoint, such as a warehouse or lakehouse, over the same connection and dialect. Third, curated silver or gold datasets from a medallion architecture can be reverse-ETLed back into Postgres to serve dashboards at low latency and high throughput.

  3. 06:13 Deep dive Depth 300 · Novelty 2/3

    Serverless model: 5-second provisioning, auto-pause after 5 idle minutes

    A new database takes about 5 seconds to provision. Compute is billed only while queries arrive. After 5 minutes without queries, compute shuts down and only storage is billed. The next query resumes compute in a few seconds: applications see an initial delay, but connections do not fail. This is the main difference from Azure HorizonDB, which runs and bills continuously once provisioned.

  4. 08:37 Deep dive Depth 300 · Novelty 2/3

    Federated remote tables and trans-analytical apps that join OLTP and Fabric DW data

    A few DDL statements register remote tables from a warehouse, lakehouse or mirrored database into a local schema named "fabric", so they can be queried as local tables over the same connection. Standard SQL can then join local transactional tables with remote Fabric tables without changing application logic. The reason: Postgres has no native column store and is optimised for transactions. Heavy aggregations can benefit from Fabric investments such as GPU-accelerated queries and query plan optimisations. The speaker calls this pattern trans-analytical apps.

  5. 11:44 Deep dive Depth 300 · Novelty 1/3

    AI apps: grounding Microsoft Foundry models via the Azure AI extension in SQL

    Fabric HorizonDB gives access to both operational and analytical data over one connection, which makes it a good place to prepare data for AI grounding, for example semantic search. The Azure AI extension is embedded natively. An application issues a SQL request that invokes an Azure AI function on data queried by the Postgres and Fabric DW engines. The extension calls any model deployed in Microsoft Foundry and returns the response through the same single connection.

  6. 13:19 Demo Depth 200 · Novelty 2/3

    Demo: provisioning Fabric HorizonDB and working in VS Code with the Postgres extension

    The demo creates a Fabric HorizonDB item by entering only a name; it is running within seconds. The speaker opens it in Visual Studio Code through the Microsoft Postgres extension, which can now browse Fabric workspaces, and shows the monitoring dashboard with top queries, sessions and wait statistics. A version query returns Postgres 17 in the HorizonDB flavour. A sample schema of customers, orders and products, with about 100 million orders, answers primary-key and operational queries quickly, and the graphical execution plan is shown.

  7. 16:08 Demo Depth 300 · Novelty 2/3

    Demo: analytical query drops from 40 s to 3.8 s by pushing it down to Fabric DW via OneLake

    A query for the top 100 customers by historical revenue joins about 100 million orders with customers. In local Postgres storage it takes around 40 seconds because of the large scan and aggregation. The speaker imports the automatically mirrored OneLake tables into a local Postgres schema (OLAP) and reruns the same query, changing only the schema of the orders table from OLTP to OLAP. It then completes in 3.8 seconds, because the heavy lifting is pushed down to the Fabric DW engine.

  8. 18:42 Closing Depth 100 · Novelty 1/3

    Call to action: have the tenant admin enable the preview workload and try Fabric HorizonDB

    Fabric HorizonDB is in public preview, so the Fabric tenant admin has to enable the preview workload in the admin portal, as with any new Fabric workload in public preview. After that, an icon for creating a Fabric HorizonDB database appears. The speaker encourages attendees to connect it to existing warehouses or lakehouses in the same Fabric account, try the AI integration, and then closes the session.

Announcements (7)

  • 01:40 GA Microsoft Fabric

    Azure HorizonDB

    The Azure PostgreSQL service that shares its compute-storage architecture with Fabric HorizonDB and runs as an always-on system.

    Speaker’s quote (at 01:40)
    „it sits on the same architecture as Azure Horizon DB that we presented in general availability this week as well“
  • 01:40 not stated Microsoft Fabric

    Fabric HorizonDB serverless compute

    A serverless compute layer that removes capacity planning and sizing and pauses automatically when no queries arrive.

    Speaker’s quote (at 01:40)
    „in Fabric Horizon DB, we are adding serverless capabilities to our compute layer, meaning that you don't have to think about any capacity planning“
  • 02:13 public-preview Microsoft Fabric

    Fabric HorizonDB

    A Fabric-native, fully managed serverless PostgreSQL workload that queries operational data and Fabric analytical artifacts through a single Postgres endpoint.

    Speaker’s quote (at 02:13)
    „Right now in public preview, we are limiting the database size to 4 terabytes.“
  • 02:40 not stated Microsoft Fabric

    Postgres dialect for Fabric apps

    When you create a Fabric app, you can choose the Postgres dialect instead of the MS SQL dialect and use Fabric HorizonDB as its backend.

    Speaker’s quote (at 02:40)
    „now you can specify when you create your Fabric app, you can say, I want to use the Postgres dialect as an alternative of the Ms.“
  • 03:48 not stated Fabric HorizonDB

    Fabric HorizonDB mirroring to OneLake

    Copies all Fabric HorizonDB data into OneLake automatically and transparently, in Delta Parquet columnar format for analytics.

    Speaker’s quote (at 03:48)
    „all the Postgres data that we create in our Fabric Horizon DB gets automatically and transparently copied, mirrored into the OneLake storage in a synchronous manner.“
  • 04:15 not stated Fabric HorizonDB

    pg_fabric_fdw extension

    A Postgres foreign data wrapper that federates queries to OneLake warehouses and lakehouses with SQL analytics endpoints, using the same connection and dialect.

    Speaker’s quote (at 04:15)
    „The second part is through a dedicated Postgres extension called PG Fabric FDW.“
  • 05:27 not stated Fabric HorizonDB

    Reverse ETL from OneLake to Fabric HorizonDB

    Moves curated OneLake datasets back into the Postgres engine to serve dashboards and reports at low latency.

    Speaker’s quote (at 05:27)
    „we can reverse CTL those curated data sets back to the Postgres engine“

Demos (2)

  • 13:19 You can try it yourself Fabric HorizonDB

    Developers provision a Fabric HorizonDB database, connect to it from VS Code, monitor it, and run operational queries against a large relational schema.

    Steps (8)
    1. In a Fabric workspace, create a new item of type Fabric HorizonDB.
    2. Enter the database name (no other settings are needed) and wait a few seconds until it is running.
    3. Click the Visual Studio Code button to open the instance in VS Code with the Microsoft Postgres extension.
    4. In the extension, browse your Fabric workspaces, select the new database and connect.
    5. Open the monitoring dashboard to review top queries, open sessions and wait statistics.
    6. Run a version query to confirm Postgres 17 in the HorizonDB flavour.
    7. Create the customers, orders and products tables and load data (about 100 million rows in orders).
    8. Run primary-key lookups and more complex operational queries, then view the graphical execution plan.

    Prerequisites: A Fabric tenant in which the Fabric tenant admin has enabled the Fabric HorizonDB preview workload in the admin portal; Visual Studio Code with the Microsoft Postgres extension.

  • 16:38 Not stated Fabric HorizonDB

    Speed up a large analytical aggregation over operational data by querying the OneLake mirror through Fabric DW instead of local Postgres storage.

    Steps (6)
    1. Write a query for the top 100 customers by historical revenue that joins the orders table (about 100 million rows) with customers in the OLTP schema.
    2. Run it against local Postgres storage and note the runtime (about 40 seconds).
    3. Open the automatically mirrored copies of the database tables in OneLake.
    4. Import the mirrored OneLake tables into a local Postgres schema (OLAP).
    5. Query the imported tables as if they were local to check that they are available.
    6. Rerun the same query, changing only the schema of the orders table from OLTP to OLAP, and compare the runtime (3.8 seconds).

    Prerequisites: A Fabric HorizonDB database (public preview workload enabled by the Fabric tenant admin) with data mirrored to OneLake; the exact DDL used to import the tables is not shown in the transcript.

Watch on Microsoft’s site: THR881