Identification Of Primary And Foreign Keys
AssigneeDynatrace LLC
InventorsThomas Krismayer, Otmar Ertl
Life of this patent
Estimating the term…
Loading patent…
AssigneeDynatrace LLC
InventorsThomas Krismayer, Otmar Ertl
Estimating the term…
A computer-implemented method is presented for determining primary keys in a table of a database system. The method includes: determining a number of rows in the table; for a given column of the table, generating a probabilistic data structure for the given column, where the probabilistic data structure is partitioned into a plurality of registers and configuration parameters for the probabilistic data structure includes a first recording parameter, base, that controls recording of data into the probabilistic data structure; computing a cardinality estimate for the given column using the probabilistic data structure; computing a ratio between the cardinality estimate for the given column and the number of rows in the table; comparing the ratio to a threshold; and designating the given column as a primary key for the table in response to the ratio being greater than the threshold.
A computer-implemented method for determining primary keys in a table of a database system, comprising:
A computer-implemented method for determining foreign keys in a second table relative to a given column designates as a primary key in a first table of a database system, comprising:
A computer-implemented method for formulating a join operation in a database system, comprising:
Dependencies are inferred from the claim text.