EnterpriseDB: The Enterprise Postgres Company Postgres Plus Forums: The PostgreSQL Open Source Database from EnterpriseDB
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 

what is done by communication between nodes  XML

Forum Index » GridSQL - General
Author Message
wu_liao

New member

Joined: 28 Jan 2010 01:55:59
Messages: 1
Offline

when i do a query, generally, communication between nodes won't occur.
when does it occur?
And what does it do?
Mason_S

Senior member

Joined: 1 Apr 2008 09:03:08
Messages: 380
Offline

Hi Wu,

It depends on the particular query. If you execute a SELECT count(*) for example, it will execute a SELECT count(*) on each of the nodes, get back a one row result, then sum those up for the final result.

If doing a query where you join on two tables where the join columns are not partitioned columns, it will end up shipping around a lot of data to the nodes for joining. Ideally, you should try and construct your schema to avoid this if possible. (We will soon commit changes that speed up this handling.)

Regards,

Mason

[WWW]
 
Forum Index » GridSQL - General
Go to:   
Powered by JForum 2.1.8 © JForum Team