2015CiiT international journal of artificial intelligent systems and machine learningRequires access

Effective Nested Loop Reactive Join Algorithm for Multiple Relations on Input Data

S. Manikandan

Open publisher page 0 citations

Abstract

Adaptive join algorithms have recently attracted a lot of attention in emerging applications where data are provided by autonomous data sources through heterogeneous network environments. Their main advantage over traditional join techniques is that they can start producing join results as soon as the first input tuples are available, thus, improving pipelining by smoothing join result production and by masking source or network delays. In this paper, we first propose DINER (Double Index NEsted-loops Reactive join), a new adaptive two-way join algorithm for result rate maximization. DINER combines two key elements: an intuitive flushing policy that aims to increase the productivity of in-memory tuples in producing results during the online phase of the join, and a novel reentrant join technique that allows the algorithm to rapidly switch between processing in-memory and disk-resident tuples, thus, better exploiting temporary delays when new data are not available. We then extend the applicability of the proposed technique for a more challenging setup: handling more than two inputs. Multi Active Relational join Algorithm (MARA) is a multiway join operator that inherits its principles from DINER. Our experiments using real and synthetic data sets demonstrate that TARA outperforms previous adaptive join algorithms in producing result tuples at a significantly higher rate, while making better use of the available memory. Our experiments also shows that in the presence of multiple inputs, MARA manages to produce a high percentage of early results, outperforming existing techniques for adaptive multiway join.

About this research paper

What this paper is about

Adaptive join algorithms have recently attracted a lot of attention in emerging applications where data are provided by autonomous data sources through heterogeneous network environments. Their main advantage over traditional join techniques is that they can start producing join results as soon as the first input tuples are available, thus, improving pipelining by smoothing join result production and by masking source or network delays. In this paper, we first propose DINER (Double Index NEsted-loops Reactive join), a new adaptive two-way join algorithm for result rate maximization. DINER combines two key elements: an intuitive flushing policy that aims to increase the productivity of in-memory tuples in producing results during the online phase of the join, and a novel reentrant join technique that allows the algorithm to rapidly switch between processing in-memory and disk-resident tuples, thus, better exploiting temporary delays when new data are not available. We then extend the applicability of the proposed technique for a more challenging setup: handling more than two inputs. Multi Active Relational join Algorithm (MARA) is a multiway join operator that inherits its principles from DINER. Our experiments using real and synthetic data sets demonstrate that TARA outperforms previous adaptive join algorithms in producing result tuples at a significantly higher rate, while making better use of the available memory. Our experiments also shows that in the presence of multiple inputs, MARA manages to produce a high percentage of early results, outperforming existing techniques for adaptive multiway join.

Why it matters

A significance statement is not available in the OpenAlex record.

Key contribution

A contribution statement is not available in the OpenAlex record.

Method / approach

Method details are not available in the OpenAlex metadata.

Main findings

Findings are not separately available in the OpenAlex metadata.

Limitations

Limitations are not available in the OpenAlex metadata.

Applications

Application details are not available in the OpenAlex metadata.

Available abstract

Adaptive join algorithms have recently attracted a lot of attention in emerging applications where data are provided by autonomous data sources through heterogeneous network environments. Their main advantage over traditional join techniques is that they can start producing join results as soon as the first input tuples are available, thus, improving pipelining by smoothing join result production and by masking source or network delays. In this paper, we first propose DINER (Double Index NEsted-loops Reactive join), a new adaptive two-way join algorithm for result rate maximization. DINER combines two key elements: an intuitive flushing policy that aims to increase the productivity of in-memory tuples in producing results during the online phase of the join, and a novel reentrant join technique that allows the algorithm to rapidly switch between processing in-memory and disk-resident tuples, thus, better exploiting temporary delays when new data are not available. We then extend the applicability of the proposed technique for a more challenging setup: handling more than two inputs. Multi Active Relational join Algorithm (MARA) is a multiway join operator that inherits its principles from DINER. Our experiments using real and synthetic data sets demonstrate that TARA outperforms previous adaptive join algorithms in producing result tuples at a significantly higher rate, while making better use of the available memory. Our experiments also shows that in the presence of multiple inputs, MARA manages to produce a high percentage of early results, outperforming existing techniques for adaptive multiway join.

Key concepts: Computer science, Tuple, Sort-merge join, Hash join, Join (topology), Nested loop join, Algorithm, Theoretical computer science

Related papers

Back to paper searchBrowse research topicsOriginal source
Effective Nested Loop Reactive Join Algorithm for Multiple Relations on Input Data — Research Paper | ScholarLens