pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Pallav Kalva <pkalva@deg.cc>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: PERFORM <pgsql-performance@postgresql.org>
Subject: Re: Poor Performance on Postgres 8.0
Date: Fri, 28 Jan 2005 11:58:17 -0500
Message-ID: <41FA6F29.9060009@deg.cc> (raw)
In-Reply-To: <2581.1106929396@sss.pgh.pa.us>
References: <41FA5726.7040502@deg.cc>
	<2581.1106929396@sss.pgh.pa.us>

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
>
>  
>





view thread (11+ messages)  latest in thread

Message-ID: <41FA6F29.9060009@deg.cc>
Permalink:  ../41FA6F29.9060009@deg.cc/
Also on:    postgresql.org/message-id/41FA6F29.9060009@deg.cc

 · 

reply

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: pkalva@deg.cc, tgl@sss.pgh.pa.us
  Subject: Re: Poor Performance on Postgres 8.0
  In-Reply-To: <41FA6F29.9060009@deg.cc>

* 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