Yes , I already do that but the same result .. LIKE uses seq scan

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Christopher
Kings-Lynne
Sent: Wednesday, May 12, 2004 2:48 PM
To: Michael Ryan S. Puncia
Cc: [EMAIL PROTECTED]
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



---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

               http://archives.postgresql.org

Reply via email to