Re: Partitioning and deadlocks

From: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
To: "Brad King" <brad(dot)king(at)channeladvisor(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Partitioning and deadlocks
Date: 2007-10-23 18:51:01
Message-ID: dcc563d10710231151r16e66a52wb0f917c37aaf5776@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On 10/23/07, Brad King <brad(dot)king(at)channeladvisor(dot)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.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Scott Marlowe 2007-10-23 20:38:04 Re: Postgres SQL Client for Suse Linux
Previous Message Tom Lane 2007-10-23 14:25:36 Re: How to find the link between a table and her indexes??