postgresql.conf (2) 썸네일형 리스트형 PGTune 을 이용하여 postgresql.conf 파라미터 설정하기 postgresql 구글링 중 postgresql 버전별로 postgresql.conf 권장 파라미터를 제공해 주는 사이트를 발견 https://pgtune.leopard.in.ua/ PGTune - calculate configuration for PostgreSQL based on the maximum performance for a given hardware configuration pgtune.leopard.in.ua Postgresql DB 버전, OS 유형, DB 유형, Memory, CPU 수, 최대 커넥션 수, 스토리지 유형을 선택하여 권장 파라미터 값을 확인할 수 있다. BareMetal 기준 - 웹어플리케이션 용도의 DB서버를 구성하는 기준으로 권장 파라미터 값을 확인해 보자. DB V.. Postgresql 13 - pg_stat_statements 설치 및 사용방법 먼저 pg_stat_statements 에 대해서 알아보자. Postgresql 공식사이트 - www.postgresql.org/docs/13/pgstatstatements.html pg_stat_statements를 한문장으로 정리하면 실행되는 쿼리의 통계(빈도,실행시간,Row수등)를 확인할 수 있는 view 라고 할 수 있을 것이다. ## 설치환경 * CentOS 7.6 * Postgresql 13.1 1. Postgresql contrib 설치 pg_stat_statements 를 사용하려면 Postgresql contrib 가 설치되어 있어야 한다. su - root yum list *postgresql*contrib* yum -y install postgresql13-contrib.x86_64 .. 이전 1 다음