Re: [PERFORM] split partitioned table across several postgres servers

2006-02-17 Thread martial . bizel
Selon Tom Lane <[EMAIL PROTECTED]>: > [EMAIL PROTECTED] 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

Re: [PERFORM] split partitioned table across several postgres servers

2006-02-17 Thread Tom Lane
[EMAIL PROTECTED] 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.

[PERFORM] split partitioned table across several postgres servers

2006-02-17 Thread martial . bizel
Hello, I want to split table partitioned across two servers postgres (two hosts). To query this remote object, I want to make view with union on two servers with two dblink. But, How to be sure that optimizer plan on remote node is same than local node (ie : optimizer scan only the selected parti