EstimateRowsWithoutRowGoal
The EstimateRowsWithoutRowGoal property is available starting with SQL Server 2016 SP2 and SQL Server 2017 CU3, when the Query Optimizer uses an optimization technique called row goal. If the Query Optimizer used row goal, this property expresses the estimated number of rows that would be processed if row goal hadn't been used.
Normally, when the Query Optimizer estimates the cost of a query plan, it assumes that all qualifying rows from all tables must be processed. However, when a query uses a TOP, IN, or EXISTS clause, the FAST query hint, or a SET ROWCOUNT statement, this causes the Query Optimizer to search for a query plan that will quickly return a smaller number of rows. This makes the row goal a very useful ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access