Automatic reconnection method and automatic reconnection device for contingency interrupt of database connection
A technology of automatic reconnection and unexpected interruption. It is used in electrical digital data processing, special data processing applications, instruments, etc. It can solve the problems of inability to guarantee retry connection and high system overhead, so as to reduce system overhead, ensure effectiveness, The effect of increasing the effective connection rate
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0033] The present invention will be further described in detail with reference to the accompanying drawings and embodiments.
[0034] Such as figure 1 As shown, the automatic reconnection device proposed by the present invention for unexpected interruption of database connection includes the following modules: database connection pool, connection validity detector 3, database connection request monitor 4, connection request priority analyzer 5, and abnormal catcher6. The database connection pool includes regular database connection pool 1 and standby database connection pool 2.
[0035] Regular database connection pool 1 and standby database connection pool 2 run on database server 7 . A fixed number of database connections are stored in the regular database connection pool 1. When the data connection pool is initialized, the database connections in the regular database connection pool 1 will be initialized.
[0036] The standby database connection pool 2 is initialized af...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 