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 0C4841B42F87D51195BD00B0D020F5CB044B246C@morpheus.bostonstock.com
Whole thread Raw
Responses Re: Vacuum template databases, Urgent: Production probl
List pgsql-performance

If one adds the '-a' arg to vacuumdb wouldn't that vacuum all databases including template1?

Tim

 -----Original Message-----
From:   pgsql-performance-owner@postgresql.org [mailto:pgsql-performance-owner@postgresql.org]  On Behalf Of Tom Lane
Sent:   Tuesday, March 14, 2006 12:28 PM
To:     Pallav Kalva
Cc:     pgsql-performance@postgresql.org
Subject:        Re: [PERFORM] Vacuum template databases, Urgent: Production problem

Pallav Kalva <pkalva@livedatagroup.com> writes:
>    Do we have to vacuum template0 database regularly ?

No, and in fact you can't because it's marked not datallowconn.
But you do need to vacuum template1 and usps every now and then.

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
       subscribe-nomail command to majordomo@postgresql.org so that your
       message can get through to the mailing list cleanly

pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: Vacuum template databases, Urgent: Production problem
Next
From: "andremachado"
Date:
Subject: firebird X postgresql 8.1.2 windows, performance comparison