Re: vacuuming not working?

Поиск
Список
Период
Сортировка
От David Esposito
Тема Re: vacuuming not working?
Дата
Msg-id PEEDKNLDICKECFBNGNLLIELLEPAA.dvesposito@newnetco.com
обсуждение исходный текст
Ответ на Re: vacuuming not working?  ("David Esposito" <dvesposito@newnetco.com>)
Список pgsql-general
damnit ... i hit send too soon .. ;)

blahdb=# vacuum full verbose analyze test_high_turnover;
NOTICE:  --Relation test_high_turnover--
NOTICE:  Pages 1061: Changed 0, reaped 101, Empty 0, New 0; Tup 60000: Vac
0, Keep/VTL 60000/0, UnUsed 5013, MinLen 123, MaxLen 125; Re-using:
Free/Avail. Space 756440/641816; EndEmpty/Avail. Pages 0/84.
        CPU 0.09s/0.02u sec elapsed 0.10 sec.
NOTICE:  Rel test_high_turnover: Pages: 1061 --> 981; Tuple(s) moved: 4989.
        CPU 0.05s/0.04u sec elapsed 0.17 sec.
NOTICE:  Analyzing test_high_turnover
VACUUM


> -----Original Message-----
> From: David Esposito [mailto:dvesposito@newnetco.com]
> Sent: Monday, April 08, 2002 3:09 PM
> To: Andrew Sullivan
> Cc: pgsql-general@postgresql.org
> Subject: RE: [GENERAL] vacuuming not working?
>
>
> Is there some sort of time delay involved with VACUUM that I
> should be aware of? I ran a VACUUM FULL on the table that I had
> run the test on this morning and sure enough, it shrunk down to
> zero size (there were no rows in the table) but then I reran the
> test and then ran VACUUM FULL and it DID NOT shrink the file on disk ...
>
> Is there some sort of cache or something that's never getting
> timed out (the out of control 500 meg table file i made mention
> of, gets dumped and repopulated every 2 minutes ... is there
> something that's never getting removed from a LRU cache?)
>
> Here's my VACUUM command ...
>
>
> > -----Original Message-----
> > From: Andrew Sullivan [mailto:andrew@libertyrms.com]On Behalf Of Andrew
> > Sullivan
> > Sent: Monday, April 08, 2002 2:55 PM
> > To: David Esposito
> > Subject: Re: [GENERAL] vacuuming not working?
> >
> >
> > On Mon, Apr 08, 2002 at 01:40:48PM -0400, David Esposito wrote:
> > > Me again,
> > >
> > > I have a problem with VACUUM. I searched the list and don't
> seem to see
> > > anyone else reporting this behavior so I'm wondering if i'm
> > doing something
> > > wrong
> > >
> > > Summary: Vacuuming does not seem to mark the space as
> > "available for reuse"
> > > as the documentation says.
> >
> > You haven't read the documentation carefully enough, or else you're
> > reading old docs.
> >
> > > Platform: Postgres 7.2.1 on RedHat 7.0
> >                        ^
> > > The problem is that the file on disk is over 500 megs! and it
> > appears to be
> > > growing pretty much without bound ... I do a VACUUM every night (not a
> > > VACUUM FULL, just a straight VACUUM)
> >   ^^^^^^^^^^^
> >
> > Only the VACUUM FULL makes the disk space available for reuse (by
> > other programs; postgres will be able to reuse some of the space with
> > lazy VACUUM).
> >
> > A
> >
> > --
> > ----
> > Andrew Sullivan                               87 Mowat Avenue
> > Liberty RMS                           Toronto, Ontario Canada
> > <andrew@libertyrms.info>                              M6K 3E3
> >                                          +1 416 646 3304 x110
> >


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

Предыдущее
От: "David Esposito"
Дата:
Сообщение: Re: vacuuming not working?
Следующее
От: Michael Adler
Дата:
Сообщение: Re: inherited columns as foreign keys WAS "no subject"