Clarification Regarding Vacuum and template1

From: Ludwig Isaac Lim <ludz_lim(at)yahoo(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Clarification Regarding Vacuum and template1
Date: 2006-02-07 15:05:23
Message-ID: 20060207150523.3386.qmail@web33112.mail.mud.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi :

Saw this post on BUGS mailing list :

"Olleg Samoylov" <olleg_s ( at ) mail ( dot ) ru> writes:
>> Opps, template1 must not be vacuumed.

>Says who?

>If we didn't vacuum template1 then it would be subject to
>XID wraparound
>problems, unless it had never been modified, which is
>something vacuumdb
>can't count on.

> regards, tom lane

Under normal circumstances, there's no need to vacuum
template1 right? Its quite difficult to imagine XID
wraparound problems occuring in template1. I can't think
how can 4 billion transactions occur in template1 if
template1 is just used as a template in creating a new
database.

Am I missing something here?

Thank you very much,

ludwig lim

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Nikolay Samokhvalov 2006-02-07 15:13:14 Re: Sequences/defaults and pg_dump
Previous Message Tom Lane 2006-02-07 14:59:46 Re: Trying to auto start Postgres when server boots up