Re: Using LIKE expression problem..

Michael Ryan S. Puncia <mpuncia@census.gov.ph>

From: "Michael Ryan S. Puncia" <mpuncia@census.gov.ph>
To: "'Christopher Kings-Lynne'" <chriskl@familyhealth.com.au>, "'Michael Ryan S. Puncia'" <mpuncia@census.gov.ph>
Cc: <pgsql-performance@postgresql.org>
Date: 2004-05-12T07:46:07Z
Lists: pgsql-performance
Yes , I already do that but the same result .. LIKE uses seq scan

-----Original Message-----
From: pgsql-performance-owner@postgresql.org
[mailto:pgsql-performance-owner@postgresql.org] On Behalf Of Christopher
Kings-Lynne
Sent: Wednesday, May 12, 2004 2:48 PM
To: Michael Ryan S. Puncia
Cc: pgsql-performance@postgresql.org
Subject: Re: [PERFORM] Using LIKE expression problem..

> In the query plan ..it uses seq scan rather than index scan .. why ? I 
> have index on lastname, firtname.

Have you run VACUUM ANALYZE; on the table recently?

Chris


---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings