Technique for creating a unique quasi-random row identifier
First Claim
1. A method of generating a row identification number within a computer, the row identification number being associated with a row in a database, wherein the database is stored on a data storage device connected to the computer, the method comprises:
- creating a unique row identification number by using a computer-dependent timestamp; and
manipulating the unique row identification number so that the row identification number is quasi-random.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention discloses a method, apparatus, and article of manufacture for generating a row identification number within a computer. In accordance with the present invention, the row identification number is associated with a row in a database. The database is stored on a data storage device connected to a computer. A unique row identification number is created by using a computer-dependent timestamp. The unique row identification number is manipulated so that the row identification number is quasi-random.
-
Citations
30 Claims
-
1. A method of generating a row identification number within a computer, the row identification number being associated with a row in a database, wherein the database is stored on a data storage device connected to the computer, the method comprises:
-
creating a unique row identification number by using a computer-dependent timestamp; and
manipulating the unique row identification number so that the row identification number is quasi-random. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
reversing the order of a portion of the bits; and
locating the reversed portion of the bits in front of a remaining portion of the bits.
-
-
3. The method of claim 1, wherein the method further comprises:
-
receiving computer dependent information; and
appending the computer-dependent information to the computer-dependent timestamp to create the unique row identification number.
-
-
4. The method of claim 3, wherein the computer-dependent timestamp is located in front of the computer-dependent information.
-
5. The method of claim 3, wherein the computer-dependent information comprises a central processing unit identification number.
-
6. The method of claim 3, wherein the computer-dependent information comprises a machine-type number.
-
7. The method of claim 3, wherein the computer-dependent information comprises a version code.
-
8. The method of claim 3, wherein the computer is connected to a plurality of computers, and wherein each computer has rows having row identification numbers, and wherein each row identification number is unique among the plurality of computers.
-
9. The method of claim 1, wherein the method further comprises using the row identification number as a database partitioning key in a partitioned database.
-
10. The method of claim 1, wherein the method further comprises using the computer-dependent timestamp contained within the row identification number to determine a time at which a particular row was inserted into the database.
-
11. An apparatus for generating a row identification number within a computer, the row identification number being associated with a row in a database, comprising:
-
a computer having a data storage device connected thereto, wherein the data storage device stores the database; and
one or more computer programs, performed by the computer, for creating a unique row identification number by using a computer-dependent timestamp, and manipulating the unique row identification number so that the row identification number is quasi-random. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
-
21. An article of manufacture comprising a computer program carrier readable by a computer and embodying one or more instructions executable by the computer to perform a method that generates a row identification number within a computer, the row identification number being associated with a row in a database, wherein the database is stored on a data storage device connected to the computer, the method comprises:
-
creating a unique row identification number by using a computer-dependent timestamp; and
manipulating the unique row identification number so that the row identification number is quasi-random. - View Dependent Claims (22, 23, 24, 25, 26, 27, 28, 29, 30)
reversing the order of a portion of the bits; and
locating the reversed portion of the bits in front of a remaining portion of the bits.
-
-
23. The article of manufacture of claim 21, wherein the method further comprises:
-
receiving computer dependent information; and
appending the computer-dependent information to the computer-dependent timestamp to create the unique row identification number.
-
-
24. The article of manufacture of claim 23, wherein the computer-dependent timestamp is located in front of the computer-dependent information.
-
25. The article of manufacture of claim 23, wherein the computer-dependent information comprises a central processing unit identification number.
-
26. The article of manufacture of claim 23, wherein the computer-dependent information comprises a machine-type number.
-
27. The article of manufacture of claim 23, wherein the computer-dependent information comprises a version code.
-
28. The article of manufacture of claim 23, wherein the computer is connected to a plurality of computers, and wherein each computer has rows having row identification numbers, and wherein each row identification number is unique among the plurality of computers.
-
29. The article of manufacture of claim 21, wherein the method further comprises using the row identification number as a database partitioning key in a partitioned database.
-
30. The article of manufacture of claim 21, wherein the method further comprises using the computer-dependent timestamp contained within the row identification number to determine a time at which a particular row was inserted into the database.
Specification