Re: Pluggable Indexes (was Re: rmgr hooks (v2))

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
Cc: Simon Riggs <simon(at)2ndQuadrant(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Pluggable Indexes (was Re: rmgr hooks (v2))
Date: 2009-01-21 16:40:27
Message-ID: 200901211640.n0LGeRQ03947@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Heikki Linnakangas wrote:
> Simon Riggs wrote:
> > Right now we've got a variety of index types that are *not* flourishing
> > (hash, bitmap, grouped).
>
> Hash indexam has been in core for ages, and yet no-one has bothered to
> implement WAL logging. If I've understood correctly, it has been now
> been revamped in 8.4 so that there's a performance use case to use it. I
> wouldn't be surprised if someone (GSoC?) implements WAL logging for it
> for 8.5.
>
> Bitmap indexes required significant changes to the rest of the system,
> the indexam API in particular.
>
> By "grouped", I presume you mean my grouped index tuples patch, aka
> clustered indexes. That too required changes to the indexam API, and
> even if it didn't, I can guarantee that I wouldn't spend any more time
> on it than I do now (= 0) if it was on pgfoundry.
>
> > If we allow them to develop as separate
> > projects, then whenever they are ready they can be used with particular
> > releases.
>
> Developing a new indexam is not something you do over the weekend. It's
> a long way from design to an implementation robust enough that anyone
> cares about crash recovery. Short-circuiting the release cycle with a
> plugin won't get you a production-ready indexam much sooner.

Agreed.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2009-01-21 17:13:52 Re: Pluggable Indexes (was Re: rmgr hooks (v2))
Previous Message Heikki Linnakangas 2009-01-21 16:38:34 Re: rmgr hooks (v2)