Method, device and system for managing database connection pool
A management method and database technology, applied in the field of database connection pool management, can solve problems affecting the response speed of application programs and databases, and achieve the effect of saving resources and realizing maintenance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0134] Such as Figure 7 As shown, one of the specific embodiments of the database connection pool management method provided by the embodiment of the present invention includes:
[0135] Step 501: The shared database connection pool component receives a request for database connection sent by an application component in the OSGI framework in a service manner, and the request carries information about the application component's access to the database.
[0136] In step 502, the shared database connection pool component judges whether the database connection pool corresponding to the information that the application component accesses the database is stored in the registry of the shared database connection pool component, if yes, execute step 503; otherwise, execute step 504.
[0137] Step 503: The shared database connection pool component determines the database connection pool corresponding to the information that the application component accesses the database, and allocates the dat...
Embodiment 2
[0142] Such as Figure 8 As shown, one of the specific embodiments of the database connection pool management method provided by the embodiment of the present invention includes:
[0143] Step 601: The shared database connection pool component receives a request for a database connection sent by an application component in the OSGI framework in a service manner, and the request carries the identification of the application component and the information of the application component accessing the database.
[0144] In step 602, the shared database connection pool component judges whether the database connection pool corresponding to the information that the application component accesses the database is stored in the registry of the shared database connection pool component, if yes, execute step 603; otherwise, execute step 604.
[0145] In step 603, the shared database connection pool component determines the database connection pool corresponding to the information that the applicatio...
Embodiment 3
[0151] Such as Picture 10 As shown, the method for maintaining the shared database connection pool component in the database connection pool management method provided by the embodiment of the present invention includes:
[0152] Step 701: The shared database connection pool component judges whether the application component releases the message of the database connection pool corresponding to the information that the application component accesses the database. If yes, execute step 702; otherwise, execute step 701.
[0153] Step 702: The shared database connection pool component parses the identifier of the application component carried in the monitored message.
[0154] Step 703: The shared database connection pool component queries the connection record table for the database access information corresponding to the identifier of the application component according to the parsed identifier of the application component.
[0155] In step 704, the shared database connection pool compon...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com