pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dan Langille <dan@langille.org>
To: Montrone, Marc -- 7183 <marc.montrone@novastar1.com>
Cc: 'pgsql-sql@postgresql.org' <pgsql-sql@postgresql.org>
Subject: Re: Optimizing
Date: Fri, 28 Feb 2003 20:12:48 -0500 (EST)
Message-ID: <20030228201127.M54500@xeon.unixathome.org> (raw)
In-Reply-To: <6F92EBF93563D411A42200508BD97A9A05645C2A@KCNT02B>
References: <6F92EBF93563D411A42200508BD97A9A05645C2A@KCNT02B>

On Fri, 28 Feb 2003, Montrone, Marc -- 7183 wrote:

> Please advise how I can improve performance of query searching for telephone
> numbers. I have a table with over a million records of phone numbers in a
> single indexed field. To find one phone number takes nearly 20 seconds.
> Aside from hardware upgrades, how can I improve the performance of this
> query? Thank you in advance.

Please provide the following which will help us to help you:

The output of this commend : select version();

Please prefix your query with "explain analyze" and provide us with both
the query and the output of this command.



view thread (6+ messages)  latest in thread

Message-ID: <20030228201127.M54500@xeon.unixathome.org>
Permalink:  ../20030228201127.M54500@xeon.unixathome.org/
Also on:    postgresql.org/message-id/20030228201127.M54500@xeon.unixathome.org

 · 

reply

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-sql@postgresql.org
  Cc: dan@langille.org, marc.montrone@novastar1.com
  Subject: Re: Optimizing
  In-Reply-To: <20030228201127.M54500@xeon.unixathome.org>

* 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