Re: split partitioned table across several postgres servers

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: martial(dot)bizel(at)free(dot)fr
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: split partitioned table across several postgres servers
Date: 2006-02-17 14:49:05
Message-ID: 9163.1140187745@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

martial(dot)bizel(at)free(dot)fr writes:
> In fact, I don't know how to have explain plan of remote node.

You send it an EXPLAIN.

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

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message martial.bizel 2006-02-17 15:18:39 Re: split partitioned table across several postgres servers
Previous Message Ron 2006-02-17 13:23:40 Re: qsort again (was Re: [PERFORM] Strange Create