System and method for optimizing database transaction termination
First Claim
Patent Images
1. A method for terminating a physical database connection to a database server, the method comprising:
- determining a current transaction state associated with the physical database connection,wherein the current transaction state is one of;
a first state indicating that a database resource is not allocated for a database transaction,a second state indicating that the database resource is allocated for the database transaction, anda third state indicating that data on the database is to be modified;
receiving at a database interface a request to terminate a transaction associated with the physical database connection;
determining to send the transaction termination request to the database server based on the current transaction state being one of the second and the third state but not the first state; and
sending the termination request to the database server when the current transaction state is one of the second state and the third state.
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
25 Claims
-
1. A method for terminating a physical database connection to a database server, the method comprising:
-
determining a current transaction state associated with the physical database connection, wherein the current transaction state is one of; a first state indicating that a database resource is not allocated for a database transaction, a second state indicating that the database resource is allocated for the database transaction, and a third state indicating that data on the database is to be modified; receiving at a database interface a request to terminate a transaction associated with the physical database connection; determining to send the transaction termination request to the database server based on the current transaction state being one of the second and the third state but not the first state; and sending the termination request to the database server when the current transaction state is one of the second state and the third state. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A database connection management system comprising:
-
a database server; a database processor having a physical database connection to the database server, and logic to perform the method including; determining a current transaction state associated with the physical database connection, wherein the current transaction state is one of; a first state indicating that a database resource is not allocated for a database transaction, a second state indicating that the database resource is allocated for the database transaction, and a third state indicating that data on the database is to be modified; receiving at a database interface a request to terminate a transaction associated with the physical database connection determining to send the transaction termination request to the database server based on the current transaction state being one of the second and the third state but not the first state; and sending the termination request to the database server when the current transaction state is one of the second state and the third state. - View Dependent Claims (14, 15, 16, 17, 18, 19)
-
-
20. An article of manufacture comprising:
-
an electronically accessible storage medium providing instructions that, when executed by an apparatus, cause the apparatus to perform a method for terminating a physical database connection to a database server, the method comprising; determining a current transaction state associated with the physical database connection, wherein the current transaction state is one of; a first state indicating that a database resource is not allocated for a database transaction, a second state indicating that the database resource is allocated for a database transaction, and a third state indicating that data on the database is to be modified; receiving at a database interface a request to terminate a transaction associated with the physical database connection; determining to send the transaction termination request to the database server based on the current transaction state being one of the second and the third state but not the first state; and sending the termination request to database server when the current transaction state is one of the second state and the third state. - View Dependent Claims (21, 22, 23, 24, 25)
-
Specification