inactive_parts MergeTree 설정
inactive_parts MergeTree 설정 (inactive_parts_to_*_insert MergeTree settings)
이 문서는 비활성 파트 수에 따른 INSERT 지연·중단과 관련된 MergeTree 설정들을 다루는 페이지예요. 테이블의 단일 파티션에 비활성 파트가 많을 때 INSERT를 느리게 하거나 중단합니다.
출처: 문서
본문
이 설정들은 system.merge_tree_settings에서 확인할 수 있으며 ClickHouse 소스에서 자동 생성됩니다.
inactive_parts_to_delay_insert
테이블의 단일 파티션에 있는 비활성 파트 수가 inactive_parts_to_delay_insert 값을 초과하면 INSERT가 인위적으로 느려집니다. 서버가 파트를 충분히 빨리 정리하지 못할 때 유용해요.
가능한 값:
- 양의 정수.
inactive_parts_to_throw_insert
테이블의 단일 파티션에 있는 비활성 파트 수가 inactive_parts_to_throw_insert 값보다 많으면 INSERT가 다음 오류로 중단됩니다:
“Too many inactive parts (N). Parts cleaning are processing significantly slower than inserts” exception.”
가능한 값:
- 양의 정수.