Re: archive logs recovery

From: "Sriram Dandapani" <sdandapani(at)counterpane(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: archive logs recovery
Date: 2006-08-31 20:27:02
Message-ID: 6992E470F12A444BB787B5C937B9D4DF05ABC4C2@ca-mail1.cis.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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:tgl(at)sss(dot)pgh(dot)pa(dot)us]
Sent: Thursday, August 31, 2006 1:20 PM
To: Sriram Dandapani
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: [ADMIN] archive logs recovery

"Sriram Dandapani" <sdandapani(at)counterpane(dot)com> 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

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2006-08-31 20:36:39 Re: archive logs recovery
Previous Message Tom Lane 2006-08-31 20:19:35 Re: archive logs recovery