From: martial.bizel@free.fr
To: pgsql-performance@postgresql.org
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Subject: Re: split partitioned table across several postgres servers
Date: Fri, 17 Feb 2006 16:18:39 +0100
Message-ID: <1140189519.43f5e94f69584@imp2-g19.free.fr> (raw)
In-Reply-To: <9163.1140187745@sss.pgh.pa.us>
References: <1140018930.43f34ef260de0@imp2-g19.free.fr>
<1140022257.22740.225.camel@state.g2switchworks.com>
<1140163959.43f585777f2cc@imp2-g19.free.fr>
<9163.1140187745@sss.pgh.pa.us>
Selon Tom Lane <tgl@sss.pgh.pa.us>:
> martial.bizel@free.fr writes:
> > In fact, I don't know how to have explain plan of remote node.
>
> You send it an EXPLAIN.
Please, Could you send me what to put at end of request :
select * from dblink('my_connexion', 'EXPLAIN select * from test where
number='1' ') as ........
I want to be sure that remote test is seen as partitioned object.
thanks a lot.
>
> You can *not* use a view defined as you suggest if you want decent
> performance --- the dblink functions will fetch the entire table
> contents and the filtering will be done locally. You'll need to
> pass the WHERE conditions over to the remote servers, which more
> or less means that you have to give them to the dblink functions
> as text.
>
> regards, tom lane
>
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-performance@postgresql.org
Cc: martial.bizel@free.fr, tgl@sss.pgh.pa.us
Subject: Re: split partitioned table across several postgres servers
In-Reply-To: <1140189519.43f5e94f69584@imp2-g19.free.fr>
References: <1140018930.43f34ef260de0@imp2-g19.free.fr> <1140022257.22740.225.camel@state.g2switchworks.com> <1140163959.43f585777f2cc@imp2-g19.free.fr> <9163.1140187745@sss.pgh.pa.us> <1140189519.43f5e94f69584@imp2-g19.free.fr>
* 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