25.01.2015 Views

Cost-Based Optimization of Integration Flows - Datenbanken ...

Cost-Based Optimization of Integration Flows - Datenbanken ...

Cost-Based Optimization of Integration Flows - Datenbanken ...

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

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

Contents<br />

4.2 Plan Vectorization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89<br />

4.2.1 Overview and Meta Model Extension . . . . . . . . . . . . . . . . . . 89<br />

4.2.2 Rewriting Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . 93<br />

4.2.3 <strong>Cost</strong> Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98<br />

4.3 <strong>Cost</strong>-<strong>Based</strong> Vectorization . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99<br />

4.3.1 Problem Generalization . . . . . . . . . . . . . . . . . . . . . . . . . 100<br />

4.3.2 Computation Approach . . . . . . . . . . . . . . . . . . . . . . . . . 105<br />

4.3.3 <strong>Cost</strong>-<strong>Based</strong> Vectorization with Restricted Number <strong>of</strong> Buckets . . . . 110<br />

4.3.4 Operator-Aware <strong>Cost</strong>-<strong>Based</strong> Vectorization . . . . . . . . . . . . . . . 112<br />

4.4 <strong>Cost</strong>-<strong>Based</strong> Vectorization for Multiple Plans . . . . . . . . . . . . . . . . . . 113<br />

4.4.1 Problem Description . . . . . . . . . . . . . . . . . . . . . . . . . . . 113<br />

4.4.2 Computation Approach . . . . . . . . . . . . . . . . . . . . . . . . . 114<br />

4.5 Periodical Re-<strong>Optimization</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . 116<br />

4.6 Experimental Evaluation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119<br />

4.7 Summary and Discussion . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128<br />

5 Multi-Flow <strong>Optimization</strong> 129<br />

5.1 Motivation and Problem Description . . . . . . . . . . . . . . . . . . . . . . 129<br />

5.2 Horizontal Queue Partitioning . . . . . . . . . . . . . . . . . . . . . . . . . . 135<br />

5.2.1 Maintaining Partition Trees . . . . . . . . . . . . . . . . . . . . . . . 135<br />

5.2.2 Deriving Partitioning Schemes . . . . . . . . . . . . . . . . . . . . . 138<br />

5.2.3 Plan Rewriting Algorithm . . . . . . . . . . . . . . . . . . . . . . . . 139<br />

5.3 Periodical Re-<strong>Optimization</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . 142<br />

5.3.1 Formal Problem Definition . . . . . . . . . . . . . . . . . . . . . . . 142<br />

5.3.2 Extended <strong>Cost</strong> Model and <strong>Cost</strong> Estimation . . . . . . . . . . . . . . 144<br />

5.3.3 Waiting Time Computation . . . . . . . . . . . . . . . . . . . . . . . 146<br />

5.3.4 <strong>Optimization</strong> Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . 150<br />

5.4 Formal Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151<br />

5.4.1 Optimality Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . 151<br />

5.4.2 Maximum Latency Constraint . . . . . . . . . . . . . . . . . . . . . . 153<br />

5.4.3 Serialized External Behavior . . . . . . . . . . . . . . . . . . . . . . 155<br />

5.5 Experimental Evaluation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156<br />

5.6 Summary and Discussion . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165<br />

6 On-Demand Re-<strong>Optimization</strong> 167<br />

6.1 Motivation and Problem Description . . . . . . . . . . . . . . . . . . . . . . 167<br />

6.2 Plan Optimality Trees . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171<br />

6.2.1 Formal Foundation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171<br />

6.2.2 Creating PlanOptTrees . . . . . . . . . . . . . . . . . . . . . . . . . 173<br />

6.2.3 Updating and Evaluating Statistics . . . . . . . . . . . . . . . . . . . 175<br />

6.3 Re-<strong>Optimization</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177<br />

6.3.1 <strong>Optimization</strong> Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . 178<br />

6.3.2 Updating PlanOptTrees . . . . . . . . . . . . . . . . . . . . . . . . . 180<br />

6.4 <strong>Optimization</strong> Techniques . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181<br />

6.4.1 Control-Flow- and Data-Flow-Oriented Techniques . . . . . . . . . . 181<br />

6.4.2 <strong>Cost</strong>-<strong>Based</strong> Vectorization . . . . . . . . . . . . . . . . . . . . . . . . 185<br />

6.4.3 Multi-Flow <strong>Optimization</strong> . . . . . . . . . . . . . . . . . . . . . . . . 186<br />

6.4.4 Discussion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187<br />

viii

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

Saved successfully!

Ooh no, something went wrong!