pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PFC <lists@boutiquenumerique.com>
To: John A Meinel <john@arbash-meinel.com>
To: Adam Haberlach <adam@mediariffic.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Partitioning / Clustering
Date: Tue, 10 May 2005 19:29:59 +0200
Message-ID: <op.sqklj9ppth1vuj@localhost> (raw)
In-Reply-To: <4280D76E.3090209@arbash-meinel.com>
References: <20050510150226.00E453EFF@flute.newsnipple.com>
	<4280D76E.3090209@arbash-meinel.com>



> SELECT row1, row2 FROM table1_on_machine_a NATURAL JOIN  
> table2_on_machine_b
> WHERE restrict_table_1 AND restrict_table_2
> AND restrict_1_based_on_2;

	I don't think that's ever going to be efficient...
	What would be efficient would be, for instance, a Join of a part of a  
table against another part of another table which both happen to be on the  
same machine, because the partitioning was done with this in mind (ie. for  
instance partitioning on client_id and keeping the information for each  
client on the same machine).

	You could build your smart pool daemon in pl/pgsql and use dblink ! At  
least you have the query parser built-in.

	I wonder how Oracle does it ;)



view thread (49+ messages)  latest in thread

Message-ID: <op.sqklj9ppth1vuj@localhost>
Permalink:  ../op.sqklj9ppth1vuj@localhost/
Also on:    postgresql.org/message-id/op.sqklj9ppth1vuj@localhost

 · 

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: lists@boutiquenumerique.com, john@arbash-meinel.com, adam@mediariffic.com
  Subject: Re: Partitioning / Clustering
  In-Reply-To: <op.sqklj9ppth1vuj@localhost>

* 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