From: | "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com> |
---|---|
To: | "Jan Bilek" <bilekj(at)gmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Any "guide to indexes" exists? |
Date: | 2007-05-07 14:44:33 |
Message-ID: | 162867790705070744y7a7a2698ieb7d2a320a794f29@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
> Hello,
> I would need more info about index types in postgre (btree, hash, gin and
> gist) - is there any guide that explains in detail when to use which index
> type? These index types have different performance with certain collumn
> types and data characteristics store in them. There's not much info about it
> pg docs. So, does any document describing detailed index usage or do you
> have any personal recomendations when to use which index?
http://people.planetpostgresql.org/mha/index.php?/archives/112-GIN-performance-postgresql.org-websearch-part-2.html
http://people.planetpostgresql.org/xzilla/index.php?/archives/278-PostgreSQL-full-text-search-testing.html
Summary:
* fulltext, GIS, arrays .. gin, gist indexes (gin is faster, but slow update)
* others .. btree index (I don't know anybody who use hash index)
Regards
Pavel Stehule
From | Date | Subject | |
---|---|---|---|
Next Message | Jim Nasby | 2007-05-07 15:42:17 | Re: shmget fails on OS X with proper settings |
Previous Message | Jan Bilek | 2007-05-07 14:41:11 | Re: Any "guide to indexes" exists? |