Re: Poor Performance on Postgres 8.0 - Mailing list pgsql-performance

From Pallav Kalva
Subject Re: Poor Performance on Postgres 8.0
Date
Msg-id 41FA6F29.9060009@deg.cc
Whole thread Raw
In response to Re: Poor Performance on Postgres 8.0  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Poor Performance on Postgres 8.0
List pgsql-performance
Tom Lane wrote:

>Pallav Kalva <pkalva@deg.cc> writes:
>
>
>>     I  am running this query on postgres 8 beta version and it is not
>>using the right index, where as if i run the same query on postgres 7.4
>>version it uses the right  index .
>>
>>
>
>1. Beta which, exactly?
>

Beta 4

>
>2. Have you ANALYZEd both tables lately?
>
Yes

>
>3. If so, try this to see what it thinks the cost of the reverse plan
>is:
>
>    begin;
>    alter table common.string drop constraint pk_string_stringid;
>    explain analyze ... same query ...
>    rollback;
>
       what do u mean by rollback exactly ? i can drop the pk constraint
and run explain analyze and see how it behaves.

>
>            regards, tom lane
>
>
>



pgsql-performance by date:

Previous
From: Joe Conway
Date:
Subject: Re: Flattening a kind of 'dynamic' table
Next
From: Tom Lane
Date:
Subject: Re: Poor Performance on Postgres 8.0