A Two-stage Commit Transaction Control Method
A control method and two-stage technology, applied in the transaction control field of two-stage commit, can solve the problems of increasing the probability of database lock conflict, prolonging transaction execution time, prolonging transaction time, etc., so as to reduce lock conflict and lock waiting time. , reduce transaction execution time, reduce the effect of transaction time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0057] Suppose there is an order business in the application system, and the order has a master-slave structure consisting of an order master table and an order detail table.
[0058] The structure of the order master table is shown in Table 1 below:
[0059] Table 1
[0060] field name
Chinese name
Types of
illustrate
ID
Unique ID of the order
VARCHAR(36)
GUID
Code
VARCHAR(100)
Sum
order amount
MONY
[0061] The structure of the order details table is shown in Table 2 below:
[0062] Table 2
[0063]
[0064] The specific process of using the transaction control method of the present invention's two-stage submission to the order is as follows:
[0065] 1. The created transaction management list information is as follows:
[0066] transaction ID
transaction status
creation time
Complete time
describe
T1
created
Time1
N...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


