This graphic depicts a flow chart for the creation of a histogram type. On the left is a circle containing a question mark. It points right toward a diamond that contains “NDV>n.” This points down to a circle labeled “Frequency Histogram.” The arrow is labeled “No.” The diamond points right, with arrow labeled “Yes,” to a diamond that contains “ESTIMATE_PERCENT=AUTO_SAMPLE_SIZE.” This diamond points down, with arrow labeled “No,” to a circle labeled “Height-Balanced Histogram.” The diamond points right, with arrow labeled “Yes,” to a diamond labeled “Percentage of rows for top n frequent values >= p.” The diamond points down, with arrow labeled “No,” to a circle labeled “Hybrid Histogram.” The diamond points right, with arrow labeled “Yes,” to a circle labeled “Top n Frequency Histogram.” The legend says: “NDV = Number of distinct values; n = Number of histogram buckets (default is 254)”; “p = (1–(1/n))*100.”