Re: [GENERAL] HELP: Urgent, Vacuum problem

2006-12-06 Thread Martijn van Oosterhout
On Wed, Dec 06, 2006 at 10:45:08AM -0500, Schwenker, Stephen wrote: > ... I know it's not > the best solution but I couldn't get an answer fast enough because every > time I send an email to the list, I get a message saying it was stalled > and I have to wait for it to be approved by the moderator

Re: [GENERAL] HELP: Urgent, Vacuum problem

2006-12-06 Thread Schwenker, Stephen
From: Scott Marlowe [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 05, 2006 4:09 PM To: Glen Parker Cc: Schwenker, Stephen; pgsql general Subject: Re: [GENERAL] HELP: Urgent, Vacuum problem On Tue, 2006-12-05 at 14:56, Glen Parker wrote: > Scott Marlowe wrote: > > On Mon, 2006-12-04

Re: [GENERAL] HELP: Urgent, Vacuum problem

2006-12-06 Thread Scott Marlowe
On Wed, 2006-12-06 at 10:15, Vivek Khera wrote: > On Dec 5, 2006, at 4:09 PM, Scott Marlowe wrote: > > > I recently tossed 8.1 on my workstation which runs a little reporting > > application here. I pointed the app from 7.4 to 8.1 and got a visit > > within about an hour from a user, asking if I'

Re: [GENERAL] HELP: Urgent, Vacuum problem

2006-12-06 Thread Vivek Khera
On Dec 5, 2006, at 4:09 PM, Scott Marlowe wrote: I recently tossed 8.1 on my workstation which runs a little reporting application here. I pointed the app from 7.4 to 8.1 and got a visit within about an hour from a user, asking if I'd done anything to my database. Worrying that I'd made some

Re: [GENERAL] HELP: Urgent, Vacuum problem

2006-12-05 Thread Scott Marlowe
On Tue, 2006-12-05 at 14:56, Glen Parker wrote: > Scott Marlowe wrote: > > On Mon, 2006-12-04 at 09:56, Schwenker, Stephen wrote: > >> I'm using version 7.4.2 on solaris. > > > > A few points: > > > > 4: Look at migrating to 8.1 or even 8.2 (due out real soon now). There > > have been a lot of

Re: [GENERAL] HELP: Urgent, Vacuum problem

2006-12-05 Thread Glen Parker
Scott Marlowe wrote: On Mon, 2006-12-04 at 09:56, Schwenker, Stephen wrote: I'm using version 7.4.2 on solaris. A few points: 4: Look at migrating to 8.1 or even 8.2 (due out real soon now). There have been a lot of advances in pg since 7.4, and the upgrade is pretty painless as long as the

Re: [GENERAL] HELP: Urgent, Vacuum problem

2006-12-05 Thread Scott Marlowe
I'm pretty sure reindexing a table takes out an exclusive lock, which means you might wanna wait til off hours to do one. On Tue, 2006-12-05 at 13:26, John Sidney-Woollett wrote: > To recover disk space, reindex the heavily updated tables. You can do > this while the database is in production. >

Re: [GENERAL] HELP: Urgent, Vacuum problem

2006-12-05 Thread John Sidney-Woollett
To recover disk space, reindex the heavily updated tables. You can do this while the database is in production. Check the REINDEX command. John Schwenker, Stephen wrote: Hello, I'm having a major Vacuuming problem. I used to do a full vacuum every morning on my postgres database to clean

Re: [GENERAL] HELP: Urgent, Vacuum problem

2006-12-05 Thread Tom Lane
"Schwenker, Stephen" <[EMAIL PROTECTED]> writes: > To fix that problem, I have turned off the full vacuum and are just > doing a standard analyze vacuum. Good. > No I'm getting very close to running > out of space on my disks because the table keeps on growing and the > database is not re-using d

Re: [GENERAL] HELP: Urgent, Vacuum problem

2006-12-05 Thread Scott Marlowe
On Mon, 2006-12-04 at 09:56, Schwenker, Stephen wrote: > Hello, > > I'm having a major Vacuuming problem. I used to do a full vacuum > every morning on my postgres database to clean up empty space on a > table but because of it's size, the locking of the database causes my > application server t

Re: [GENERAL] HELP: Urgent, Vacuum problem

2006-12-05 Thread Alvaro Herrera
Schwenker, Stephen wrote: > I'm having a major Vacuuming problem. I used to do a full vacuum every > morning on my postgres database to clean up empty space on a table but > because of it's size, the locking of the database causes my application > server to max out the database connections and ca

Re: [GENERAL] HELP: Urgent, Vacuum problem

2006-12-05 Thread Bradley Russell
We had the same problem recently on our data warehouse. Check out the reindex and cluster commands. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Schwenker, Stephen Sent: Monday, December 04, 2006 9:56 AM To: pgsql-general@PostgreSQL.org Subject: [G