Re: Dynamic Partitioning using Segment Visibility Maps - Mailing list pgsql-hackers

From Csaba Nagy
Subject Re: Dynamic Partitioning using Segment Visibility Maps
Date
Msg-id 1199712723.5646.14.camel@PCD12478
Whole thread Raw
In response to Dynamic Partitioning using Segment Visibility Maps  (Simon Riggs <simon@2ndquadrant.com>)
List pgsql-hackers
On Mon, 2008-01-07 at 14:20 +0100, Markus Schiltknecht wrote:
> Why is that? AFAIUI, Segment Exclusion combines perfectly well with 
> clustering. Or even better, with an upcoming feature to maintain 
> clustered ordering. Where do you see disadvantages such an optimization 
> for sequential scans?

Well, as I understood it, this would be some kind of special case of
clustering, where the cluster key is expected to be ever increasing in
time and new rows would not be randomly distributed over the complete
possible range. In theory you could also have each segment in turn be
clustered on some other criteria than the partitioning criteria so
indexed access could also be better on the main selection criteria which
could be different than the partitioning criteria. All this is of course
just speculations - but I guess that's what you expected too in this
discussion :-)

Cheers,
Csaba.




pgsql-hackers by date:

Previous
From: Csaba Nagy
Date:
Subject: Re: Dynamic Partitioning using Segment Visibility Maps
Next
From: Markus Schiltknecht
Date:
Subject: Re: Dynamic Partitioning using Segment Visibility Maps