SYSTEMS AND METHODS FOR HANDLING DATABASE DEADLOCKS INDUCED BY DATABASE-CENTRIC APPLICATIONS
First Claim
Patent Images
1. A method of detecting database deadlocks induced by database-centric applications, comprising:
- retrieving data associated with a plurality of database-centric applications (DCAs) from a database;
identifying at least one structured query language (SQL) statement and at least one transaction from the data associated with the plurality of DCAs;
parsing the at least one SQL statement and the at least one transaction into syntax trees, the syntax trees identifying a data structure of the at least one SQL statement and the at least one transaction;
generating at least one Petri net model based on the syntax trees and a database schema, the at least one Petri net model identifying a flow of operations within the at least one SQL statement and the at least one transaction; and
generating at least one augmented Petri net model based on the at least one Petri net model, the at least one augmented Petri net model identifying a deadlock caused by at least two of the plurality of DCAs.
2 Assignments
0 Petitions
Accused Products
Abstract
Systems and methods are provided for handling database deadlocks induced by database-centric applications (DCAs). SQL statements and transactions associated with the DCAs are analyzed and parsed to generate Petri net models. A supervisory modeler generates augmented Petri net models based on the Petri net models, which are used in generating supervisory control. The supervisory control is used in handling database deadlocks.
19 Citations
20 Claims
-
1. A method of detecting database deadlocks induced by database-centric applications, comprising:
-
retrieving data associated with a plurality of database-centric applications (DCAs) from a database; identifying at least one structured query language (SQL) statement and at least one transaction from the data associated with the plurality of DCAs; parsing the at least one SQL statement and the at least one transaction into syntax trees, the syntax trees identifying a data structure of the at least one SQL statement and the at least one transaction; generating at least one Petri net model based on the syntax trees and a database schema, the at least one Petri net model identifying a flow of operations within the at least one SQL statement and the at least one transaction; and generating at least one augmented Petri net model based on the at least one Petri net model, the at least one augmented Petri net model identifying a deadlock caused by at least two of the plurality of DCAs. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method of handling database deadlocks induced by database-centric applications, using a computer system, comprising:
-
retrieving data associated with a plurality of database-centric applications (DCAs) from a database; identifying at least one structured query language (SQL) statement and at least one transaction from the data associated with the plurality of DCAs; parsing the at least one SQL statement and the at least one transaction into syntax trees, the syntax trees identifying a data structure of the at least one SQL statement and the at least one transaction; generating at least one Petri net model based on the syntax trees and a database schema, the at least one Petri net model identifying a flow of operations within the at least one SQL statement and the at least one transaction; generating at least one augmented Petri net model based on the at least one Petri net model, the at least one augmented Petri net model identifying a deadlock caused by at least two of the plurality of DCAs; and generating at least one supervisory control based on the at least one augmented Petri net model, the at least one supervisory control facilitating removal of the deadlock. - View Dependent Claims (8, 9, 10, 11)
-
-
12. A system for handling database deadlocks induced by database-centric applications comprising:
-
a retriever for retrieving data associated with a plurality of database-centric applications (DCAs) from a database; and a processor, communicatively connected to the retriever, configured to; identify at least one structured query language (SQL) statement and at least one transaction from the data associated with the plurality of DCAs; parse the at least one SQL statement and the at last one transaction into syntax trees the syntax trees identifying a data structure of the at least one SQL statement and the at least one transaction; generate at least one Petri net model based on the syntax trees and a database schema, the at least one Petri net model identifying a flow of operations within the at least one SQL statement and the at least one transaction; and generate at least one augmented Petri net model based on the at least one Petri net model, the at least one augmented Petri net model identifying a deadlock caused by at least two of the plurality of DCAs. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20)
-
Specification