节点文献
数据流与磁盘存贮表的连接计算算法
Algorithm of Joining Data Stream with Disk- based Relation
【摘要】 数据流与存贮表的连接查询经常出现在主动式数据仓库的维护中,与传统的关系数据库的连接计算不同,数据流快速处理的要求不允许将数据流先存入磁盘再计算,而计算机内存无法存储无界增长的数据流,因此数据流查询采用先处理再存储结果的计算方式。数据流与存贮表的连接计算算法重点要解决内存开销和处理速率二个问题。MESHJOIN算法最早提出将存贮表划分为若干个数据块,将数据块交替放入内存与数据流窗口完成连接计算。在MESHJOIN算法思想的基础上将存贮表的内存数据块也划分为若干逻辑分区,每次连接计算仅替换其中的一个逻辑分区,有效地降低了数据流滑动窗口所需的I/O代价,从而提高滑动窗口的计算速率。最后通过实验对二种算法在内存开销和计算速率进行了比较。
【Abstract】 In an active data warehouse,an important problem of data integration is the join of a continuous incoming data stream with a disk- based relation. Since data stream is infinite and is quickly processed,it is impossible for joining data stream with disk- based relation to adopt blocking join algorithms of traditional relational database. So data stream processing is first queried and then stored results. The memory cost and the service rate are two important factors for the join algorithm of a data stream with a disk- based relation. The algorithm of MESHJOIN researched on how to join a stream with disk- based relation and proposed that a disk- based relation is divided into several blocks.The paper thinks the heavy I / O cost every iteration as a result of replacing whole memory block of disk- based relation. The paper proposes that the memory block is divided into a number of logical partitions,and then every iteration only one logical partition of memory block is replaced. The result shows that the service rate of the join is increased by way of decreasing the I / O cost for one loop iteration. In the end the comparison of the memory cost and the service rate between two algorithms is made by the experiment.
【Key words】 data stream; join computing; disk-based relation; logical partition; rate;
- 【文献出处】 控制工程 ,Control Engineering of China , 编辑部邮箱 ,2014年06期
- 【分类号】TP311.13;TP333
- 【被引频次】2
- 【下载频次】38