Re: sql indexing suggestions needed

From: Jonathan Vanasco <postgres(at)2xlp(dot)com>
To: pgsql general <pgsql-general(at)postgresql(dot)org>
Subject: Re: sql indexing suggestions needed
Date: 2007-03-20 19:11:16
Message-ID: 6FC456F4-28BC-4715-91FA-20D5F1E45785@2xlp.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On Mar 20, 2007, at 2:54 PM, Jonathan Vanasco wrote:

> No matter how I index + analyze this table, including making an
> index of every related column on the search, pg keeps doing a
> sequential scan and never includes an index -- which takes
> ~2minutes to do. I really need to cut this down.

a friend just chimed in off-list -- i had missed putting the 'id'
column in the large index of all the used columns , a common
mistake. works like a charm now.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ron Johnson 2007-03-20 19:24:36 Re: sql indexing suggestions needed
Previous Message Benjamin Arai 2007-03-20 19:10:00 Re: sql indexing suggestions needed