From: Steinar H. Gunderson <sgunderson@bigfoot.com>
To: pgsql-performance@postgresql.org
Subject: Re: sequential scan performance
Date: Sun, 29 May 2005 15:47:13 +0200
Message-ID: <20050529134712.GA2987@uio.no> (raw)
In-Reply-To: <D520F8B3-20D6-4272-A6D6-8B690871DE73@mac.com>
References: <D520F8B3-20D6-4272-A6D6-8B690871DE73@mac.com>
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/
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 using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: sgunderson@bigfoot.com
Subject: Re: sequential scan performance
In-Reply-To: <20050529134712.GA2987@uio.no>
* 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