文档首页
MySQL 8.4 参考手册
8.4 中文镜像

MySQL 8.4 参考手册 · 中文镜像

正文为中文,英文原文默认隐藏。点击任意中文段落即可展开 / 收起对应英文原文。

打开官方英文原文 ↗

译文由机器翻译生成,仅供理解参考;有疑问请以官方英文原文为准。

MySQL 8.4 参考手册 / 28 个 INFORMATION_SCHEMA 表 / 28.3 INFORMATION_SCHEMA 总表 / 28.3.11 INFORMATION_SCHEMA COLUMN_STATISTICS 表
中文点击中文段落可显示 / 隐藏英文原文本页译文覆盖 100%

28.3.11 INFORMATION_SCHEMA COLUMN_STATISTICS 表28.3.11 The INFORMATION_SCHEMA COLUMN_STATISTICS Table

COLUMN_STATISTICS 表提供对列值直方图统计信息的访问。The COLUMN_STATISTICS table provides access to histogram statistics for column values.

有关直方图统计信息,请参阅 第 10.9.6 节,“优化器统计信息”,以及 第 15.7.3.1 节,“ANALYZE TABLE 语句”。For information about histogram statistics, see Section 10.9.6, “Optimizer Statistics”, and Section 15.7.3.1, “ANALYZE TABLE Statement”.

您只能查看对您具有某些权限的列的信息。You can see information only for columns for which you have some privilege.

COLUMN_STATISTICS 表具有以下列:The COLUMN_STATISTICS table has these columns:

  • SCHEMA_NAMESCHEMA_NAME

    统计信息适用的模式名称。The names of the schema for which the statistics apply.

  • TABLE_NAMETABLE_NAME

    统计信息适用的列的名称。The names of the column for which the statistics apply.

  • COLUMN_NAMECOLUMN_NAME

    统计信息适用的列的名称。The names of the column for which the statistics apply.

  • HISTOGRAMHISTOGRAM

    一个JSON对象,用于描述列统计信息,以直方图的形式存储。A JSON object describing the column statistics, stored as a histogram.