Database identifier generation in transaction processing systems
First Claim
Patent Images
1. A method for transaction processing using a database of a transaction processing system, comprising:
- initiating, by one or more processors, a generation of an identifier based, at least in part, on definitions of both a primary range and a secondary range that are respectively represent either an instance range or a partition range, wherein a definition of the secondary range includes a maximum number of values in the secondary range;
obtaining, by one or more processors, a unique sequence value from a unique sequence range of known maximum number of values;
calculating, by one or more processors, an offset value based on the primary range and the secondary range, wherein calculating the offset value includes;
determining, by one or more processors, a first product by multiplying a value included in the primary range and the maximum number of values in the secondary range;
adding, by one or more processors, the first product to a value included in the secondary range to generate a first total; and
multiplying, by one or more processors, the first total by the maximum number of values in the unique sequence range;
adding, by one or more processors, the offset value to the unique sequence value to generate an identifier value; and
processing a transaction of a plurality of transactions by using the generated identifier value as a database primary key in the database of the transaction processing system.
1 Assignment
0 Petitions
Accused Products
Abstract
One or more processors initiate generation of an identifier based on the definitions of both a primary range and a secondary range. One or more processors obtain a unique sequence value from a unique sequence range of known maximum number of values. One or more processors calculate an offset value based on, at least in part, the primary range and the secondary range. One or more processors add the offset value to the unique sequence value to generate an identifier value.
29 Citations
10 Claims
-
1. A method for transaction processing using a database of a transaction processing system, comprising:
-
initiating, by one or more processors, a generation of an identifier based, at least in part, on definitions of both a primary range and a secondary range that are respectively represent either an instance range or a partition range, wherein a definition of the secondary range includes a maximum number of values in the secondary range; obtaining, by one or more processors, a unique sequence value from a unique sequence range of known maximum number of values; calculating, by one or more processors, an offset value based on the primary range and the secondary range, wherein calculating the offset value includes; determining, by one or more processors, a first product by multiplying a value included in the primary range and the maximum number of values in the secondary range; adding, by one or more processors, the first product to a value included in the secondary range to generate a first total; and multiplying, by one or more processors, the first total by the maximum number of values in the unique sequence range; adding, by one or more processors, the offset value to the unique sequence value to generate an identifier value; and processing a transaction of a plurality of transactions by using the generated identifier value as a database primary key in the database of the transaction processing system. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
Specification