Shared Translation Tables for Faster Database Semi-Joins

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing database query execution methods, particularly hash joins, are resource-intensive and inefficient due to the costly scanning of values in multiple tables, leading to performance bottlenecks and increased processing times.

Innovation Solution

Implementing a method that optimizes query execution by detecting a join between tables, translating value identifiers to form a shared translation table, building a hash table using these identifiers, performing a table scan semi-join, and outputting matching rows, thereby reducing the need for extensive scanning and resource usage.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If traditional hash join methods are used to join two tables, then the join operation can be completed, but the resource consumption and processing time increase due to costly scanning of values in multiple tables

Engineering Contradiction:
Improvequery execution efficiencyVSAvoidresource consumption
Core Design Contradiction:
ProductivityVSUse of energy by moving object

Solution Approach 1:

The patent extracts only the necessary value identifiers from the first table to build a translation table, rather than scanning all values in both tables. This selective extraction reduces the amount of data that needs to be processed and compared, directly lowering resource consumption while maintaining join functionality.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent performs preliminary action by building a translation table that maps value identifiers from the first table to the second table before executing the main join operation. This pre-computed mapping structure enables faster lookups during the join, reducing the computational burden during actual query execution.

Inventive Principle:
Principle #10Preliminary action

2Productivity

If traditional hash join methods are used to join two tables, then the join operation can be completed, but the processing time increases due to extensive scanning of values

Engineering Contradiction:
Improvequery execution efficiencyVSAvoidprocessing time
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent creates a copied and transformed version of value identifiers from the first table into a translation table structure that is optimized for the second table's value domain. This copied structure serves as an efficient lookup mechanism, eliminating the need for time-consuming direct comparisons between all pairs of values from both tables.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent changes the parameter representation by translating value identifiers from one table's domain to another table's domain. This parameter transformation creates a shared value identifier space that enables efficient matching and reduces the computational complexity of the join operation, directly reducing processing time.

Inventive Principle:
Principle #35Parameter changes

3Use of energy by moving object

If value identifiers are translated to form a shared translation table, then resource consumption is reduced, but the complexity of the join operation increases

Engineering Contradiction:
Improveresource consumptionVSAvoidjoin operation complexity
Core Design Contradiction:
Use of energy by moving objectVSDevice complexity

Solution Approach 1:

The patent introduces a translation table as an intermediary structure that bridges the value identifier domains of two tables. This intermediary contains pre-computed mappings that simplify the join operation by providing direct lookup paths, reducing the need for complex comparison logic while maintaining resource efficiency.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS20260037518A1Translation table sharing
Publication Date: 2026.02.05 SAP SE
  • US20260037518A1 patent drawing
  • US20260037518A1 patent drawing
  • US20260037518A1 patent drawing

AI summary

In some embodiments, there is provided performing a table scan semi-join on a plurality of second value second identifier of the second table by scanning a plurality of second value identifiers that have been filtered by the translated plurality of first value identifiers and reading one or more filtered second value identifiers of the second table, providing the one or more filtered second value identifiers of the second table as a probe into the hash table including the translated plurality of first value identifiers, and outputting one or more matching rows corresponding to matching value identifiers for matching values in the first table and the second table. Related systems, methods, and articles of manufacture are also disclosed.