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 problem

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

Tim

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

Pallav Kalva <pkalva@xxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxx so that your
       message can get through to the mailing list cleanly


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

  Powered by Linux