pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Montrone, Marc -- 7183 <marc.montrone@novastar1.com>
To: 'pgsql-sql@postgresql.org' <pgsql-sql@postgresql.org>
Subject: Optimizing
Date: Fri, 28 Feb 2003 09:26:08 -0600
Message-ID: <6F92EBF93563D411A42200508BD97A9A05645C2A@KCNT02B> (raw)

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.



view thread (6+ messages)  latest in thread

Message-ID: <6F92EBF93563D411A42200508BD97A9A05645C2A@KCNT02B>
Permalink:  ../6F92EBF93563D411A42200508BD97A9A05645C2A@KCNT02B/
Also on:    postgresql.org/message-id/6F92EBF93563D411A42200508BD97A9A05645C2A@KCNT02B

 · 

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 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-sql@postgresql.org
  Cc: marc.montrone@novastar1.com
  Subject: Re: Optimizing
  In-Reply-To: <6F92EBF93563D411A42200508BD97A9A05645C2A@KCNT02B>
  References: <6F92EBF93563D411A42200508BD97A9A05645C2A@KCNT02B>

* 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