Re: R: repeated out of shared memory error - not related tomax_locks_per_transaction

Поиск
Список
Период
Сортировка
От 066ce286@free.fr
Тема Re: R: repeated out of shared memory error - not related tomax_locks_per_transaction
Дата
Msg-id 1792205563.130550319.1532091999599.JavaMail.root@zimbra82-e14.priv.proxad.net
обсуждение исходный текст
Ответ на R: repeated out of shared memory error - not related to max_locks_per_transaction  ("Alfonso Moscato" <alfonso.moscato@merqurio.it>)
Ответы R: R: repeated out of shared memory error - not related to max_locks_per_transaction
Список pgsql-admin
What are your values for :

autovacuum_max_workers
max_prepared_transactions
block_size
wal_block_size

?

----- Mail original -----
De: "Alfonso Moscato" <alfonso.moscato@merqurio.it>
À: "MichaelDBA" <MichaelDBA@sqlexec.com>, "Lance' 'Campbell" <lance@illinois.edu>
Cc: pgsql-admin@lists.postgresql.org
Envoyé: Vendredi 20 Juillet 2018 14:39:01
Objet: R: repeated out of shared memory error - not related to max_locks_per_transaction




I thought it could have be.

Work_mem was 131mb and I reduced it to 60mb. Errors keep starting after one day and half.

Regards

alfonso





Da: MichaelDBA <MichaelDBA@sqlexec.com>
Inviato: venerdì 20 luglio 2018 14:36
A: Campbell, Lance <lance@illinois.edu>
Cc: Alfonso Moscato <alfonso.moscato@merqurio.it>; pgsql-admin@lists.postgresql.org
Oggetto: Re: repeated out of shared memory error - not related to max_locks_per_transaction



Perhaps your "work_mem" setting is causing the memory problems. Try reducing it to see if that alleviates the problem.

Regards,
Michael Vitale









Campbell, Lance

Friday, July 20, 2018 8:32 AM



I would also lookup the definition of shared buffers and effective cache. If I remember correctly you can think of
sharedbuffers as how much memory total PostgreSQL has to work with. Effective cache is how much memory is available for
PostgreSQLto run, shared buffers, as well as an estimate of how much memory is available to the OS to cache files in
memory.So effective cache should be equal to or larger than shared buffers. Effective cache is used to help with the
SQLplanning.  

Double check the documentation.

Lance

Sent from my iPad






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

Предыдущее
От: MichaelDBA
Дата:
Сообщение: Re: repeated out of shared memory error - not related to max_locks_per_transaction
Следующее
От: "Alfonso Moscato"
Дата:
Сообщение: R: R: repeated out of shared memory error - not related to max_locks_per_transaction