Re: Memory usage during vacuum

Поиск
Список
Период
Сортировка
От Shelby Cain
Тема Re: Memory usage during vacuum
Дата
Msg-id 20040325170831.72443.qmail@web41605.mail.yahoo.com
обсуждение исходный текст
Ответ на Re: Memory usage during vacuum  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Memory usage during vacuum
Список pgsql-general
I apologize for my original post being unclear.  I'm
running "vacuum analyze" and seeing the behavior
mentioned.  Does specifying the analyze option imply
"vacuum full"?

On a hunch I just ran analyze <really big table> and
the backend's memory usage soared up to 100+ megs.  I
suspect that means it isn't the vacuum but the analyze
that is eating all my precious ram.  :)

Any tips on minimizing the memory footprint during
analyze (ie: backing off the 300 setting that I'm
currently using) or is this just something I'll have
to live with?

Regards,

Shelby Cain


--- Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> Don't use VACUUM FULL.  The vacuum_mem setting only
> limits the space
> consumed by plain VACUUM --- VACUUM FULL needs to
> keep track of all the
> free space in the table, and will eat as much memory
> as it has to to do
> that.
>
>             regards, tom lane


__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: bug in delete rule ?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: conversion_create.sql (Related to BUG#1072)