From: Michael Ryan S. Puncia <mpuncia@census.gov.ph>
To: 'Christopher Kings-Lynne' <chriskl@familyhealth.com.au>
To: 'Michael Ryan S. Puncia' <mpuncia@census.gov.ph>
Cc: pgsql-performance@postgresql.org
Subject: Re: Using LIKE expression problem..
Date: Wed, 12 May 2004 16:17:36 +0800
Message-ID: <200405120804.i4C84gh9004444@mail.census.gov.ph> (raw)
In-Reply-To: <40A1D94E.9030605@familyhealth.com.au>
Sorry .. I am a newbie and I don't know :(
How can I know that I am in C locale ?
How can I change my database to use C locale?
-----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 3:59 PM
To: Michael Ryan S. Puncia
Cc: pgsql-performance@postgresql.org
Subject: Re: [PERFORM] Using LIKE expression problem..
Are you in a non-C locale?
Chris
Michael Ryan S. Puncia wrote:
> 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
>
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?
http://www.postgresql.org/docs/faqs/FAQ.html
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 using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: mpuncia@census.gov.ph, chriskl@familyhealth.com.au
Subject: Re: Using LIKE expression problem..
In-Reply-To: <200405120804.i4C84gh9004444@mail.census.gov.ph>
* 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