-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
postgresql.conf를 아래와 같이 튜닝해서 성능을 극도로 악화시키는 법 소개
shared_buffers = 8MB
autovacuum 관련 thresholds/scale_factor = 0~1 최저화
vacuum 관련 비용 및 메모리/로그: 최저&최대화
WAL 관련 sync/flush/로그/레벨 등: 느리게 유지
인덱스 관련 random_page_cost, cpu_index_tuple_cost: 1e300 지정
io_method = worker, io_workers = 1
매우 재밌는 접근이며, PostgreSQL에서 설정이 얼마나 중요한지에 대해서 다시한번 생각을 해보게 됨
Metadata
Metadata
Assignees
Labels
No labels