Re: database vacuum

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: database vacuum
Дата
Msg-id 24793.1094528769@sss.pgh.pa.us
обсуждение исходный текст
Ответ на database vacuum  (NH Lau <nhlau2k@yahoo.com>)
Список pgsql-admin
NH Lau <nhlau2k@yahoo.com> writes:
> I would like to know
> whether we should vacuum the template1 and template0
> database as well, in addition to the normal database
> we created.

template0 no --- in fact you wouldn't even be able to connect to it to
do so (and I do not recommend overriding the check that prevents that).

template1 yes.  You could skip this if you know that template1 has never
been modified since it was frozen ... but why assume that?

The vacuumdb script gets this right btw.

            regards, tom lane

В списке pgsql-admin по дате отправления:

Предыдущее
От: NH Lau
Дата:
Сообщение: database vacuum
Следующее
От: "H.J. Sanders"
Дата:
Сообщение: missing function