Thread: Vacuum

Vacuum

From
Tim Stoddard
Date:
When I delete 2k-3k of records from a table the vacuum process seems
to take forever.  I have let the vacuum run for 24 hours before with
not luck.

Can someone one explain to me what is going on?

--
Tim Stoddard
======================================================================

  Open Systems UNIX

  In a world without fences, who needs Gates? -- Unknown
======================================================================




Re: [SQL] Vacuum

From
Sascha Schumann
Date:
Funny, there is/was just a whole thread about that on hackers. There seem to
be some agreement that this will be reworked/faster in 6.6, but you cannot
avoid it currently. The main cause for this is the usage of indeces.

Did you pass -o -F to the postmaster? It can improve the speed of PostgreSQL
dramatically.

--

          Regards,

                            Sascha Schumann |
                                 Consultant | finger sas@schell.de
                                            | for PGP public key

Re: [SQL] Vacuum

From
Sascha Schumann
Date:
Funny, there is/was just a whole thread about that on hackers. There seem to
be some agreement that this will be reworked/faster in 6.6, but you cannot
avoid it currently. The main cause for this is the usage of indeces.

Did you pass -o -F to the postmaster? It can improve the speed of PostgreSQL
dramatically.

--

          Regards,

                            Sascha Schumann |
                                 Consultant | finger sas@schell.de
                                            | for PGP public key

Re: [SQL] Vacuum

From
Bruce Momjian
Date:
-- Start of included mail.

> On Thu, Mar 18, 1999 at 08:41:21AM -0600, Tim Stoddard wrote:
> > When I delete 2k-3k of records from a table the vacuum process seems
> > to take forever.  I have let the vacuum run for 24 hours before with
> > not luck.
> >
> > Can someone one explain to me what is going on?
>
> Funny, there is/was just a whole thread about that on hackers. There seem to
> be some agreement that this will be reworked/faster in 6.6, but you cannot
> avoid it currently. The main cause for this is the usage of indeces.
>
> Did you pass -o -F to the postmaster? It can improve the speed of PostgreSQL
> dramatically.

This vacuum speedup may be in 6.5, thanks to Vadim.

--
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026