Re: Poor Performance on Postgres 8.0

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Pallav Kalva <pkalva(at)deg(dot)cc>
Cc: PERFORM <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Poor Performance on Postgres 8.0
Date: 2005-01-28 16:23:16
Message-ID: 2581.1106929396@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Pallav Kalva <pkalva(at)deg(dot)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?

2. Have you ANALYZEd both tables lately?

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;

regards, tom lane

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Joe Conway 2005-01-28 16:34:27 Re: Flattening a kind of 'dynamic' table
Previous Message Merlin Moncure 2005-01-28 16:19:44 Re: PostgreSQL clustering VS MySQL clustering