Re: Automating Partitions in PostgreSQL - Query on syntax - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Automating Partitions in PostgreSQL - Query on syntax
Date
Msg-id 603c8f070904210843r22ed4400q8c534f48269e85bf@mail.gmail.com
Whole thread Raw
In response to Re: Automating Partitions in PostgreSQL - Query on syntax  (Kedar Potdar <kedar.potdar@gmail.com>)
Responses Re: Automating Partitions in PostgreSQL - Query on syntax  (Csaba Nagy <nagy@ecircle-ag.com>)
List pgsql-hackers
On Tue, Apr 21, 2009 at 9:38 AM, Kedar Potdar <kedar.potdar@gmail.com> wrote:
> Currently, such records are left in the overflow partition and its
> responsibility
> of user to insert them into partitioned-table which will then re-direct
> those to
> appropriate partitions.

This doesn't sound like a very good idea, because the planner cannot
then rely on the overflow table not containing tuples that ought to be
within some other partition.

The big win that is associated with table partitioning is using
constraint exclusion to avoid unnecessary partitions scans.

...Robert


pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: New trigger option of pg_standby
Next
From: Bruce Momjian
Date:
Subject: Re: [ADMIN] License Issue