GBase 8c
其他
文章
PG_GTT_STATS系统视图说明
GBase社区管理员发表于2024-02-06 13:39:1113次浏览0个评论
PG_GTT_STATS视图查看当前会话所有全局临时表单列统计信息,调用pg_get_gtt_statistics函数。
名称 | 类型 | 描述 |
schemaname | name | schema名称。 |
tablename | name | 全局临时表名称。 |
attname | name | 属性名称。 |
inherited | boolean | 是否统计有继承关系的对象。 |
null_frac | real | 该字段中为NULL的记录的比率。 |
avg_width | integer | 非NULL记录的平均存储宽度,以字节计算。 |
n_distinct | real | 标识全局统计信息中字段里唯一的非NULL数据值的数目。 |
most_common_vals | text[] | 高频值列表,按照出现的频率排序。 |
most_common_freqs | real[] | 高频值的频率。 |
histogram_bounds | text[] | 等频直方图描述列中的数据分布(不包含高频值)。 |
correlation | real | 相关系数。 |
most_common_elems | text[] | 类型高频值列表,用于数组类型或一些其他类型。 |
most_common_elem_freqs | real[] | 类型高频值的频率。 |
elem_count_histogram | real[] | 数组类型直方图。 |
评论已关闭
热门帖子
- 12025-12-01浏览数:182763
- 22023-05-09浏览数:25057
- 42023-09-25浏览数:18525
- 52020-05-11浏览数:17528