I have a very high traffic db with lots of table partitions. The only
reliable way to drop the partitioned tables is to prevent any
insert/select on the parent table , otherwise, the drop table locks out
the inserts, and strangely enough, the drop table command goes into a
wait state. During shutdown and restart, I switch the pg_hba.conf to
disallow client access for a brief period when the tables are dropped.

-----Original Message-----
From: Tom Lane [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 31, 2006 1:20 PM
To: Sriram Dandapani
Cc: [email protected]
Subject: Re: [ADMIN] archive logs recovery 

"Sriram Dandapani" <[EMAIL PROTECTED]> writes:
> I have a situation where the database needs to be restarted
> periodically. Will this affect recovery of a database using a base
> online backup that took place earlier than the restart.

No.  But why do you need to shut down the database?  Most people
around here seem to want 24x7 operation ...

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
       subscribe-nomail command to [EMAIL PROTECTED] so that your
       message can get through to the mailing list cleanly

Reply via email to