# How a Frequency Histogram Works

This post is to show how a frequency histogram helps the optimizer to come up with a more optimal execution plan. I will show how the optimizer chooses a sub-optimal plan assuming uniform distribution of data where the data is skewed, then show how a frequency histogram helps improving the optimizer decisions. I am creating… Continue reading How a Frequency Histogram Works