pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Matt Casters <Matt.Casters@advalvas.be>
To: Yann Michel <yann-postgresql@spline.de>
Cc: Matt Casters <matt.casters@advalvas.be>
Cc: pgsql-performance@postgresql.org
Subject: Re:
Date: Fri, 21 Jan 2005 13:51:02 +0100 (CET)
Message-ID: <36073.212.100.172.237.1106311862.squirrel@212.100.172.237> (raw)
In-Reply-To: <20050121123008.GA13904@zoom.spline.inf.fu-berlin.de>
References: <16153.193.190.212.113.1106213675.squirrel@193.190.212.113>
	<20050120142603.GM10437@ns.snowman.net>
	<33c6269f050120083177fa0e83@mail.gmail.com>
	<20050121001427.GA10806@wolff.to>
	<12670.193.190.212.113.1106297446.squirrel@193.190.212.113>
	<20050121123008.GA13904@zoom.spline.inf.fu-berlin.de>


>> > Some people have been doing it using a union view. There isn't actually
>> > a partition feature.
>>
>> Actually, there is.  If found this example on pgsql-performance:
>>
>> >>   CREATE TABLE super_foo ( partition NUMERIC, bar NUMERIC );
>> >>   ANALYZE super_foo ;
>> >>
>> >>   CREATE TABLE sub_foo1 () INHERITS ( super_foo );
> [...]
>> >>
>> >>   CREATE TABLE sub_foo2 () INHERITS ( super_foo );
> [...]
>> >>
>
> Yes, this could be used instead of a view. But there is one thing
> missing. You can't just insert into super_foo and aquire the "correct
> partition". You will still have to insert into the correct underlying
> table. "Real" partitioning will take care of correct partition
> selection.

This IS bad news.  It would mean a serious change in the ETL.
I think I can solve the other problems, but I don't know about this one...

Regards,

Matt







view thread (15+ messages)  latest in thread

Message-ID: <36073.212.100.172.237.1106311862.squirrel@212.100.172.237>
Permalink:  ../36073.212.100.172.237.1106311862.squirrel@212.100.172.237/
Also on:    postgresql.org/message-id/36073.212.100.172.237.1106311862.squirrel@212.100.172.237

 · 

reply

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-performance@postgresql.org
  Cc: Matt.Casters@advalvas.be, yann-postgresql@spline.de
  Subject: Re: 
  In-Reply-To: <36073.212.100.172.237.1106311862.squirrel@212.100.172.237>
  References: <16153.193.190.212.113.1106213675.squirrel@193.190.212.113> <20050120142603.GM10437@ns.snowman.net> <33c6269f050120083177fa0e83@mail.gmail.com> <20050121001427.GA10806@wolff.to> <12670.193.190.212.113.1106297446.squirrel@193.190.212.113> <20050121123008.GA13904@zoom.spline.inf.fu-berlin.de> <36073.212.100.172.237.1106311862.squirrel@212.100.172.237>

* 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