Search Postgresql Archives

Re: Any "guide to indexes" exists?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Jan Bilek" <bilekj@xxxxxxxxx> writes:
> Ok - btree is fine, but sometimes could be better to use gist - my question 
> is: when is that "sometimes"? Unless i know how to use the indexes, then 
> they are useless for me - am i right?

gist and gin are for indexing queries that btree is not capable of
dealing with, ie, the WHERE clauses are not simple scalar equality
or range checks.  All you need to pay attention to is whether the
index has an operator class that includes the WHERE operator you
want to use.

			regards, tom lane


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux