Managing database connections
Abstract
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 )
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 2.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method for managing a database connection, the method comprising: in response to a connection request of a first application, allocating an available connection for the first application; selecting an allocated connection being held by a second application if there is no available connection; backing up connection context of the connection being held; releasing the connection being held; allocating the connection being held for the first application; and defining a key for a statement of the application for which backup was performed and establishing a correspondence between connection conte
- Claim 2Depends on #1
The method according to claim 1 , further comprising: if the second application makes a request for restoring a previous connection state, allocating a new connection for the second application based on the backing
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 11,190,459 B2 | Connection pool management | 2021 | 2 |
| US 10,389,652 B2 | Connection pool management | 2019 | 2 |