Re: PostGreSQL 8.1.0 : out of memory during vacuum full analyze

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PostGreSQL 8.1.0 : out of memory during vacuum full analyze
Дата
Msg-id 1886.1134400609@sss.pgh.pa.us
обсуждение исходный текст
Ответ на PostGreSQL 8.1.0 : out of memory during vacuum full analyze  (DANTE ALEXANDRA <ALEXANDRA.DANTE@BULL.NET>)
Список pgsql-general
DANTE ALEXANDRA <ALEXANDRA.DANTE@BULL.NET> writes:
> Then, on each table, I have launched the "VACUUM FULL ANALYZE" command
> as a non-root user.
> This command failed on the last table, the biggest, called "lineitem"
> which contains 1799989091 rows (near 300 Gb of datas).

VACUUM FULL requires workspace proportional to the number of blocks in
the table.  You probably need to bump up the kernel's per-process memory
limit (see ulimit and so on) if you want to VACUUM FULL such a large table.

My advice: you shouldn't be using VACUUM FULL anyway.  Quite aside from
the memory issue, it's likely to take forever and a day.

            regards, tom lane

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

Предыдущее
От: Mark Mitchenall
Дата:
Сообщение: Re: TSearch2: Auto identify document language?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: PL/pgSQL : notion of deferred execution