From: Tom Lane <tgl@sss.pgh.pa.us>
To: Pallav Kalva <pkalva@deg.cc>
Cc: PERFORM <pgsql-performance@postgresql.org>
Subject: Re: Poor Performance on Postgres 8.0
Date: Fri, 28 Jan 2005 11:23:16 -0500
Message-ID: <2581.1106929396@sss.pgh.pa.us> (raw)
In-Reply-To: <41FA5726.7040502@deg.cc>
References: <41FA5726.7040502@deg.cc>
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?
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
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: tgl@sss.pgh.pa.us, pkalva@deg.cc
Subject: Re: Poor Performance on Postgres 8.0
In-Reply-To: <2581.1106929396@sss.pgh.pa.us>
* 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