Preventing connections during vacuum and reindex

From: CSN <cool_screen_name90001(at)yahoo(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Preventing connections during vacuum and reindex
Date: 2004-11-15 23:34:24
Message-ID: 20041115233425.59839.qmail@web52902.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-general by date

  From Date Subject
Next Message Harvey, Allan AC 2004-11-15 23:39:10 Re: table configuration tweak for performance gain.
Previous Message Bjørn T Johansen 2004-11-15 23:34:22 Schemas?