PostgreSQL 9.2.23 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 4.8.5 20150 623 (Red Hat 4.8.5-16), 64-bit
Im try to make changes in postgresql.conf
.
effective_cache_size = 3GB
but when I write SHOW effective_cache_size;
It's still 128MB.
I have reloaded the postgresql, restarted it but it's still using default settings. What should I do?
postgresql.conf
that overrides your setting. Maybe you edited the wrong file or restarted the wrong server. – Laurenz Albe Jul 30 '18 at 7:05pg_settings
to determine where the setting you see comes from. – Laurenz Albe Jul 30 '18 at 8:00SELECT sourcefile FROM pg_settings;
I used this and it gave me : /var/lib/pgsql/data/postgresql.conf this is the file I have edited – Wober Jul 30 '18 at 8:38