jemalloc_flush_profile_* 서버 설정

jemalloc_flush_profile_* 서버 설정

이 페이지에서는 jemalloc 프로파일의 플러시 시점을 제어하는 jemalloc_flush_profile_* 계열 서버 설정을 설명할게요.

출처: 문서

본문

이 설정들은 ClickHouse 서버를 구성하며, ClickHouse 소스에서 자동으로 생성돼요.

jemalloc_flush_profile_interval_bytes

전역 피크 메모리 사용량이 jemalloc_flush_profile_interval_bytes만큼 증가한 후 jemalloc 프로파일 플러시가 수행돼요.

jemalloc_flush_profile_on_memory_exceeded

총 메모리 초과(total memory exceeded) 오류 시 jemalloc 프로파일 플러시가 수행돼요.

jemalloc_flush_profile_on_memory_exceeded_interval

0이 아니면, 총 메모리 초과 오류 시 jemalloc 프로파일을 플러시하는 사이의 최소 간격(초)을 설정해요. 예를 들어 5는 5초마다 최대 한 번 프로파일을 플러시한다는 뜻이에요. jemalloc_flush_profile_on_memory_exceeded보다 우선해요.

더 알아보기 (Learn more)