O'Reilly logo

Microsoft® SQL Server 2012 Unleashed by Alex T. Silverstein, Chris Gallelli, Paul T. Bertucci, Ray Rankins

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The Statistics Histogram

Up to 200 sample values can be stored in the statistics histogram. Each sample value is called a step. The sample value stored in each step in the RANGE_HI_KEY column is the endpoint of a range of values. Four values are stored for each step:

Image RANGE_ROWS—This indicates how many other rows are inside the range between the current step and the step prior, not including the step values themselves.

Image EQ_ROWS—This is the number of rows that have the same value as the sample value. In other words, it is the number of duplicate values ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required