Re: [ADMIN] vacuumdb in parallel

2009-10-15 Thread Simon Riggs
On Thu, 2009-10-15 at 09:24 -0300, Alvaro Herrera wrote: > Simon Riggs escribió: > > On Wed, 2009-10-14 at 13:57 -0300, Alvaro Herrera wrote: > > > Anj Adu escribió: > > > > > > > I have several "daily" tables that get dropped every day..Is there a > > > > wildcard that I can use to tell vacuumdb

Re: [ADMIN] vacuumdb in parallel

2009-10-15 Thread Alvaro Herrera
Simon Riggs escribió: > On Wed, 2009-10-14 at 13:57 -0300, Alvaro Herrera wrote: > > Anj Adu escribió: > > > > > I have several "daily" tables that get dropped every day..Is there a > > > wildcard that I can use to tell vacuumdb NOT to vacuum those > > > tables... > > > > No. You need to do "INS

Re: [ADMIN] vacuumdb in parallel

2009-10-15 Thread Simon Riggs
On Wed, 2009-10-14 at 13:57 -0300, Alvaro Herrera wrote: > Anj Adu escribió: > > > I have several "daily" tables that get dropped every day..Is there a > > wildcard that I can use to tell vacuumdb NOT to vacuum those > > tables... > > No. You need to do "INSERT INTO pg_autovacuum" (or ALTER TABL

Re: [ADMIN] vacuumdb in parallel

2009-10-14 Thread Alvaro Herrera
Anj Adu escribió: > I have several "daily" tables that get dropped every day..Is there a > wildcard that I can use to tell vacuumdb NOT to vacuum those > tables... No. You need to do "INSERT INTO pg_autovacuum" (or ALTER TABLE/SET in 8.4) just after you've created the table. -- Alvaro Herrera

Re: [ADMIN] vacuumdb in parallel

2009-10-14 Thread Anj Adu
Thanks I have several "daily" tables that get dropped every day..Is there a wildcard that I can use to tell vacuumdb NOT to vacuum those tables...i.e my goal is to ensure that vacuumdb vacuums the entire database (minus the daily tables that get dropped) so that the XID wraparound value gets re

Re: [ADMIN] vacuumdb in parallel

2009-10-14 Thread Scott Marlowe
On Wed, Oct 14, 2009 at 1:34 AM, Simon Riggs wrote: > On Tue, 2009-10-13 at 19:40 -0600, Scott Marlowe wrote: >> On Tue, Oct 13, 2009 at 7:29 PM, Anj Adu wrote: >> > I am running Postgres 8.1.9 on an 8 core Xeon 5430 box that is showing >> > single digit CPU and IO utilization. the database size

Re: [ADMIN] vacuumdb in parallel

2009-10-14 Thread Simon Riggs
On Tue, 2009-10-13 at 19:40 -0600, Scott Marlowe wrote: > On Tue, Oct 13, 2009 at 7:29 PM, Anj Adu wrote: > > I am running Postgres 8.1.9 on an 8 core Xeon 5430 box that is showing > > single digit CPU and IO utilization. the database size is 820G . > > Vacuum_cost_delay=0 and maintenance_mem = 90

Re: [ADMIN] vacuumdb in parallel

2009-10-13 Thread Scott Marlowe
On Tue, Oct 13, 2009 at 7:29 PM, Anj Adu wrote: > I am running Postgres 8.1.9 on an 8 core Xeon 5430 box that is showing > single digit CPU and IO utilization. the database size is 820G . > Vacuum_cost_delay=0 and maintenance_mem = 900M > > Is there an option to vacuumdb or a way to make it run pa

[ADMIN] vacuumdb in parallel

2009-10-13 Thread Anj Adu
I am running Postgres 8.1.9 on an 8 core Xeon 5430 box that is showing single digit CPU and IO utilization. the database size is 820G . Vacuum_cost_delay=0 and maintenance_mem = 900M Is there an option to vacuumdb or a way to make it run parallel threads. -- Sent via pgsql-admin mailing list (pg