X-Original-To: pgsql-sql@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 3FDA9476340 for ; Fri, 28 Feb 2003 11:39:29 -0500 (EST) Received: from postgresql.org ([64.49.215.8]) by localhost (postgresql.org [64.49.215.8:10024]) (amavisd-new) with SMTP id 65944-04 for ; Fri, 28 Feb 2003 11:39:18 -0500 (EST) Received: from kcw2ksae.novastar1.com (unknown [12.158.153.14]) by postgresql.org (Postfix) with ESMTP id AD47847617F for ; Fri, 28 Feb 2003 10:25:33 -0500 (EST) Received: by nsis.e-novastar.com with Internet Mail Service (5.5.2653.19) id ; Fri, 28 Feb 2003 09:25:53 -0600 Message-ID: <6F92EBF93563D411A42200508BD97A9A05645C2A@KCNT02B> From: "Montrone, Marc -- 7183" To: "'pgsql-sql@postgresql.org'" Subject: Optimizing Date: Fri, 28 Feb 2003 09:26:08 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Virus-Scanned: by amavisd-new X-Archive-Number: 200302/630 X-Sequence-Number: 12028 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.