Re: sequential scan performance - Mailing list pgsql-performance

From Steinar H. Gunderson
Subject Re: sequential scan performance
Date
Msg-id 20050529134712.GA2987@uio.no
Whole thread Raw
In response to sequential scan performance  (Michael Engelhart <mengelhart@mac.com>)
List pgsql-performance
On Sun, May 29, 2005 at 08:27:26AM -0500, Michael Engelhart wrote:
> this is a query that our system needs to do a LOT.   Is there any way
> to improve the performance on this either with changes to our query
> or by configuring the database deployment?   We have an index on
> city_name but when using the % operator on the front of the query
> string postgresql can't use the index .

Try tsearch2 from contrib, it might help you.

/* Steinar */
--
Homepage: http://www.sesse.net/

pgsql-performance by date:

Previous
From: Michael Engelhart
Date:
Subject: sequential scan performance
Next
From: Christopher Kings-Lynne
Date:
Subject: Re: sequential scan performance