Re: Auto Partitioning

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org, NikhilS <nikkhils(at)gmail(dot)com>, Markus Schiltknecht <markus(at)bluegap(dot)ch>, simon(at)2ndquadrant(dot)com
Subject: Re: Auto Partitioning
Date: 2007-04-04 20:59:38
Message-ID: 461411BA.3040108@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Robert Treat wrote:
> On Wednesday 04 April 2007 09:19, NikhilS wrote:
>> Our current partitioning solution is based on inheritance. With that in
>> mind, for 8.3 I thought an implementation based on auto rules creation
>> would be the way to go.
>>
>
> The only problem I have with this is that the shops I know with big
> partitioned tables favor triggers over rules for both performance reason and
> a cleaner implementation. Even with automated rule creation this isnt going
> to change afaics... not to mention we already create our rules & triggers
> automatically, so really this just isn't exciting to me (though it may make
> it easier for people getting in on the ground floor)

I second this. The trigger route is much more maintainable than the rule
route. IMO what really needs to happen is something more low level where
there are no DBA visible changes. Triggers also have overhead, it would
be nice to get a little more bare metal with this.

Sincerely,

Joshua D. Drake

--

=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997
http://www.commandprompt.com/

Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
PostgreSQL Replication: http://www.commandprompt.com/products/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2007-04-04 21:03:46 Re: Modifying TOAST thresholds
Previous Message Robert Treat 2007-04-04 20:55:54 Re: Auto Partitioning

Browse pgsql-patches by date

  From Date Subject
Next Message Nikolay Samokhvalov 2007-04-04 21:22:48 Re: --enable-xml instead of --with-libxml?
Previous Message Bruce Momjian 2007-04-04 20:56:13 Re: HOT WIP Patch - version 6.3