Re: Auto Partitioning - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: Auto Partitioning
Date
Msg-id 1175699272.3623.171.camel@silverbirch.site
Whole thread Raw
In response to Re: Auto Partitioning  (Markus Schiltknecht <markus@bluegap.ch>)
Responses Re: Auto Partitioning
List pgsql-hackers
On Wed, 2007-04-04 at 16:31 +0200, Markus Schiltknecht wrote:

> But how to create an (unique) index which is completely different from 
> the partitioning key?

Don't?

Most high volume tables are Fact tables with potentially more than 1 row
per Object/Dimension, so the unique index isn't appropriate in those
cases.

When partitioning a Major Entity its much easier to regard the PK as the
partitioning key + unique key, which is frequently possible, even if it
does break the exhortation against intelligent keys.

I wouldn't stand in the way of someone trying to add that functionality,
but I would describe the use case as fairly narrow.

--  Simon Riggs              EnterpriseDB   http://www.enterprisedb.com




pgsql-hackers by date:

Previous
From: Markus Schiltknecht
Date:
Subject: Re: Auto Partitioning
Next
From: Tom Lane
Date:
Subject: Re: Bug in UTF8-Validation Code?