Re: Auto creation of Partitions - Mailing list pgsql-hackers

From Robert Treat
Subject Re: Auto creation of Partitions
Date
Msg-id 200703121113.51752.xzilla@users.sourceforge.net
Whole thread Raw
In response to Re: Auto creation of Partitions  (NikhilS <nikkhils@gmail.com>)
List pgsql-hackers
On Saturday 10 March 2007 00:13, NikhilS wrote:
> Hi,
>
> > > Given that Simon wants to do away with having the master table APPENDed
> >
> > in
> >
> > > the planning phase, this would be better.
> >
> > ISTM you're trading appending the master table for appending the DUMP
> > partition, which afaict would give you no gain.
>
> If there are entries in the master table, I think it would get appended for
> all queries regardless of whether we need to examine its contents or not.
> Segregating dump data into a partition will avoid that.
>
> I have seen examples in some other databases wherein a partition specifies
> a range of "someval - MAXINT" for instance, to catch such cases.
>
> That again means that the onus is on the partition creator most of the
> times..

*shrug*...   we can do that now in pgsql

-- 
Robert Treat
Build A Brighter LAMP :: Linux Apache {middleware} PostgreSQL


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: autovacuum next steps, take 3
Next
From: Andrew Dunstan
Date:
Subject: Re: Updating large postgresql database with blobs