跳转到主内容
跳转到主内容

system.query_condition_cache

在 ClickHouse Cloud 中进行查询

该系统表中的数据保存在 ClickHouse Cloud 中每个节点的本地。因此,如需获得所有数据的完整视图,需要使用 clusterAllReplicas 函数。更多详情请参阅此处

显示 查询条件缓存 的内容。

列:

  • key_hash (UInt128) — (table_uuid, part_name, condition_hash) 的哈希值。
  • entry_size (UInt64) — 条目大小(字节)。
  • matching_marks (String) — 匹配的标记。

示例

SELECT * FROM system.query_condition_cache FORMAT Vertical;
Row 1:
──────
table_uuid:     28270a24-ea27-49f6-99cd-97b9bee976ac
part_name:      all_1_1_0
condition:      or(equals(b, 10000_UInt16), equals(c, 10000_UInt16))
condition_hash: 5456494897146899690 -- 5.46 quintillion
entry_size:     40
matching_marks: 111111110000000000000000000000000000000000000000000000000111111110000000000000000

1 row in set. Elapsed: 0.004 sec.