[Patch] change the default value of shared_buffers in postgresql.conf.sample

Поиск
Список
Период
Сортировка
От zhangjie2@fujitsu.com
Тема [Patch] change the default value of shared_buffers in postgresql.conf.sample
Дата
Msg-id TYWPR01MB7678772FD8640C404F1DC882F9079@TYWPR01MB7678.jpnprd01.prod.outlook.com
обсуждение исходный текст
Ответы Re: [Patch] change the default value of shared_buffers in postgresql.conf.sample  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi all

In PostgreSQL 14, The default value of shared_buffers is 128MB, but in postgresql.conf.sample, the default value of
shared_buffersis 32MB.
 

I think the following changes should be made.

File: postgresql\src\backend\utils\misc\ postgresql.conf.sample
#shared_buffers = 32MB  =>  #shared_buffers = 128MB

[PostgreSQL 14]
shared_buffers (integer)
Sets the amount of memory the database server uses for shared memory buffers. The default is typically 128 megabytes
(128MB)
https://www.postgresql.org/docs/14/runtime-config-resource.html

--------------------------------------------------------------------
In PostgreSQL 9.2, The default value of shared_buffers is 32MB.

[PostgreSQL 9.2]
shared_buffers (integer)
Sets the amount of memory the database server uses for shared memory buffers. The default is typically 32 megabytes
(32MB)
https://www.postgresql.org/docs/9.2/runtime-config-resource.html

Here is a patch.

Best Regards!



Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Can a child process detect postmaster death when in pg_usleep?
Следующее
От: "tanghy.fnst@fujitsu.com"
Дата:
Сообщение: RE: Added schema level support for publication.