Preventing connections during vacuum and reindex - Mailing list pgsql-general

From CSN
Subject Preventing connections during vacuum and reindex
Date
Msg-id 20041115233425.59839.qmail@web52902.mail.yahoo.com
Whole thread Raw
List 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 by date:

Previous
From: Chris Browne
Date:
Subject: Re: 24x7x365 high-volume ops ideas
Next
From: Bjørn T Johansen
Date:
Subject: Schemas?