29.01.2014 Views

Tutorial slides

Tutorial slides

Tutorial slides

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.

Create Cells Using Table Order & ADC<br />

For DBMS with good indexing, define Cells by concatenating (4)<br />

Adjoined Dimension Columns and sorting table by this order<br />

Each cell represents unique combination of ADC values (2,7,4,3)<br />

<br />

<br />

<br />

<br />

A Where clause with ANDed range predicates on four ADCs, each range<br />

over 3 ADC values, will select 81 cells on the table<br />

Cells Selected will not sit close to each other, except for cells differing<br />

only in the final ADC values, e.g.: (2,7,4,3) and (2,7,4,4)<br />

Obviously this approach doesn’t allow later inserts into given cells<br />

The Vertica DBMS uses this approach, but since new inserts go into<br />

WOS in memory, later merged out to disk ROS, new ad hoc inserts ARE<br />

possible<br />

47

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

Saved successfully!

Ooh no, something went wrong!