Tape-disk join strategies under disk contention

Achim Kraiß, P. Muth, Michael Gillmann · 1999

Large-scale data warehousing, data mining and scientific applications require the analysis of terabytes of factual data accumulated over long periods of time. Tape libraries are suitable for storing such mass data. The online analytical processing (OLAP) of this data typically leads to long-running aggregation queries joining the tape-resident fact relations with disk-resident dimension relations. During the join execution, the disks storing the dimension relations are often not dedicated to the join. They are subject to reads and writes invoked by concurrently running applications. In many cases, the performance of these concurrent applications should not be degraded too much by the processing of the join. We present an accurate model for analysing the performance of three different tape-disk join strategies in multi-query systems. The major contributions are: (a) a cost model considering tape and disk bandwidth, tape and disk latencies, available buffer sizes, CPU costs and the selectivity of filters on tape data; (b) disk queueing effects due to concurrent reads and writes at the disk; and (c) two disk scheduling strategies. We show the superiority of a disk scheduling strategy that gives preference to the servicing of the concurrent disk load. We present a strategy for dynamically selecting the most beneficial join algorithm and its parameters at run time. We have implemented the join strategies in a prototype system based on detailed simulations of secondary and tertiary storage devices. Our evaluations confirm that the model is very accurate and a suitable basis for run-time strategy decisions.

Read the paper · More papers on PaperTik