Documentation Home
MySQL Information Schema
Related Documentation Download this Excerpt
PDF (US Ltr) - 333.6Kb
PDF (A4) - 338.0Kb
HTML Download (TGZ) - 59.9Kb
HTML Download (Zip) - 122.0Kb


MySQL Information Schema  /  The INFORMATION_SCHEMA COLUMN_STATISTICS Table

Chapter 10 The INFORMATION_SCHEMA COLUMN_STATISTICS Table

The COLUMN_STATISTICS table provides access to histogram statistics for column values.

For information about histogram statistics, see Optimizer Statistics, and ANALYZE TABLE Statement.

You can see information only for columns for which you have some privilege.

The COLUMN_STATISTICS table has these columns:

  • SCHEMA_NAME

    The names of the schema for which the statistics apply.

  • TABLE_NAME

    The names of the column for which the statistics apply.

  • COLUMN_NAME

    The names of the column for which the statistics apply.

  • HISTOGRAM

    A JSON object describing the column statistics, stored as a histogram.