Distributed Data Warehouse Join Algorithm Selection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Distributed data warehouses face inefficiencies in resource utilization and query performance due to the lack of an optimal join algorithm for joining data tables, leading to varying resource consumption and processing capabilities across different algorithms.

Innovation Solution

A method that determines the execution costs of various table joining algorithms in a distributed data warehouse, selects the most suitable algorithm based on estimated costs, and joins data tables using the target algorithm to optimize resource usage and query efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If different join algorithms are used to join data tables in a distributed data warehouse, then various resources (CPU, IO, data records) are consumed, but it is difficult to determine which algorithm is most suitable without cost estimation

Engineering Contradiction:
Improvequery efficiencyVSAvoidalgorithm selection complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The system performs preliminary cost estimation for multiple join algorithms before actually executing the join operation. By calculating estimated execution costs in advance based on algorithm characteristics and data table properties, the system can pre-determine the most suitable algorithm without trial-and-error execution, thus improving query efficiency while managing selection complexity.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system establishes a feedback mechanism where execution costs of different join algorithms are estimated and compared, then the algorithm with the lowest estimated cost is selected. This feedback loop between cost estimation and algorithm selection enables intelligent decision-making that balances productivity improvement with controlled system complexity.

Inventive Principle:
Principle #23Feedback

2Loss of energy

If an optimal join algorithm is selected based on execution cost estimation, then resource utilization improves, but the system requires additional computation to estimate costs for multiple algorithms

Engineering Contradiction:
Improveresource consumptionVSAvoidcomputation cost for estimation
Core Design Contradiction:
Loss of energyVSUse of energy by moving object

Solution Approach 1:

The system performs cost estimation for multiple join algorithms in parallel rather than sequentially, and only executes the estimation process to the extent necessary to identify the optimal algorithm. This partial action approach minimizes the additional computation required while still achieving improved resource utilization through informed algorithm selection.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The system creates computational models or copies of the join algorithms with their respective cost estimation logic, allowing simultaneous evaluation of multiple algorithms without requiring actual data processing. This copying approach enables cost comparison with minimal additional computational overhead while optimizing resource consumption during the actual join operation.

Inventive Principle:
Principle #26Copying

3Productivity

If the system evaluates multiple table joining algorithms with cost estimation, then the best algorithm can be selected, but the process becomes more complex

Engineering Contradiction:
Improvejoin processing efficiencyVSAvoidalgorithm evaluation process
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The system segments the join algorithm evaluation process into distinct components: cost estimation module, algorithm comparison module, and selection module. Each component handles a specific aspect of the evaluation, making the overall complex process more manageable and maintainable while still enabling efficient selection of the optimal join algorithm for improved processing efficiency.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS11650990B2Method, medium, and system for joining data tables
Publication Date: 2023.05.16 CLOUD INTELLIGENCE ASSETS HOLDING (SINGAPORE) PTE LTD
  • US11650990B2 patent drawing
  • US11650990B2 patent drawing
  • US11650990B2 patent drawing

AI summary

Data tables that are located in a distributed data warehouse are joined with a target join-calculating algorithm that has been selected from a number of table joining algorithms which have been compared to each other based on the execution costs of each of the number of table joining algorithms.