Re: Vacuum template databases, Urgent: Production probl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Title: RE: [PERFORM] Vacuum template databases, Urgent: Production probl

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@xxxxxxxxxxxxx]
Sent:   Tuesday, March 14, 2006 4:17 PM
To:     mcelroy, tim
Cc:     'Tom Lane'; pgsql-performance@xxxxxxxxxxxxxx
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@xxxxxxxxxxx[15:15]~:18%vacuumdb -va | & grep template1
vacuumdb: vacuuming database "template1"
decibel@xxxxxxxxxxx[15:16]~:19%

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


[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux