摘要 |
The present invention provides a method for managing a database connection, comprising the steps of: in responsive to a connection request of a first application, allocating an available connection for the first application; if there is no available connection, selecting a held connection being used by a second application; backing up connection context of the held connection; releasing the held connection; and allocating the held connection for the first application. Since connection context of the application has been restorably backed up, a connection of the application can be cut off and the connection re-scheduled when necessary. As a result, the connection utilization rate is enhanced. The present invention further provides a device and system that can manage a database connection based on the technology of connection pools. (FIG. 5)
|