Re: clustering by partial indexes - Mailing list pgsql-general

From Bruce Momjian
Subject Re: clustering by partial indexes
Date
Msg-id 200511160141.jAG1f6n25063@candle.pha.pa.us
Whole thread Raw
In response to Re: clustering by partial indexes  ("Jim C. Nasby" <jnasby@pervasive.com>)
Responses Re: clustering by partial indexes
List pgsql-general
Jim C. Nasby wrote:
> On Tue, Nov 15, 2005 at 10:18:26AM -0800, Steve Crawford wrote:
> > Not trivial? Seems to me more like impossible to implement for the
> > general case which would require you to resolve the situation where
> > someone requests multiple, overlapping, clustered partial indexes
> > where the ordering requirements are in conflict.
>
> Well, currently you can only cluster on a single index per table, and I
> really doubt that will change. In any case, if someone's going to work
> on clustered indexes I think it would be much more worthwhile to make
> them self-maintaining (or at least more self-maintaining).

Wow, imagine if we could cluster by partial indexes, and then imagine we
could allow multiple clustering per table if the partial indexes did not
overlap --- that is a massive project.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Does PG support updateable view?
Next
From: Justin Hawkins
Date:
Subject: Trouble with recursive trigger