Press "Enter" to skip to content

Day: October 28, 2026

Fixing “Too Many Connections” in Postgres

Achyut Tripathi makes a connection:

Database connections are essential for any program to manage and access data in the database. When a server already has too many active and open connections – a result of a large number of users creating numerous, simultaneous demands on the system – no new connections can open, and the system indicates that it has reached its maximum connection limit.

This issue can be caused by several factors, including connections that are opened unnecessarily and no longer used by the application, programs that create a large number of connections, incorrectly configured connection pools, and a sudden increase in traffic.

When these issues aren’t managed properly, the system encounters request failures – resulting in no new connections being made.

Read on to see how Postgres handles these and what you can do if you find yourself in that situation.

Leave a Comment

DAX Lib MCP Server

Marco Russo makes an announcement:

At the end of 2025, we launched DAX Lib, a public repository of DAX user-defined functions. So far, importing a DAX library has required a few manual steps, like clicking Add to Power BI on daxlib.org and then copying and pasting the DAX code into the TMDL View of your model, or using the dedicated tool in Tabular Editor 3. Both work well, but if you already use an AI assistant next to Power BI Desktop, we can now delegate this task to it. The DAX Lib MCP server version 0.1.0 is available now.

Click through if you’d like to snag a copy. It’s only available for Windows at this point, though considering Power BI’s OS requirements, that makes sense.

Leave a Comment

Reviewing Optimized Locking Results

Louis Tochon wants to know if optimized locking actually ran:

In the first case, SQL Server escalated the row locks to an X lock on the whole table. In the second, there is no escalation anymore, only one X lock on the transaction ID (XACT), next to the intent lock (IX) on the table (the IS lock in both results is on the small function I used to run this query).

That is nice in a demo, but on a real server nobody is looking at sys.dm_tran_locks at the right moment. I wanted to know how a DBA can check what optimized locking does once it is enabled. SQL Server 2025 has a few Extended Events for that, and I found some of their fields easy to misread and one of them reports LAQ as enabled on a database where it never ran once.

Click through to learn more.

Leave a Comment

Tips for Planning a Microsoft Fabric Solution

Paul Turley shares some tips around the various Microsoft Fabric workloads:

Fabric hands you an entire toolbox of analytics workloads. Using all of them isn’t the goal — using the right ones is.

Resist the shiny-object trap. Fabric packages Power BI, Data Factory, Data Engineering, Data Warehouse, Data Science, and Real-Time Intelligence into one platform, and it’s tempting to adopt all of them at once. Map each workload to a business problem you already have, and bring in only the pieces that solve something real today. Every workload you adopt without a real use case behind it is one more thing your team has to learn, maintain, and eventually explain to an auditor.

Click through for a half-dozen such tips.

Leave a Comment

The SQL Server Execution Plan Reference

Hugo Kornelis completes a magnum opus:

In 2017, I made the decision that SQL Server execution plans needed better documentation. I did not expect Microsoft to do this for me. And so I decided, heavily inspired by Paul Randall’s Wait Type Library, to write it myself. I purchased the domain sqlserverfast.com, migrated my blog there, and started to write the SQL Server Execution Plan Reference.

That part of the site went live on May 31, 2018, when I had finished the generic pages plus the pages on all join and aggregation operators. After that, I regularly added a page, sometimes even multiple at once, and I also frequently updated pages with new or corrected information.

Check out the amazing work Hugo has done through the years.

Leave a Comment