11.03.2014 Views

Applying OLAP Pre-Aggregation Techniques to ... - Jacobs University

Applying OLAP Pre-Aggregation Techniques to ... - Jacobs University

Applying OLAP Pre-Aggregation Techniques to ... - Jacobs University

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

5.5 Experimental Results 89<br />

(a) Selected queries for pre-aggregation by image pyramids<br />

(b) Selected queries for pre-aggregation by our pre-aggregation selection algorithm<br />

Figure 5.4. Selected Queries for <strong>Pre</strong>-<strong>Aggregation</strong><br />

required by both approaches: image pyramids requires 33% additional s<strong>to</strong>rage space,<br />

while our algorithm only requires 5% additional space.<br />

Fig. 5.5(a) shows the distribution of the scale vec<strong>to</strong>rs for all queries in the workload.<br />

The pre-aggregates selected by image pyramids are shown in Fig. 5.6(a). Image<br />

pyramids allocates space for pre-aggregates with scale fac<strong>to</strong>rs 2, 4, 8, 16, 32, 128, and<br />

256 in each dimension. In contrast, our pre-aggregation selection algorithm selected<br />

one query, shown in Fig. 5.6(b). Although our algorithm makes more efficient use<br />

of s<strong>to</strong>rage space and computes the workload faster than image pyramids, this kind of<br />

scenario is not likely <strong>to</strong> occur in practice. The s<strong>to</strong>rage overhead is simply not justified.<br />

However, users may benefit from having a system that au<strong>to</strong>matically pre-aggregates<br />

such operations with minimum overhead, a capability that can be provided by using<br />

our algorithm.<br />

Step Distribution<br />

We now consider a scenario where scale vec<strong>to</strong>rs are distributed in various ranges of<br />

frequencies, i.e. in a step distribution. The PRE-AGGREGATESSELECTION algorithm<br />

yields 6 pre-aggregates for this test, where scaling operations are executed with scale

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

Saved successfully!

Ooh no, something went wrong!