Preventing connections during vacuum and reindex

Поиск
Список
Период
Сортировка
От CSN
Тема Preventing connections during vacuum and reindex
Дата
Msg-id 20041115233425.59839.qmail@web52902.mail.yahoo.com
обсуждение исходный текст
Список pgsql-general
I run these commands automatically every night:
vacuumdb -a -z -U postgres
reindexdb -a -U postgres

Is there a way to temporarily disable all other
connections to Postgres until these operations are
complete? The operations take a while (about 20
minutes) and connections really pile up, sometimes
crashing the server.

Thanks,
CSN




__________________________________
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com



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

Предыдущее
От: Chris Browne
Дата:
Сообщение: Re: 24x7x365 high-volume ops ideas
Следующее
От: Bjørn T Johansen
Дата:
Сообщение: Schemas?