system.query_condition_cache 시스템 테이블
system.query_condition_cache 시스템 테이블
system.query_condition_cache 는 query condition cache 의 내용을 보여주는 테이블이에요.
출처: 문서
본문
ClickHouse Cloud에서의 조회 — 이 시스템 테이블의 데이터는 ClickHouse Cloud에서 각 노드에 로컬로 저장돼요. 따라서 모든 데이터의 완전한 뷰를 얻으려면 clusterAllReplicas 함수가 필요해요. 자세한 내용은 여기 를 참고하세요.
Description
query condition cache 의 내용을 보여줘요.
Columns
-
key_hash(UInt128) — (table_uuid, part_name, condition_hash) 의 해시예요. -
entry_size(UInt64) — 항목의 크기(바이트)예요. -
matching_marks(String) — 일치하는 마크예요.
Example
Query
SELECT * FROM system.query_condition_cache FORMAT Vertical;
Response
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.