Posts Tagged ‘ 5% selectivity ’

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 »