Re: Indexing array columns. - Mailing list pgsql-admin

From Joe Conway
Subject Re: Indexing array columns.
Date
Msg-id 43821CE7.4070508@joeconway.com
Whole thread Raw
In response to Indexing array columns.  (Joshua Marsh <icub3d@gmail.com>)
List pgsql-admin
Joshua Marsh wrote:
> Does/Can the index track each element in the array, or does it track
> only the array as a whole?

Built in index support works on the array as a whole, not the individual
elements.

> How can I increase the speed of a query like: SELECT * FROM table WHERE
> 123 = ANY(array_of_ints); ?

See contrib/intarray.

Joe

pgsql-admin by date:

Previous
From: Nirmal Kumar
Date:
Subject: Postgres Database slow
Next
From: Alvaro Herrera
Date:
Subject: Re: Server Hardware Configuration