pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: postgres_fdw: Push down joins to remote servers.
Date: Tue, 09 Feb 2016 19:15:57 +0000
Message-ID: <E1aTDlV-0007xw-Vj@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

postgres_fdw: Push down joins to remote servers.

If we've got a relatively straightforward join between two tables,
this pushes that join down to the remote server instead of fetching
the rows for each table and performing the join locally.  Some cases
are not handled yet, such as SEMI and ANTI joins.  Also, we don't
yet attempt to create presorted join paths or parameterized join
paths even though these options do get tried for a base relation
scan.  Nevertheless, this seems likely to be a very significant win
in many practical cases.

Shigeru Hanada and Ashutosh Bapat, reviewed by Robert Haas, with
additional review at various points by Tom Lane, Etsuro Fujita,
KaiGai Kohei, and Jeevan Chalke.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/e4106b2528727c4b48639c0e12bf2f70a766b910

Modified Files
--------------
contrib/postgres_fdw/deparse.c                 |  531 +++++++++---
contrib/postgres_fdw/expected/postgres_fdw.out | 1094 ++++++++++++++++++++++--
contrib/postgres_fdw/postgres_fdw.c            |  835 ++++++++++++++++--
contrib/postgres_fdw/postgres_fdw.h            |   46 +-
contrib/postgres_fdw/sql/postgres_fdw.sql      |  213 ++++-
doc/src/sgml/postgres-fdw.sgml                 |   10 +
6 files changed, 2464 insertions(+), 265 deletions(-)


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


view thread (4+ messages)  latest in thread

Message-ID: <E1aTDlV-0007xw-Vj@gemulon.postgresql.org>
Permalink:  ../E1aTDlV-0007xw-Vj@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1aTDlV-0007xw-Vj@gemulon.postgresql.org

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: rhaas@postgresql.org
  Subject: Re: pgsql: postgres_fdw: Push down joins to remote servers.
  In-Reply-To: <E1aTDlV-0007xw-Vj@gemulon.postgresql.org>
  References: <E1aTDlV-0007xw-Vj@gemulon.postgresql.org>

* 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