pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: andremachado <andremachado@techforce.com.br>
To: pgsql-performance@postgresql.org
Subject: firebird X postgresql 8.1.2 windows, performance comparison
Date: Tue, 14 Mar 2006 15:33:20 -0300
Message-ID: <20060314183226.M29726@techforce.com.br> (raw)

Hello,
Many thanks for your suggestions.
I am trying to optimize server configs, as (presumed) my friend already
optimized his queries and firebird windows is executing them fast.
You could see at the new attached file the results of the queries rewrite.
Unfortunately, the first query simply returned the same estimated costs by the
planner.
The second one, using EXISTS, multiplied its cost almost 200 times!
"Exists" is painfully slow.
The shared_buffers was reduced again.
Do you have any suggestions?
Many thanks.
Andre Felipe Machado

Attachments:

  sql_query_rewrite.txt.tar.gz (application/x-gzip, 11.0K) download

view thread (23+ messages)  latest in thread

Message-ID: <20060314183226.M29726@techforce.com.br>
Permalink:  ../20060314183226.M29726@techforce.com.br/
Also on:    postgresql.org/message-id/20060314183226.M29726@techforce.com.br

 · 

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: andremachado@techforce.com.br
  Subject: Re: firebird X postgresql 8.1.2 windows, performance comparison
  In-Reply-To: <20060314183226.M29726@techforce.com.br>

* 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