ClickHouse元数据 4.不同种类的维度表


1. functions(函数)

记录普通函数和聚合函数信息。

name type comment
name String 函数名
is_aggregate UInt8 是否是聚合函数
case_insensitive UInt8 是否区分大小写
alias_to String 别名

2. table_functions(表函数)

name type comment
name String 表函数名称

3. aggregate_function_combinators(聚合函数连接符)

聚合函数的名称可以附加一个后缀。这改变了聚合函数的工作方式。

name type comment
name String 后缀名
is_internal UInt8 是否内置,1 是,0 否

4. data_type_families(数据类型)

name type comment
name String 数据类型名称
case_insensitive UInt8 是否区分大小写,0不区分,1区分
alias_to String 别名,BIGINT=Int64,TEXT=String

5. events(事件)

记录关于系统中发生的事件数量的信息。例如,在表中,您可以找到自ClickHouse服务器启动以来处理了多少SELECT查询。

name type comment
event String 事件名称
value UInt64 事件发生次数
description String 事件描述

6. formats(支持的格式)

支持的格式信息

name type comment
name String 格式名称
is_input UInt8 该格式是否支持输入
is_output UInt8 该格式是否支持输出

7. metrics(监控指标)

包含可以立即计算或具有当前值的指标。 例如同时处理的查询数或当前副本延迟,该表始终是最新的。

name type comment
metric String 指标名称
value Int64 指标值
description String 指标描述

8. asynchronous_metrics(异步指标)

记录定期在后台计算的指标。异步运行的概要信息,包括分配的内存,执行队列中的任务数量

name type comment
metric String 指标名称
value Float64 指标值

9. collations(语言及其缩写)

name type comment
name String 语言缩写
language Nullable(String) 语言全称

10. time_zones 时区表

存储全球时区列表

name type comment
time_zone String 时区

文章作者: hnbian
版权声明: 本博客所有文章除特別声明外,均采用 CC BY 4.0 许可协议。转载请注明来源 hnbian !
评论
 上一篇
ClickHouse元数据 5.配额相关的表 ClickHouse元数据 5.配额相关的表
1. quotas(配额信息)包含有关配额的信息 name type comment name String 配额名称 id UUID 配额 ID storage String 配额的存储。可能的值:users.xml
2021-08-02
下一篇 
ClickHouse元数据 3.运行时监控信息 ClickHouse元数据 3.运行时监控信息
1. trace_log(跟踪信息)记录由抽样查询分析器收集的堆栈调用信息。 ClickHouse只有在trace_log服务器配置配置部分设置时才会创建这个表。还应该设置 query_profiler_real_time__ns 和 qu
2021-08-02
  目录