I am trying to change some parameteres in postgresql.conf file. I changed the parameters to following values
- Shared_buffers: 8000MB
- work_mem: 3200MB
- maintenance_work_mem: 1600MB
I have postgresql installed on 128GB RAM server. After making these changes I restarted postgresql server. After that when I use psql to check these parameters using show (parameter_name) I get the following values.
- Shared_buffers: 8000MB
- work_mem: 4MB
- maintenance_work_mem: 2047MB
Why did the changes reflect correctly only in the shared_buffer parameter but not in the other two?
I changed the max_wal_size to 4GB and min_wal_size to 1000MB but these parameters did not change too and the values shown are 1GB and 80MB. So in conclustion, of all the changes that I made only the changes to shared_buffers parameter got reflected while others did not change.
work_mem
if I'm not mistaken, try changing that manually for a session usingset work_mem = '3200MB'
- if the limit is exceeded you will get an error message.