Re: pg_dump: NOTICE: ShmemAlloc: out of memory

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_dump: NOTICE: ShmemAlloc: out of memory
Дата
Msg-id 13486.1050093112@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_dump: NOTICE: ShmemAlloc: out of memory  (Brad Paul <bradpaul.a.with@long.tail.bdp-optics.com>)
Ответы Re: pg_dump: NOTICE: ShmemAlloc: out of memory  (Mike Mascari <mascarm@mascari.com>)
Список pgsql-general
Brad Paul <bradpaul.a.with@long.tail.bdp-optics.com> writes:
> I'm trying to dump a database called stocks. I did:
> pg_dump stocks > stocks.sql
> pg_dump: NOTICE:  ShmemAlloc: out of memory pg_dump: Attempt to lock table
> "slab" failed.  ERROR:  LockAcquire: holder table out of memory

> This database has 3478 tables.

You probably need to increase max_locks_per_transaction.  Or better,
rethink your schema.  Thousands of tiny tables is usually a bad idea
compared to a smaller number of (properly indexed) tables.

            regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: How can I get a column INT4 to be UNSIGNED ?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: what is wrong with data type 'array' ?