Re: Vacuum template databases, Urgent: Production probl - Mailing list pgsql-performance

From mcelroy, tim
Subject Re: Vacuum template databases, Urgent: Production probl
Date
Msg-id 0C4841B42F87D51195BD00B0D020F5CB044B2472@morpheus.bostonstock.com
Whole thread Raw
Responses Re: Vacuum template databases, Urgent: Production probl
Re: Vacuum template databases, Urgent: Production probl
List pgsql-performance

Humm, well I am running 8.0.1 and use that option and see the following in my vacuum output log:

vacuumdb: vacuuming database "template1"

So I would assume that it is being vacuumed?  Maybe I'm wrong.  If so, we should be upgrading soon and it won't be an issue.

Thanks,
Tim

 -----Original Message-----
From:   Jim C. Nasby [mailto:jnasby@pervasive.com]
Sent:   Tuesday, March 14, 2006 4:17 PM
To:     mcelroy, tim
Cc:     'Tom Lane'; pgsql-performance@postgresql.org
Subject:        Re: [PERFORM] Vacuum template databases, Urgent: Production probl

On Tue, Mar 14, 2006 at 12:28:17PM -0500, mcelroy, tim wrote:
> If one adds the '-a' arg to vacuumdb wouldn't that vacuum all databases
> including template1?

It does on 8.1...

decibel@phonebook.1[15:15]~:18%vacuumdb -va | & grep template1
vacuumdb: vacuuming database "template1"
decibel@phonebook.1[15:16]~:19%

Try it and find out.
--
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461

pgsql-performance by date:

Previous
From: "Jim C. Nasby"
Date:
Subject: Re: Vacuum template databases, Urgent: Production probl
Next
From: "Jim C. Nasby"
Date:
Subject: Re: Vacuum template databases, Urgent: Production probl