Transaction monitoring method, device and system for distributed database and storage medium
A monitoring system and database technology, which is applied to the transaction monitoring of distributed databases and the fields of devices, systems, and storage media, can solve the problems that data nodes cannot meet the operation, maintenance and management requirements of distributed databases, and achieve the effect of improving operation and maintenance efficiency.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0080] This embodiment provides an implementation solution for deadlock transaction analysis. In the deadlock transaction analysis, the business source of the transaction is traced through the TSN information associated with the transaction, which effectively improves the operation and maintenance efficiency of the distributed database. Technical implementation flow chart such as Figure 6 As shown, the specific description is as follows:
[0081] Step 601, the business end initiates transaction 1, and the first statement at the beginning of transaction 1 carries transaction serial number information TSN1;
[0082] Step 602, the business end initiates transaction 2, and the first statement at the beginning of transaction 2 carries transaction serial number information TSN2;
[0083] Step 603, computing nodes distribute transactions;
[0084] Step 604, link 1 in data node 1 processes the request of transaction 1, and records TSN1;
[0085] Step 605, link 2 in data node 1 pr...
Embodiment 2
[0096] This embodiment provides an implementation solution for distributed transaction exception handling. In this embodiment, the method of recording transaction indication information by data node transaction is adopted, and the distributed transaction exception processing is performed through the GTID information associated with the transaction, which greatly simplifies the process of distributed transaction exception processing. Technical implementation flow chart such as Figure 7 As shown, the specific description is as follows:
[0097] Step 701, the business end initiates a distributed transaction 1;
[0098] Step 702, the computing node receives the request of the distributed transaction 1, first assigns the global transaction ID (GTID), and then distributes the statement of the transaction 1 to multiple data nodes of the distributed database for execution according to the distribution rules of the distributed transaction;
[0099] Step 703, data node 1 executes tra...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


