| From: | Bob Jolliffe <bobjolliffe(at)gmail(dot)com> |
|---|---|
| To: | pgsql-performance(at)lists(dot)postgresql(dot)org |
| Subject: | Interpreting shared_buffers setting |
| Date: | 2019-01-29 12:32:55 |
| Message-ID: | CACd=f9f1ODAgnEsUagdfyChEXsE4OD5V3LyXvuUozquZUgYo9A@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-performance |
Excuse me if this is a silly question. I am trying to fiddle with
shared_buffers setting on postgresql 10.6 on ubuntu 18.04 server.
I have this at bottom of my config file:
shared_buffers = 1GB
Yet when I check the setting from pg_setting I see something quite different:
postgres=# SELECT name, setting FROM pg_settings where name = 'shared_buffers';
name | setting
----------------+---------
shared_buffers | 131072
Is this a question of units? It looks like 128M. Note when I change
the setting to 2GB in conf file I see 262144 from pg_setting. I am
now unsure what the actual shared_buffers allocation is. I cant see
anything in the docs which tells me how to interpret the integer.
Any clarification welcome.
Regards
Bob
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Thomas Markus | 2019-01-29 12:35:42 | Re: Interpreting shared_buffers setting |
| Previous Message | Joe Mirabal | 2019-01-29 12:12:38 | Re: Will higher shared_buffers improve tpcb-like benchmarks? |