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.

List <strong>of</strong> Figures<br />

3.27 Workload Adaptation Delays . . . . . . . . . . . . . . . . . . . . . . . . . . 82<br />

3.28 Influence <strong>of</strong> Parameters on the Sensibility <strong>of</strong> Workload Adaptation . . . . . 83<br />

3.29 Comparison Scenario <strong>of</strong> Periodical Re-<strong>Optimization</strong> with Correlation . . . . 85<br />

4.1 Example Instance-<strong>Based</strong> Execution <strong>of</strong> Plan P 2 . . . . . . . . . . . . . . . . 90<br />

4.2 Example Fully Vectorized Execution <strong>of</strong> Plan P 2 ′ . . . . . . . . . . . . . . . . 90<br />

4.3 Temporal Aspects <strong>of</strong> Instance-<strong>Based</strong> and Vectorized Plans . . . . . . . . . . 91<br />

4.4 Conceptual Model <strong>of</strong> Execution Buckets . . . . . . . . . . . . . . . . . . . . 93<br />

4.5 Example Plan Vectorization . . . . . . . . . . . . . . . . . . . . . . . . . . . 95<br />

4.6 Rewriting Switch Operators . . . . . . . . . . . . . . . . . . . . . . . . . . . 96<br />

4.7 Rewriting Invoke Operators . . . . . . . . . . . . . . . . . . . . . . . . . . . 98<br />

4.8 Speedup Test with Varying Degree <strong>of</strong> Parallelism . . . . . . . . . . . . . . . 100<br />

4.9 Example <strong>Cost</strong>-<strong>Based</strong> Plan Vectorization . . . . . . . . . . . . . . . . . . . . 101<br />

4.10 Spectrum <strong>of</strong> <strong>Cost</strong>-<strong>Based</strong> Vectorization . . . . . . . . . . . . . . . . . . . . . 101<br />

4.11 Work Cycle Domination by Operator o 3 . . . . . . . . . . . . . . . . . . . . 102<br />

4.12 Plan-Dependent Search Space . . . . . . . . . . . . . . . . . . . . . . . . . . 103<br />

4.13 Bucket Merging with Different λ . . . . . . . . . . . . . . . . . . . . . . . . 108<br />

4.14 Heuristic Operator Distribution with Fixed k . . . . . . . . . . . . . . . . . 111<br />

4.15 Example Operator Awareness . . . . . . . . . . . . . . . . . . . . . . . . . . 112<br />

4.16 Problem <strong>of</strong> Solving P-CPV for all Plans . . . . . . . . . . . . . . . . . . . . 114<br />

4.17 Heuristic Multiple Plan Vectorization . . . . . . . . . . . . . . . . . . . . . . 116<br />

4.18 Example Periodical Re-<strong>Optimization</strong> . . . . . . . . . . . . . . . . . . . . . . 118<br />

4.19 Use Case Comparison <strong>of</strong> Vectorization . . . . . . . . . . . . . . . . . . . . . 120<br />

4.20 Evaluated Example Plan P m . . . . . . . . . . . . . . . . . . . . . . . . . . 121<br />

4.21 Scalability Comparison with Different Influencing Factors . . . . . . . . . . 122<br />

4.22 Latency Time and Execution Time <strong>of</strong> Single Messages (for n = 250) . . . . 124<br />

4.23 Vectorization Deployment Overhead . . . . . . . . . . . . . . . . . . . . . . 125<br />

4.24 Influence <strong>of</strong> λ with Different Numbers <strong>of</strong> Operators and Data Sizes . . . . . 126<br />

4.25 Restricting k with Different Numbers <strong>of</strong> Operators and Data Sizes . . . . . 127<br />

5.1 Example Instance-<strong>Based</strong> Plan Execution . . . . . . . . . . . . . . . . . . . . 130<br />

5.2 Example Message Batch Plan Execution . . . . . . . . . . . . . . . . . . . . 131<br />

5.3 Common Cases <strong>of</strong> Rewritten Queries to External Systems . . . . . . . . . . 132<br />

5.4 Query Execution Times . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132<br />

5.5 Partitioned Message Batch Execution P 2 ′ . . . . . . . . . . . . . . . . . . . . 133<br />

5.6 Example Partition Tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135<br />

5.7 Example Hash Partition Tree . . . . . . . . . . . . . . . . . . . . . . . . . . 137<br />

5.8 Inverse Operators PSplit and PMerge . . . . . . . . . . . . . . . . . . . . . 140<br />

5.9 Example Plan Rewriting Using the Split and Merge Approach . . . . . . . . 140<br />

5.10 P-MFO Temporal Aspects (with ∆tw > W (P ′ )) . . . . . . . . . . . . . . . 143<br />

5.11 Relative Execution Time W (P 2 ′, k′ )/k ′ . . . . . . . . . . . . . . . . . . . . . 145<br />

5.12 Search Space for Waiting Time Computation . . . . . . . . . . . . . . . . . 147<br />

5.13 Monotonically Non-Increasing Execution Time with Lower Bound . . . . . 152<br />

5.14 Waiting Time Computation With Skewed Message Arrival Rate . . . . . . . 154<br />

5.15 Use Case Comparison <strong>of</strong> Multi-Flow <strong>Optimization</strong> . . . . . . . . . . . . . . 157<br />

5.16 Use Case Scalability Comparison with Varying Data Size d . . . . . . . . . 159<br />

5.17 Use Case Scalability Comparison with Varying Batch Size k ′ . . . . . . . . 159<br />

5.18 Execution Time W (P 2 ′, k′ ) with Varying Batch Size k ′ . . . . . . . . . . . . 160<br />

220

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

Saved successfully!

Ooh no, something went wrong!