29.01.2014 Views

Chapter 6: Query Decomposition and Data Localization

Chapter 6: Query Decomposition and Data Localization

Chapter 6: Query Decomposition and Data Localization

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Data</strong> <strong>Localization</strong>s Issues – Reduction for HF . . .<br />

• Example: Consider the following query <strong>and</strong> fragmentation:<br />

– <strong>Query</strong>: SELECT * FROM EMP, ASG WHERE EMP.ENO=ASG.ENO<br />

– Horizontal fragmentation:<br />

∗ EMP1 = σ ENO≤”E3” (EMP)<br />

∗ EMP2 = σ ”E3””E6” (EMP)<br />

∗ ASG1 = σ ENO≤”E3” (ASG)<br />

∗ ASG2 = σ ENO>”E3” (ASG)<br />

– Generic query<br />

– The query reduced by distributing<br />

joins over unions <strong>and</strong> applying<br />

rule 2 can be implemented<br />

as a union of three partial joins<br />

that can be done in parallel.<br />

DDB 2008/09 J. Gamper Page 22

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

Saved successfully!

Ooh no, something went wrong!