Postgres-XC tutorial PDF - PGCon
Postgres-XC tutorial PDF - PGCon
Postgres-XC tutorial PDF - PGCon
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
General advice<br />
●<br />
Avoid data materialization on Coordinator<br />
postgres=# explain (costs false) select * from aa,bb where aa.a = bb.a;<br />
QUERY PLAN<br />
<br />
Data Node Scan on "__REMOTE_FQS_QUERY__"<br />
Node/s: dn1, dn2<br />
(2 rows)<br />
YES !<br />
NO !<br />
postgres=# explain (costs false) select * from aa,bb where aa.a = bb.a;<br />
QUERY PLAN<br />
<br />
Nested Loop<br />
Join Filter: (aa.a = bb.a)<br />
> Data Node Scan on aa<br />
Node/s: dn1, dn2<br />
> Data Node Scan on bb<br />
Node/s: dn1<br />
(6 rows)<br />
May 16th, 2012 <strong>Postgres</strong><strong>XC</strong> 23