pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: mspasic@openlinksw.com
To: pgsql-performance@postgresql.org
Subject: Hash join
Date: Tue, 10 Dec 2013 04:45:59 -0500 (EST)
Message-ID: <55000.79.101.70.18.1386668759.squirrel@mail.openlinksw.com> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>

Hello everyone,

I'm looking for a way to specify join order in SQL query. Actually, the
optimizer has chosen a plan with hash join of 2 tables, but I would like
to know if there is a way to force it to use hash join, but with replaced
tables on build phase and probe phase?

Thank you,
Mirko Spasic



-- 
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance



Message-ID: <55000.79.101.70.18.1386668759.squirrel@mail.openlinksw.com>
Permalink:  ../55000.79.101.70.18.1386668759.squirrel@mail.openlinksw.com/
Also on:    postgresql.org/message-id/55000.79.101.70.18.1386668759.squirrel@mail.openlinksw.com

 · 

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: mspasic@openlinksw.com
  Subject: Re: Hash join
  In-Reply-To: <55000.79.101.70.18.1386668759.squirrel@mail.openlinksw.com>

* 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