asish.com
Databases

Microsoft brings PostgreSQL into Fabric. Where would I use it?

Asish Punnose ·

Fabric HorizonDB brings serverless PostgreSQL, OneLake and Fabric analytics closer together. I’d start by following one order through the system.

PostgreSQL, Microsoft Fabric and Microsoft logos above a glass bridge illuminated by teal data streams.

When I read that Microsoft was bringing serverless PostgreSQL into Fabric, I thought about a familiar architecture problem. An application writes an order into PostgreSQL. The reporting team needs that order in the warehouse. Then the application team wants to show the customer something the warehouse has worked out. One order, two systems and a surprising amount of work keeping them in step.

Microsoft Fabric HorizonDB is now in public preview. It’s a managed PostgreSQL database inside Fabric. Separately, Azure HorizonDB is generally available. If you’re doing an options paper, keep those names and release stages straight. They lead to different deployment decisions. Microsoft’s HorizonDB announcement

Follow one order through the system

Imagine the application writes a new order to HorizonDB. Microsoft says you can mirror operational tables into OneLake for analytics, query across PostgreSQL and Fabric data through the same PostgreSQL endpoint, and load curated results from the warehouse back into PostgreSQL for the application to serve. Microsoft’s Fabric HorizonDB overview

Say the warehouse calculates a customer’s usual delivery window from a year of orders. You could bring that result back into PostgreSQL and let the application read it when someone opens the order page. I’d measure how long a new order takes to appear in OneLake, then how long the revised delivery window takes to get back. Those are two separate delays. If the customer can see yesterday’s estimate, that might be fine. If the application uses the result to make a delivery promise, I’d want to know exactly how stale it can get and what the app does when the refresh falls behind.

I’d test the first request on Monday morning

Microsoft says idle databases can pause and resume when the next query arrives. That sounds attractive for an internal tool that gets used a few times a day. For an API, I’d run a test after the database has been idle overnight. How long does the first request take? What happens when several requests arrive at once? I’d compare that with what users see once the service is busy and look at how the database and analytics workloads contribute to the overall Fabric bill. Microsoft Ignite Book of News

PostgreSQL is only part of what you’d have to move

The Register raises a question about portability that I’d put into the architecture review early. I can take a PostgreSQL schema and check which SQL and extensions will run elsewhere. Then I’d look at everything around it. Who rebuilds the OneLake mirrors? Where do the warehouse queries run? How does the application get those curated results back? The answers depend on how much of the workflow you build into Fabric. The Register

If I already had a team using Fabric for analytics, I’d try HorizonDB with one internal application and one reporting flow. Write the order, see it in the warehouse, then bring one useful result back to the app. That gives me something I can time, cost and explain to the next team that has to run it.