Re: indexing

From: Richard Huxton <dev(at)archonet(dot)com>
To: ginanjar <ginjirokato(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: indexing
Date: 2009-10-27 19:50:58
Message-ID: 4AE74F22.60002@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

ginanjar wrote:
> I work on my thesis on spatial database indeksing using Btree n GiST.
> Can you help to explain how the GiST and btree indexing work in
> postgresql ( the algorithm ) ? Can somone show me how to write code to
> know the tree level and count the root and leaf ?
> thanks for the information n help .

I'm not sure btree indexes are useful in a spatial database (well, not
for the spatial aspects unless you are dealing with 1D space).

For GiST, read chapter 51 of the manuals.
http://www.postgresql.org/docs/8.4/static/gist.html

From there, study some of the contrib modules it mentions in the source
distribution.

HTH

--
Richard Huxton
Archonet Ltd

In response to

  • indexing at 2009-10-26 01:45:38 from ginanjar

Browse pgsql-general by date

  From Date Subject
Next Message Greg Smith 2009-10-27 19:52:59 Re: auto truncate/vacuum full
Previous Message Richard Huxton 2009-10-27 19:43:32 Re: PHP + PDO + PGPOOL = Segmentation fault