Efficient Identification of Entire Row Uniqueness in Relational Databases
First Claim
1. A method for efficiently identifying uniqueness of rows of a relational database, the method comprising:
- creating a cryptographic sum of one or more rows of a target table of the relational database;
wherein the cryptographic sum contains a unique value representing the contents of a row of the target table;
receiving an incoming record;
selecting a row of the plurality of rows of the incoming record;
determining if the selected row contains an incoming cryptographic sum, wherein the incoming cryptographic sum contains a unique value representing the contents of a row;
in response to determining that the selected row contains the incoming cryptographic sum, comparing the incoming cryptographic sum of the selected row to the cryptographic sum of a similarly identified row of the target table; and
in response to the incoming cryptographic sum of the selected row being identical to the cryptographic sum of the similarly identified row, disregarding the selected row when updating the target table.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, system, and computer program product for efficiently comparing multiple columns of a row of a relational database to an incoming record. A computer creates a cryptographic sum for columns of a row of the relational database. The cryptographic sum is stored as a hidden column in the relational database. Logic may compare the cryptographic sum with an incoming cryptographic sum of entries in an incoming record. Logic may then determine if the incoming cryptographic sums differ from the corresponding cryptographic sums of rows of data of the relational database. When the two cryptographic sums are identical, the data of the incoming record is disregarded as an identical record that already exists. An entry of the incoming record may be added to the target table or updated within an existing record of the relational database when the cryptographic sum and the incoming cryptographic sum of that entry differ.
-
Citations
20 Claims
-
1. A method for efficiently identifying uniqueness of rows of a relational database, the method comprising:
-
creating a cryptographic sum of one or more rows of a target table of the relational database;
wherein the cryptographic sum contains a unique value representing the contents of a row of the target table;receiving an incoming record; selecting a row of the plurality of rows of the incoming record; determining if the selected row contains an incoming cryptographic sum, wherein the incoming cryptographic sum contains a unique value representing the contents of a row; in response to determining that the selected row contains the incoming cryptographic sum, comparing the incoming cryptographic sum of the selected row to the cryptographic sum of a similarly identified row of the target table; and in response to the incoming cryptographic sum of the selected row being identical to the cryptographic sum of the similarly identified row, disregarding the selected row when updating the target table. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer comprising:
-
a processor; a memory coupled to the processor; processing logic for; creating a cryptographic sum of one or more rows of a target table of the relational database;
wherein the cryptographic sum contains a unique value representing the contents of a row of the target table;receiving an incoming record; selecting a row of the plurality of rows of the incoming record; determining if the selected row contains an incoming cryptographic sum, wherein the incoming cryptographic sum contains a unique value representing the contents of a row; in response to determining that the selected row contains the incoming cryptographic sum, comparing the incoming cryptographic sum of the selected row to the cryptographic sum of a similarly identified row of the target table; and in response to the incoming cryptographic sum of the selected row being identical to the cryptographic sum of the similarly identified row, disregarding the selected row when updating the target table. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A readable medium having a plurality of instructions embodied therein, wherein the plurality of instructions, when executed by a processing device, allows a machine to:
-
create a cryptographic sum of one or more rows of a target table of the relational database;
wherein the cryptographic sum contains a unique value representing the contents of a row of the target table;receive an incoming record; select a row of the plurality of rows of the incoming record; determine if the selected row contains an incoming cryptographic sum, wherein the incoming cryptographic sum contains a unique value representing the contents of a row; in response to determining that the selected row contains the incoming cryptographic sum, compare the incoming cryptographic sum of the selected row to the cryptographic sum of a similarly identified row of the target table; and in response to the incoming cryptographic sum of the selected row being identical to the cryptographic sum of the similarly identified row, disregard the selected row when updating the target table. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification