Re: DROP OWNED BY fails with #53200: ERROR: out of shared memory

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: DROP OWNED BY fails with #53200: ERROR: out of shared memory
Дата
Msg-id CAKFQuwagvaUqqj1hyQXMU8Koqzj0ZK6Q61DJDvYzn-dw0otT9A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: DROP OWNED BY fails with #53200: ERROR: out of shared memory  (Dominique Devienne <ddevienne@gmail.com>)
Ответы Re: DROP OWNED BY fails with #53200: ERROR: out of shared memory  (Adrian Klaver <adrian.klaver@aklaver.com>)
Re: DROP OWNED BY fails with #53200: ERROR: out of shared memory  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Mon, Jan 10, 2022 at 12:09 PM Dominique Devienne <ddevienne@gmail.com> wrote:
Given  max_locks_per_transaction * (max_connections + max_prepared_transactions) from 
https://www.postgresql.org/docs/current/runtime-config-locks.html, and max_conn being 100, that's not many locks.

Tom wrote "relation" for the number of locks necessary for DROP OWNED BY.
What does it mean in this context? relation = table?


I'm confused here a bit as well.  The items being talked about are tables and indexes, both of which manifest as files on the filesystem.  But not all relations do (e.g., views).  But if this isn't tied to the filesystem then I would expect that other object types, especially functions, would require locking as well, but those are decidedly not relations.
 
How do I determine the current value, and change it?

(you already used the SHOW command to determine the current value)

David J.

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: DROP OWNED BY fails with #53200: ERROR: out of shared memory
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: DROP OWNED BY fails with #53200: ERROR: out of shared memory