Database Table Vector Representation for Relationship Analysis

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing technologies for measuring table relationships in distributed database management systems are complex and ineffective, making it difficult to quantify and analyze relationships between database tables, especially in large databases with frequent updates.

Innovation Solution

The technology represents database tables as vectors in a multi-dimensional vector space, allowing for the measurement of usage proximity or distance between tables based on their join operations, foreign keys, and views, thereby enabling efficient and accurate analysis of table relationships.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If existing technologies are used to measure table relationships, then table relationship analysis can be performed, but the analysis becomes complex and ineffective

Engineering Contradiction:
Improvetable relationship measurement accuracyVSAvoidanalysis system complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent replaces complex mechanical/mathematical relationship analysis systems with a semantic embedding system that uses vector representations and cosine similarity. Instead of traditional complex algorithms for measuring table relationships, the system converts table schemas into semantic vectors and uses simple cosine similarity calculations to determine relationship strength, thereby reducing system complexity while maintaining or improving measurement accuracy.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Productivity

If traditional methods are used for table relationship analysis, then relationships can be identified, but the methods are ineffective especially in large databases

Engineering Contradiction:
Improvetable relationship analysis efficiencyVSAvoidrelationship quantification accuracy
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

The system substitutes traditional ineffective relationship analysis methods with semantic embedding and cosine similarity calculations. This replacement enables efficient processing of large databases by converting complex relationship identification into simple vector operations, simultaneously improving both productivity and measurement precision through the mathematical properties of cosine similarity.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Solution Approach 2:

The patent changes the parameter space from traditional relationship metrics to semantic vector embeddings. By representing tables as vectors in a high-dimensional space and measuring relationships through cosine similarity, the system transforms the problem into a computationally efficient parameter space that scales well with database size while providing accurate relationship quantification.

Inventive Principle:
Principle #35Parameter changes

3Measurement precision

If complex analysis methods are applied to large databases, then comprehensive relationship analysis is possible, but the complexity increases and effectiveness decreases

Engineering Contradiction:
Improverelationship analysis accuracyVSAvoidsystem usability
Core Design Contradiction:
Measurement precisionVSEase of operation

Solution Approach 1:

The patent replaces complex and difficult-to-operate relationship analysis systems with a streamlined semantic embedding approach. The system automatically converts table schemas to vectors and computes cosine similarities, providing accurate relationship analysis without requiring users to manage complex configurations or understand sophisticated algorithms, thereby improving ease of operation while maintaining high measurement precision.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Data Source

PatentUS20250165452A1Relationship analysis using vector representations of database tables
Publication Date: 2025.05.22 SAP SE
  • US20250165452A1 patent drawing
  • US20250165452A1 patent drawing
  • US20250165452A1 patent drawing

AI summary

A computer-implemented method includes representing a plurality of database tables as respective vectors in a multi-dimensional vector space, receiving an indication that a first database table represented by a first vector and a second database table represented by a second vector are related to each other, moving positions of the respective vectors representing the plurality of database tables in the multi-dimensional vector space in response to the indication, and grouping the plurality of database tables into one or more table clusters based on positions of the respective vectors representing the plurality of database tables in the multi-dimensional vector space.