From: Bruno Wolff III <bruno@wolff.to>
To: Tomeh, Husam <htomeh@firstam.com>
Cc: Joshua D. Drake <jd@commandprompt.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Partitioning Option?
Date: Wed, 23 Feb 2005 13:48:42 -0600
Message-ID: <20050223194842.GB20776@wolff.to> (raw)
In-Reply-To: <C45835824D00A844BBD0F032D5CDED9212FC75@pisgana01sxch01.ana.firstamdata.com>
References: <C45835824D00A844BBD0F032D5CDED9212FC75@pisgana01sxch01.ana.firstamdata.com>
On Wed, Feb 23, 2005 at 10:54:50 -0800,
"Tomeh, Husam" <htomeh@firstam.com> wrote:
> Thanks Josh, I'll check out the namespace concept.
>
> (I was referring to object partitioning. For instance, if I have a huge
> table with US counties as my partition key, I could create partitions
> within the same table based on the partition key (a US county for
> example). When querying, the engine will access the partition instead of
> the whole table to get the result set. This is provided in Oracle DB EE.
> So, I was wondering whether I can do similar thing in PostgreSQL since
> we're exploring PostgreSQL)
You have to do it by hand and you won't get the full savings.
The idea is to create tables for each partition. Then create a UNION ALL
view of the tables, incorporating the key condition that applies for
each table.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: bruno@wolff.to, htomeh@firstam.com, jd@commandprompt.com
Subject: Re: Partitioning Option?
In-Reply-To: <20050223194842.GB20776@wolff.to>
References: <C45835824D00A844BBD0F032D5CDED9212FC75@pisgana01sxch01.ana.firstamdata.com> <20050223194842.GB20776@wolff.to>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox