Re: Performance of full outer join in 8.3

From: Christian Schröder <cs(at)deriva(dot)de>
To: Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com>
Cc: Simon Riggs <simon(at)2ndquadrant(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Performance of full outer join in 8.3
Date: 2009-04-16 11:31:45
Message-ID: 49E71721.4000800@deriva.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Grzegorz Jaśkiewicz wrote:
> On Wed, Apr 15, 2009 at 1:25 PM, Simon Riggs <simon(at)2ndquadrant(dot)com> wrote:
>
>> The cost of the query seems accurate, so the absence of
>> attachment_isins_attachment_idx on the 8.3 plan looks to be the reason.
>> There's no way it would choose to scan 8115133 rows on the pkey if the
>> other index was available and usable.
>>
>
> hance my question, if there's index on it in 8.3 version of db.
>
I added an index on this column, but it didn't change the query plan.
Stupid question: Do I have to analyze again or perform a reindex after
adding the index?

Regards,
Christian

--
Deriva GmbH Tel.: +49 551 489500-42
Financial IT and Consulting Fax: +49 551 489500-91
Hans-Böckler-Straße 2 http://www.deriva.de
D-37079 Göttingen

Deriva CA Certificate: http://www.deriva.de/deriva-ca.cer

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Robert Haas 2009-04-16 11:35:25 Re: [GENERAL] Performance of full outer join in 8.3
Previous Message Raymond O'Donnell 2009-04-16 11:12:10 Re: PgAdmin & PosgreSQL Plus Setup

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2009-04-16 11:35:25 Re: [GENERAL] Performance of full outer join in 8.3
Previous Message Sam Mason 2009-04-16 10:51:13 Re: Unicode string literals versus the world