21.05.2014 Views

Postgres-XC tutorial PDF - PGCon

Postgres-XC tutorial PDF - PGCon

Postgres-XC tutorial PDF - PGCon

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

How single database view is provided<br />

●<br />

Pick up vanilla PostgreSQL MVCC mechanism<br />

●<br />

●<br />

●<br />

Transaction ID (Transaction timestamp)<br />

Snapshot (list if active transactions)<br />

CLOG (whether given transaction is committed)<br />

● Made the former two global → GTM<br />

●<br />

●<br />

●<br />

CLOG is still locally maintained by coordinators and datanodes<br />

Every coordinator/datanode shares the same snapshot at any given time<br />

2PC is used for transactions spanning over multiple coordinators and/or<br />

datanodes<br />

●<br />

Has some performance penalty and may be improved in the future<br />

May 16th, 2012 <strong>Postgres</strong>­<strong>XC</strong> 18

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!