X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id E044530EF7C for ; Mon, 16 Jun 2003 20:32:37 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 19706-05 for ; Mon, 16 Jun 2003 17:32:27 -0300 (ADT) Received: from serwer.skawsoft.com.pl (serwer.skawsoft.com.pl [213.25.37.66]) by svr1.postgresql.org (Postfix) with ESMTP id 33C7530EF0F for ; Mon, 16 Jun 2003 17:32:27 -0300 (ADT) Received: from klaster.net (tv126.internetdsl.tpnet.pl [80.55.125.126]) by serwer.skawsoft.com.pl (Postfix) with ESMTP id D7A5C2B64A; Mon, 16 Jun 2003 22:32:11 +0200 (CEST) Message-ID: <3EEE2960.9080707@klaster.net> Date: Mon, 16 Jun 2003 22:32:32 +0200 From: Tomasz Myrta User-Agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.4b) Gecko/20030507 X-Accept-Language: pl, en-us, en MIME-Version: 1.0 To: Bruno Wolff III Cc: pgsql-performance@postgresql.org Subject: Re: sequential scans on few columns tables References: <3EEE1F54.3030507@klaster.net> <20030616195551.GB8871@wolff.to> In-Reply-To: <20030616195551.GB8871@wolff.to> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit X-Archive-Number: 200306/97 X-Sequence-Number: 2181 Dnia 2003-06-16 21:55, Użytkownik Bruno Wolff III napisał: > On Mon, Jun 16, 2003 at 21:49:40 +0200, > Tomasz Myrta wrote: > >>Hi >>Recently I was wondering about tables difficult to index. Example - >>queries with "ilike" where clauses. Without additional contrib modules >>the only way to search such tables is sequential scan (am I right?) > > > You might be able to use a functional index depending on exactly what your > search patterns are like. Probably functional indexes won't be helpful to find _substrings_. Tomasz