Vacuum
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
======================================================================
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.
--
Regards,
Sascha Schumann |
Consultant | finger sas@schell.de
| for PGP public key
-- 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
I had same problem...tables that have heavy deletes/inserts start to eat up
tons of disk space and the vacuum seemed to hang. I posted too, but got no
replies...so my solution was to dump the table and delete the database and
recreate it all. Also I run the vaccum more often to avoid the prob in the
future...
-----Original Message-----
From: Tim Stoddard <tims@dcs.state.ar.us>
To: pgsql-general@postgresql.org.pgsql-sql@postgreSQL.org
<pgsql-general@postgresql.org.pgsql-sql@postgreSQL.org>
Date: Thursday, March 18, 1999 2:34 PM
Subject: [GENERAL] Vacuum
Show quoted text
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
======================================================================
Import Notes
Resolved by subject fallback