1
는 참고로,이 질문은 우리가 8.4에서 9.1로 마이그레이션 이후PostgreSQL 8.4 -> 9.1 : ANALYZE VERBOSE; -> 공유 메모리가
우리는 문제가 너무 PG-일반 메일 링리스트에 게시됩니다.
우리가 연주 할 때 :ANALYSE VERBOSE;
(합계를 모든 데이터베이스에 모든 테이블에서 500 테이블로 미 데이터와 함께) 우리는 지금이 메시지가
:
org.postgresql.util.PSQLException: ERROR: out of shared memory Indice : You might need to increase max_locks_per_transaction.
우리를 8.4에 오류가 없었습니다. 서버에 특정 postgresql.conf 구성이 있습니다.
default_statistics_target = 200
maintenance_work_mem = 1GB
constraint_exclusion = on
checkpoint_completion_target = 0.9
effective_cache_size = 7GB
work_mem = 48MB
wal_buffers = 32MB
checkpoint_segments = 64
shared_buffers = 2304MB
max_connections = 150
random_page_cost = 2.0
max_locks_per_transaction = 128 **
max_lock_per_transaction이 (64?) 이전의 기본값 인 경우 오류 힌트에 따라을 이미 높이려고했습니다.
우리는 이미 Linux 공유 메모리도 늘려 고했습니다. 어떤 제안있어?