pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: eVl <evl.evl@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: optimization downgrade perfomance?
Date: Fri, 23 Sep 2005 09:40:08 -0400
Message-ID: <3192.1127482808@sss.pgh.pa.us> (raw)
In-Reply-To: <133614678.20050923012716@gmail.com>
References: <133614678.20050923012716@gmail.com>

eVl <evl.evl@gmail.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



view thread (3+ messages)  latest in thread

Message-ID: <3192.1127482808@sss.pgh.pa.us>
Permalink:  ../3192.1127482808@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3192.1127482808@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, evl.evl@gmail.com
  Subject: Re: optimization downgrade perfomance?
  In-Reply-To: <3192.1127482808@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