Fixing Gatekeeper Row Cardinality Estimate Issues

Posted on SQL Server Central See other posts from SQL Server Central
Published on Mon, 10 Dec 2012 07:00:00 UT Indexed on 2012/12/10 23:12 UTC
Read the original article Hit count: 133

Filed under:

The Query Optimiser needs a good estimate of the number of rows likely to be returned by each physical operator in order to select the best query plan from the most likely alternatives. Sometimes these estimates can go so wildly wrong as to result in a very slow query. Joe Sack shows how it can happen with SQL Queries on a data warehouse with a star schema.

SQL Prompt Make working with SQL a breeze
SQL Prompt 5.3 is the effortless way to write, edit, and explore SQL. It's packed with features such as code completion, script summaries, and SQL reformatting, that make working with SQL a breeze. Try it now.

© SQL Server Central or respective owner