(retirado de http://developer.postgresql.org/pgdocs/postgres/kernel-resources.html e http://www.sqlmagazine.com.br/Artigos/Postgre/02_Otimizacao.asp)
ou
Atenciosamente
Alexandre Andrade
Hipercenter.com Classificados Gratuitos
sysctl -w kernel.shmmax=879869184 #aproximadamente 800MB
sysctl -w kernel.shmall=4194304 #4kb
echo 8179869184 > /proc/sys/kernel/shmmax
echo 4194304 > /proc/sys/kernel/shmall--
Atenciosamente
Alexandre Andrade
Hipercenter.com Classificados Gratuitos