반응형

아래와 같이 쿼리를 실행하면 현재 설정되어있는 max_connection 수를 알수 있다.

 

select * from pg_settings where name = 'max_connections';

 

/etc/postgresql/{버전}/postgresql.conf

 

위 파일을 vi 로 열어서 max_connection 값을 설정해주고 재시작 하면 설정이 적용된다.

 

재시작 (권한이 없으면 앞에 sudo 붙이고)

/etc/init.d/postgresql restart

 

728x90
반응형

+ Recent posts