System and method for optimizing transaction termination
First Claim
Patent Images
1. A method comprising:
- receiving an indication to adjust a transaction state of a database connection;
determining a database statement type based, at least in part, on the received indication to adjust the transaction state of the database connection;
transitioning to one of a plurality of transaction states based, at least in part, on the determined database statement type;
receiving an indication to terminate a transaction associated with the database connection; and
determining whether to send a termination request to a database based, at least in part, on the transaction state of the database connection.
2 Assignments
0 Petitions
Accused Products
Abstract
Embodiments of the invention are generally directed to a system and method for optimizing transaction termination. A database interface receives an indication to terminate a transaction. The database interface decides whether to send a command to the underlying database server to terminate the transaction. If the database interface does send a command to the database server, it determines which command is appropriate to send.
-
Citations
40 Claims
-
1. A method comprising:
-
receiving an indication to adjust a transaction state of a database connection;
determining a database statement type based, at least in part, on the received indication to adjust the transaction state of the database connection;
transitioning to one of a plurality of transaction states based, at least in part, on the determined database statement type;
receiving an indication to terminate a transaction associated with the database connection; and
determining whether to send a termination request to a database based, at least in part, on the transaction state of the database connection. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A database connection management system comprising:
-
a database connection handle associated with a physical database connection having an internal variable to represent a transaction state of the physical database connection; and
logic to receive an indication to adjust the transaction state of the internal variable;
determine a database statement type based, at least in part, on the received indication to adjust the transaction state of the internal variable;
transition to one of a plurality of transaction states based, at least in part, on the determined database statement type;
receive an indication to terminate a transaction; and
determine whether to send a termination request to an underlying database based, at least in part, on the transaction state of the database connection. - View Dependent Claims (16, 17, 18, 19, 20, 21, 22, 23)
-
-
24. A system comprising:
-
means for receiving an indication to adjust a transaction state of a database connection;
means for determining a database statement type based, at least in part, on the received indication to adjust the transaction state of the database connection;
means for transitioning to one of a plurality of transaction states based, at least in part, on the determined database statement type;
means for receiving an indication to terminate a transaction associated with the database connection; and
means for determining whether to send a termination request to a database based, at least in part, on the transaction state of the database connection. - View Dependent Claims (25, 26, 27, 28, 29, 30, 31, 32)
-
-
33. An article of manufacture comprising:
-
an electronically accessible medium providing instructions that, when executed by an apparatus, cause the apparatus to receive an indication to adjust a transaction state of a database connection;
determine a database statement type based, at least in part, on the received indication to adjust the transaction state of the database connection;
transition to one of a plurality of transaction states based, at least in part, on the determined database statement type;
receive an indication to terminate a transaction associated with the database connection; and
determine whether to send a termination request to a database based, at least in part, on the transaction state of the database connection. - View Dependent Claims (34, 35, 36, 37, 38, 39, 40)
-
Specification