Database Column Uniqueness Sampling Method

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Determining whether a column in a large database table is free of duplicate entries is computationally expensive and inefficient, especially when dealing with numerous columns and combinations thereof.

Innovation Solution

A method that samples a subset of entries from a column or combination of columns to quickly determine uniqueness with high confidence, using a subsampling approach that estimates the required sample size based on desired tolerance and uniqueness, thereby reducing computational complexity and time.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If all entries in a column are checked to determine uniqueness, then measurement precision is improved, but productivity deteriorates

Engineering Contradiction:
Improveuniqueness determination accuracyVSAvoidcolumn evaluation speed
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent applies partial action by evaluating only a sampled subset of column entries rather than all entries. The system determines uniqueness by examining a carefully selected sample that provides sufficient statistical confidence, thereby achieving acceptable measurement precision while dramatically improving productivity through reduced computational workload.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The patent changes the parameter of evaluation from complete entry inspection to sampled entry inspection. By adjusting sample size and selection criteria, the system optimizes the balance between measurement precision (uniqueness determination accuracy) and productivity (evaluation speed), allowing flexibility based on confidence requirements.

Inventive Principle:
Principle #35Parameter changes

2Productivity

If column sampling is used to determine uniqueness, then productivity is improved, but measurement precision deteriorates

Engineering Contradiction:
Improvecolumn evaluation speedVSAvoiduniqueness determination accuracy
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

The patent incorporates feedback mechanisms where the sampling results inform subsequent evaluation decisions. The system uses confidence thresholds and statistical analysis of the sampled data to determine whether the sample provides sufficient evidence of uniqueness, allowing iterative refinement of evaluation accuracy while maintaining productivity benefits.

Inventive Principle:
Principle #23Feedback

3Measurement precision

If combinations of multiple columns are evaluated for uniqueness, then measurement precision is improved, but device complexity increases

Engineering Contradiction:
Improveuniqueness determination accuracyVSAvoidevaluation system complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent applies segmentation by breaking down the complex task of evaluating multi-column combinations into manageable segments. The system evaluates columns individually first, then systematically combines them in controlled groups, reducing the overall complexity while maintaining the ability to determine uniqueness across column combinations.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent uses partial action in evaluating column combinations by sampling entries from the combined columns rather than performing complete evaluations. This approach maintains measurement precision for combination uniqueness while reducing device complexity through selective rather than exhaustive analysis.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS12026139B2Efficient method to find columns of a table which are unique
Publication Date: 2024.07.02 DELL PROD LP
  • US12026139B2 patent drawing
  • US12026139B2 patent drawing
  • US12026139B2 patent drawing

AI summary

One example method includes identifying a column of a table, and the column includes multiple entries, setting a proposed uniqueness for the column, setting a confidence tolerance for the proposed uniqueness, estimating a sub-sample size for the column based on the proposed uniqueness and the confidence tolerance, based on the sub-sample size, sampling a subset of the entries in the column and, based on the sampling, determining whether or not the column is a primary key for the table.