Re: optimization downgrade perfomance?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: eVl <evl(dot)evl(at)gmail(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: optimization downgrade perfomance?
Date: 2005-09-23 13:40:08
Message-ID: 3192.1127482808@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

eVl <evl(dot)evl(at)gmail(dot)com> writes:
> When executing this SELECT (see SELECT.A above) it executes in about 700 ms, but when I want wipe out all info about local traffic, with query like this:
> SELECT * FROM ( SELECT.A ) a WHERE type = 'global';
> It executes about 10000 ms - more then 10 TIMES SLOWER!

> Why this could be?

You tell us --- let's see EXPLAIN ANALYZE results for both cases.

regards, tom lane

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Joost Kraaijeveld 2005-09-23 13:49:25 Re: How to determine cause of performance problem?
Previous Message Joost Kraaijeveld 2005-09-23 13:35:58 Re: How to determine cause of performance problem?