블로그 이미지
bedbmsguru

Notice

Recent Post

Recent Comment

Recent Trackback

Archive

calendar

1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
  • total
  • today
  • yesterday
2020. 4. 27. 16:01 PostgreSQL

설정 parameters

 

1. shared_buffers :

     PostgresSQL에서 DISK I/O를 줄이기 위해 사용하는 Buffer

     -->물리적 메모리의 1/2 ~ 1/4

 

2. work_mem:

    join, sorting, hashing 작업시 session 별로 할당되는 메모리

       -->복잡한 sort가 많이 사용되거나 큰 sort 가 필요하다면 이 값을 증가 시켜야함

       -->session 별로 할당되기 때문에 설정시 최대 접속자 수를 고려하여야 함

 

3. maintenance_work_mem

  유지관리  작업(CREATE INDEX, Vacuum, Alter Table 등)에 사용되는 메모리

   -->  Share Buffers 의 25%

   -->  autovacuum_work_mem 파라미터가 -1 이면 Autovacuum Worker Process들도  이 메모리를 사용

   

 

 

 

'PostgreSQL' 카테고리의 다른 글

pg_stat_statements  (0) 2021.06.03
blocking 체크  (0) 2020.07.24
pg_settings 칼럼 설명  (0) 2020.05.20
Heidi SQL 접속시 LIBPQ.DLL 오류 해결  (0) 2020.03.24
psql 설정파일(.psqlrc) 설정  (0) 2020.03.16
posted by bedbmsguru