Re: transactoin id wraparound problem - Mailing list pgsql-admin

From Sriram Dandapani
Subject Re: transactoin id wraparound problem
Date
Msg-id 6992E470F12A444BB787B5C937B9D4DF05ABC97A@ca-mail1.cis.local
Whole thread Raw
In response to transactoin id wraparound problem  ("Sriram Dandapani" <sdandapani@counterpane.com>)
List pgsql-admin
Many thanks for this suggestion.

Vacuumdb -U <superuser> -a  finished in 3 hours

Regards

Sriram

-----Original Message-----
From: Alvaro Herrera [mailto:alvherre@commandprompt.com]
Sent: Thursday, September 07, 2006 7:03 AM
To: Sriram Dandapani
Cc: Scott Marlowe; Tom Lane; pgsql-admin@postgresql.org
Subject: Re: [ADMIN] transactoin id wraparound problem

Sriram Dandapani wrote:
> Ihave a 60Gb db on which I issued a vacuumdb -a call as a superuser.
It
> as been running for about 20 hours. (All client connections have been
> disabled as well as jobs that access any table). I see 0% cpu
> utilization. The vacuumdb process by itself takes about 10% memory and
> postgres uses very little cpu and some io.(10-20%).
>
> Is there a way to tell vacuumdb to use more resources so it can run
> faster?

Maybe you have the vacuum cost delay parameters set?  IIRC you should
drop vacuum_cost_delay to 0 if you want it to run as fast as possible.

--
Alvaro Herrera
http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

pgsql-admin by date:

Previous
From: "Lane Van Ingen"
Date:
Subject: Re: Activating Contributions in 8.1.4
Next
From: "Chris Hoover"
Date:
Subject: Re: Why so long between archive calls?