Concurrency control method applied to distributed serial long-running transactions
A control method and technology for long transactions, which are used in transaction processing, generation of response errors, and redundancy in operations for data error detection. The effect of improving processing efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0020] Such as figure 1 As shown, an embodiment of the present invention provides a concurrency control method applied to distributed serial long transaction processing, the method includes the following steps:
[0021] Step 1: Create the largest timestamp sequence T R =1 ,t 2 ,t 3 ,...,t n >. where element t i Represents the latest timestamp corresponding to each thread i in the transaction execution process, which is given by the machine according to the time order of the instructions. For distributed transactions, each t i are unique.
[0022] Step 2: Use the distributed hash algorithm (DHT) to divide the time stamp ti in the largest time stamp sequence, so that the time stamp data is evenly distributed to each node, and realize the distributed storage of the time stamp. The specific method is:
[0023] Assume that there are N machines in the distributed system, and the storage range of each machine is M. Use the hash function to determine the ID of each hash bucket...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

