Documentation Home
MySQL 8.0 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 33.7Mb
PDF (A4) - 33.7Mb
PDF (RPM) - 31.7Mb
HTML Download (TGZ) - 8.1Mb
HTML Download (Zip) - 8.1Mb
HTML Download (RPM) - 6.9Mb
Man Pages (TGZ) - 145.6Kb
Man Pages (Zip) - 206.5Kb
Info (Gzip) - 3.1Mb
Info (Zip) - 3.1Mb


MySQL 8.0 Reference Manual  /  INFORMATION_SCHEMA Tables  /  The INFORMATION_SCHEMA COLUMN_STATISTICS Table

Pre-General Availability Draft: 2017-10-17

25.6 The INFORMATION_SCHEMA COLUMN_STATISTICS Table

The COLUMN_STATISTICS table is a view that provides access to information in the column_statistics data dictionary table, which stores histogram statistics about column values.

For information about histogram statistics, see Section 8.9.6, “Optimizer Statistics”, and Section 13.7.3.1, “ANALYZE TABLE Syntax”.

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

COLUMN_STATISTICS 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.


User Comments
Sign Up Login You must be logged in to post a comment.