Posts Tagged ‘ dynamic sampling ’

Managing Optimizer Statistics Paper

February 16, 2009
By
Managing Optimizer Statistics Paper

Over the past couple days I’ve been reading through the recent paper by Karen Morton entitled “Managing Statistics for Optimal Query Performance“. In this paper Karen goes over many of the topics I have discussed as well (and a few that I have not) in the following blog posts: Troubleshooting Bad Execution Plans There...

Read more »

There Is No Time Like '%NOW%' To Use Dynamic Sampling

March 5, 2008
By

I recently came across a query in which the Optimizer was making a poor cardinality estimate, which in turn caused inefficient join type, which in turn caused the query to run excessively long. This post is a reenactment of my troubleshooting. The Suspect SQL The original SQL was quite large and had a fairly...

Read more »