pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gerardo Herzig <gherzig@fmed.uba.ar>
To: postgres list <pgsql-sql@postgresql.org>
Subject: advice on query joining 10 tables
Date: Mon, 10 May 2010 15:40:12 -0300
Message-ID: <4BE8530C.6030605@fmed.uba.ar> (raw)

Hi all. Im triyng to see if i can improve the performance of a query
(mainly a 10 table join)

1) Besides of triyng to use indexes, there is some rules of thumb to follow?

2) Should i try to join the bigger tables last in the query?

3) There is some place for understanding EXPLAIN better?

Thanks!
Gerardo



view thread (5+ messages)  latest in thread

Message-ID: <4BE8530C.6030605@fmed.uba.ar>
Permalink:  ../4BE8530C.6030605@fmed.uba.ar/
Also on:    postgresql.org/message-id/4BE8530C.6030605@fmed.uba.ar

 · 

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-sql@postgresql.org
  Cc: gherzig@fmed.uba.ar
  Subject: Re: advice on query joining 10 tables
  In-Reply-To: <4BE8530C.6030605@fmed.uba.ar>

* 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