If you are asking yourself why you would want to know about an obscure Database Engine component named Query Profiling Infrastructure, then read on. Not many database professionals know it by name, but most have dealt with it when there's a need to troubleshoot query performance issues in a production environment. When a SQL Server performance issue hits, one of the first requirements is to understand which queries are executing and how system resources are being used. And one of the most important artifacts anyone can use to know more about queries that are executing are query plans.
Analyzing a query plan, also known as an estimated execution plan, means that we're only looking at what SQL Server estimated should be a good-enough plan to return the intended results efficiently. But since an estimated plan is missing...