From: Joe Conway <mail@joeconway.com>
To: Joshua Marsh <icub3d@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Indexing array columns.
Date: Mon, 21 Nov 2005 11:15:51 -0800
Message-ID: <43821CE7.4070508@joeconway.com> (raw)
In-Reply-To: <38242de90511210814p62c88ad4w2a316b3fd1c7569f@mail.gmail.com>
References: <38242de90511210814p62c88ad4w2a316b3fd1c7569f@mail.gmail.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: mail@joeconway.com, icub3d@gmail.com
Subject: Re: Indexing array columns.
In-Reply-To: <43821CE7.4070508@joeconway.com>
References: <38242de90511210814p62c88ad4w2a316b3fd1c7569f@mail.gmail.com> <43821CE7.4070508@joeconway.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox