Re: Partitioning and deadlocks - Mailing list pgsql-admin

From Scott Marlowe
Subject Re: Partitioning and deadlocks
Date
Msg-id dcc563d10710231151r16e66a52wb0f917c37aaf5776@mail.gmail.com
Whole thread Raw
In response to Re: Partitioning and deadlocks  ("Brad King" <brad.king@channeladvisor.com>)
Responses Re: Partitioning and deadlocks  ("Brad King" <brad.king@channeladvisor.com>)
List pgsql-admin
On 10/23/07, Brad King <brad.king@channeladvisor.com> wrote:
> Let me re-phrase this to see if I can get any response. Has anyone used
> partitioning with inheritance successfully ? Can you point to any
> specific concurrency strategies for garbage collecting old partitions on
> a live system ? Thank you.

I've never truncated on a live one.  It is pretty easy to just update
the update/insert rules/triggers to ignore the old table, then drop
it.  I'm guessing you could do that, then recreate the table and get
good performance.

pgsql-admin by date:

Previous
From: Martin Strejc
Date:
Subject: pg_toast
Next
From: "Scott Marlowe"
Date:
Subject: Re: Postgres SQL Client for Suse Linux