Re: Huge memory consumption during vacuum (v.8.0)

Поиск
Список
Период
Сортировка
От Oleg Bartunov
Тема Re: Huge memory consumption during vacuum (v.8.0)
Дата
Msg-id Pine.GSO.4.62.0501301019100.6701@ra.sai.msu.su
обсуждение исходный текст
Ответ на Re: Huge memory consumption during vacuum (v.8.0)  (Oleg Bartunov <oleg@sai.msu.su>)
Ответы Re: Huge memory consumption during vacuum (v.8.0)  (Oleg Bartunov <oleg@sai.msu.su>)
Список pgsql-hackers
On Sun, 30 Jan 2005, Oleg Bartunov wrote:

> On Sun, 30 Jan 2005, Tom Lane wrote:
>
>> Oleg Bartunov <oleg@sai.msu.su> writes:
>>> On Sun, 30 Jan 2005, Tom Lane wrote:
>>>> I'm confused.  The log trace you showed us before appeared to be from
>>>> a non-FULL vacuum, but here you're saying it's VACUUM FULL.  Which is
>>>> it ... or did you change?
>> 
>>> Yes, first time I tried vacuum from withing psql, next time I decided
>>> to run vacuumdb and seems changed option.
>> 
>> Um.  Well, a VACUUM FULL is going to build in-memory data structures
>> that represent *all* of the usable free space in a table.  I don't
>> actually think that VACUUM FULL is useful on an enormous table ... you
>> want to keep after it with routine plain VACUUMs, instead.
>
> ok. I'll try without FULL, but if memory does not fail me postmaster was
> also greedy. Let's see

Seems, postmaster eats expected amount of memory now ! Will see how long
it will proceeded. Probably, my case should be documented somewhere.

>
>> 
>> Another possibility is to use CLUSTER or a rewriting ALTER TABLE to
>> shrink the space, but be aware that this requires a transient second
>> copy of the table and indexes.

I aware, but I don't so much free space :)

Is there TODO for scaling VACUUM FULL ?



>> 
>>             regards, tom lane
>> 
>
>     Regards,
>         Oleg
> _____________________________________________________________
> Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
> Sternberg Astronomical Institute, Moscow University (Russia)
> Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
> phone: +007(095)939-16-83, +007(095)939-23-83
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
>              http://www.postgresql.org/docs/faq
>
    Regards,        Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83


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

Предыдущее
От: Oleg Bartunov
Дата:
Сообщение: Re: Huge memory consumption during vacuum (v.8.0)
Следующее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: Implementing Bitmap Indexes