Re: Vacuum template databases, Urgent: Production probl

From: "mcelroy, tim" <tim(dot)mcelroy(at)bostonstock(dot)com>
To: "'Jim C(dot) Nasby'" <jnasby(at)pervasive(dot)com>
Cc: 'Tom Lane' <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Vacuum template databases, Urgent: Production probl
Date: 2006-03-14 21:19:37
Message-ID: 0C4841B42F87D51195BD00B0D020F5CB044B2472@morpheus.bostonstock.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)pervasive(dot)com]
Sent: Tuesday, March 14, 2006 4:17 PM
To: mcelroy, tim
Cc: 'Tom Lane'; pgsql-performance(at)postgresql(dot)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(at)phonebook(dot)1[15:15]~:18%vacuumdb -va | & grep template1
vacuumdb: vacuuming database "template1"
decibel(at)phonebook(dot)1[15:16]~:19%

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

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Jim C. Nasby 2006-03-14 21:24:11 Re: Vacuum template databases, Urgent: Production probl
Previous Message Jim C. Nasby 2006-03-14 21:16:35 Re: Vacuum template databases, Urgent: Production probl