pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@commandprompt.com>
To: Scott Marlowe <smarlowe@g2switchworks.com>
Cc: andremachado <andremachado@techforce.com.br>
Cc: pgsql-performance@postgresql.org
Subject: Re: firebird X postgresql 8.1.2 windows, performance
Date: Tue, 7 Mar 2006 14:15:14 -0300
Message-ID: <20060307171514.GE6748@surnet.cl> (raw)
In-Reply-To: <1141751333.18820.172.camel@state.g2switchworks.com>
References: <20060307162842.M37264@techforce.com.br>
	<1141751333.18820.172.camel@state.g2switchworks.com>

Scott Marlowe wrote:

> Lastly, I noticed that after you clusters on all your indexes, the query
> planner switched from a merge join to a hash join, and it was slower. 
> You might wanna try turning off hash joins for a quick test to see if
> merge joins are any faster.

Anyway please note that clustering "all indexes" does not really make
sense.  You can cluster only on one index.  If you cluster on another,
then the first clustering will be lost.  Better make sure to cluster on
the one index where it makes the most difference.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.



view thread (23+ messages)  latest in thread

Message-ID: <20060307171514.GE6748@surnet.cl>
Permalink:  ../20060307171514.GE6748@surnet.cl/
Also on:    postgresql.org/message-id/20060307171514.GE6748@surnet.cl

 · 

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: alvherre@commandprompt.com, smarlowe@g2switchworks.com, andremachado@techforce.com.br
  Subject: Re: firebird X postgresql 8.1.2 windows, performance
  In-Reply-To: <20060307171514.GE6748@surnet.cl>

* 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