Hash Collision Tables for Relational Database Operations

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Hash collisions in relational database operations lead to increased complexity and overhead, as different data entries can generate the same hash value, requiring costly hashing operations and additional storage to resolve.

Innovation Solution

The system generates hash collision tables by comparing hash values and underlying data to determine equivalence, using a resolution dictionary to store unique identifiers for collided hash values, allowing for efficient relational operations without direct comparison of large data entries.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If hashing operations are used to increase efficiency of relational operations, then processing speed is improved, but hash collisions occur requiring complex data structures and additional storage overhead

Engineering Contradiction:
Improveprocessing speedVSAvoiddata structure complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent segments the hash table into multiple regions or buckets, where each bucket stores only a subset of hash values. This segmentation reduces the complexity of collision resolution by limiting the search space within each bucket, thereby maintaining fast access while reducing overall structure complexity.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces an intermediary index structure that maps hash values to their corresponding data locations. This intermediary layer simplifies the collision resolution process by providing a direct mapping mechanism, reducing the need for complex comparison-based resolution structures.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Productivity

If hashing operations are used to increase efficiency, then processing speed is improved, but costly hashing operations and additional storage overhead are required to resolve collisions

Engineering Contradiction:
Improveprocessing speedVSAvoidstorage overhead
Core Design Contradiction:
ProductivityVSQuantity of substance

Solution Approach 1:

The patent applies local quality by storing only the necessary collision resolution information in each hash bucket rather than complete data structures. Each bucket maintains minimal metadata about collisions, reducing storage overhead while preserving the ability to resolve collisions efficiently when needed.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent uses partial hashing by computing hash values only for the portions of data that are most likely to cause collisions, rather than hashing entire data structures. This partial action reduces the storage overhead associated with storing complete hashed representations while maintaining collision resolution effectiveness.

Inventive Principle:
Principle #16Partial or excessive action

3Reliability

If complex data structures are used to resolve hash collisions, then collision resolution accuracy is improved, but processing overhead increases

Engineering Contradiction:
Improvecollision resolution accuracyVSAvoidprocessing overhead
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent performs preliminary organization of hash values during the hashing phase, pre-grouping potential collisions into appropriate buckets before actual data processing begins. This preliminary action ensures accurate collision resolution is already in place, eliminating the need for complex runtime resolution structures and reducing processing overhead.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS10866971B2Hash collision tables for relational operations
Publication Date: 2020.12.15 SAP SE
  • US10866971B2 patent drawing
  • US10866971B2 patent drawing
  • US10866971B2 patent drawing

AI summary

A system for hash collision tables for relational operations is provided. In some implementations, the system performs operations comprising generating a plurality of hash values for at least a portion of one or more database tables based on a database query, and generating a hash table for at least a portion of the plurality of hash values. The operations can further include generating first results based on execution of a first operation in the database query using the hash table. Additionally, the operations can further include generating second results based on the first results and execution of a second operation in the database query using the hash table. Related systems, methods, and articles of manufacture are also described.