×

Generating composite key relationships between database objects based on sampling

  • US 9,336,246 B2
  • Filed: 02/28/2012
  • Issued: 05/10/2016
  • Est. Priority Date: 02/28/2012
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method of determining key relationships between database tables comprising:

  • determining a sampling range for one or more matching columns between first and second database tables, wherein the matching columns satisfy one or more matching criteria and the sampling range is defined by minimum and maximum column values and is based on quantities of distinct values within the matching columns, and wherein determining a sampling range includes;

    identifying a median value within a set of ordered column values for the matching columns; and

    assigning consecutive column values from the ordered set less than the median value to the minimum column value and assigning consecutive column values from the ordered set greater than the median value to the maximum column value until the minimum and maximum column values of the sampling range produce a desired size for a sample set;

    sampling data from the first and second database tables with values complying with the minimum and maximum column values of the sampling range for the one or more matching columns to determine the sample set; and

    determining keys between the first and second database tables based on a comparison of matching between columns within the sample set and matching between columns of a full data set of the first and second database tables.

View all claims
  • 4 Assignments
Timeline View
Assignment View
    ×
    ×