Poor performance when query contains anti-join on a complex predicate in SQL Server 2014 SP1


Assume that you run a query that contains anti-join clauses on a complex join predicate, such as conjunction of inequalities. If you run this query in SQL Server 2014 Service Pack 1 (SP1) with a 4199 trace flag enabled, you experience poor performance because of a sub-optimal query plan. 


This issue is fixed in the following service pack for SQL Server:

About service packs for SQL Server
About service packs for SQL Server


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.


Learn about the terminology  that Microsoft uses to describe software updates.

Artikkel-ID: 3170043 – Forrige gjennomgang: 11. jul. 2016 – Revisjon: 1