Re: Problems backing up

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Problems backing up
Дата
Msg-id 14282.1264964558@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Problems backing up  (Sebastien Boisvert <sebastienboisvert@yahoo.com>)
Ответы Re: Problems backing up  (Sebastien Boisvert <sebastienboisvert@yahoo.com>)
Список pgsql-general
Sebastien Boisvert <sebastienboisvert@yahoo.com> writes:
> [ COPY fails to dump a 138MB bytea column ]

If you can't switch to a 64-bit build of Postgres, you might need to
think about converting those byteas to large objects.  It's expected for
COPY to require memory space equal to several times the width of the row
it's trying to dump, because it has to have multiple copies of the row
data in order to do format conversion.  In this case the required space
seems to be going well past 1GB, so I wonder whether you are doing
anything that exacerbates the memory requirement, for instance by
forcing an encoding conversion to something other than the database's
server_encoding.

But having said that, it seems a bit odd that it is failing at what
seems to be only around 2GB of memory demand.  Even in a 32-bit build
I'd expect there to be enough address space for that, especially in
view of your very small (arguably too small) shared_buffers setting.
Are you sure the postmaster is really being started with 'unlimited'
ulimits?

            regards, tom lane

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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: Versions RSS page is missing version(s)
Следующее
От: Mads Lie Jensen
Дата:
Сообщение: Which version will this run on?