On 2012-04-26 04:40, Venki Ramachandran wrote:
You want to compare a calculation on the cross product 'employee x employee'. If employee is partitioned into emp1, emp2, ... emp8, the cross product is equal to the union of emp1 x employee, emp2 x employee, .. emp8 x employee. Each of these 8 cross products on partitions can be executed in parallel. I'd look into dblink to execute each of the 8 cross products in parallel, and then union all of those results. http://www.postgresql.org/docs/9.1/static/contrib-dblink-connect.html regards, Yeb |