rewrite_* 세션 설정
rewrite_* 세션 설정
이 페이지에서는 쿼리 표현식을 재작성하는 rewrite_* 세션 설정들을 다뤄요. countDistinctIf와 x IN subquery 같은 표현식을 보다 효율적인 형태로 바꿔 최적화해요. 이 설정들은 system.settings 테이블에서 확인할 수 있으며 ClickHouse 소스에서 자동 생성돼요.
출처: 문서
본문
이 설정들은 system.settings에서 확인할 수 있으며 소스에서 자동 생성돼요.
rewrite_count_distinct_if_with_count_distinct_implementation
countDistinctIf를 count_distinct_implementation 설정으로 재작성할 수 있게 해요.
가능한 값:
-
true— 허용. -
false— 허용하지 않음.
rewrite_in_to_join
x IN subquery 같은 표현식을 JOIN으로 재작성해요. 조인 재정렬로 전체 쿼리를 최적화하는 데 유용할 수 있어요.