Method and system for data processing with connection pool for the same
First Claim
1. A database connection managing method for use in a computer system having a database system provided with a plurality of database servers each including a database management system, an application server provided with a connection pool for retaining a plurality of connections to be made to the database system and operative to access said database system, and a client computer for accessing said application server to receive an offer of business service, whereinsaid database system stores said database server to be connected to said application server within said application server and said database system makes connection to said application server;
- andsaid application server retains connection management information for specifying, when preparing a new connection, a database server to be connected to the prepared connection and managing said specified database server and said prepared connection by making the correspondence therebetween.
1 Assignment
0 Petitions
Accused Products
Abstract
When an application server prepares the connection made to the database server, an identifier for definitely identifying the database server of connection destination is allotted to the connection. When a fault occurs in a database system, the database identifier of the connection is specified and only a connection allotted with the same identifier as the specified identification is discarded from a connection pool. When a request is received from a client computer, a connection is acquired from the connection pool. The acquired connection is decided as to whether to be faulty and if the acquired connection is determined as being faulty, a database server to be coupled to the faulty connection is specified by consulting connection management information. All connections made or coupled to the specified database server are discarded from the connection pool and a new connection is prepared.
-
Citations
20 Claims
-
1. A database connection managing method for use in a computer system having a database system provided with a plurality of database servers each including a database management system, an application server provided with a connection pool for retaining a plurality of connections to be made to the database system and operative to access said database system, and a client computer for accessing said application server to receive an offer of business service, wherein
said database system stores said database server to be connected to said application server within said application server and said database system makes connection to said application server; - and
said application server retains connection management information for specifying, when preparing a new connection, a database server to be connected to the prepared connection and managing said specified database server and said prepared connection by making the correspondence therebetween. - View Dependent Claims (2, 3, 4, 5, 6, 7, 11, 12)
- and
-
8. An application server comprising:
-
a processor for performing operation processes; a memory connected to said processor; and a communication interface connected to said processor, wherein said application server responds to an access from a client computer receiving an offer of business service from said application server to access a database system including a plurality of database servers; said database system includes a database management system, so that a database server connected to said application server may be memorized in said application server and connects said database server to said application server; and said application server includes a connection pool for retaining a plurality of connections made to said database system, and wherein said processor retains connection management information for specifying, when preparing a new connection, a database server connected to the prepared connection and managing said specified database server and said prepared connection by making the correspondence therebeteen.
-
-
9. A program for causing an application server having a processor adapted to perform operation processes, a memory connected to said processor and a communication interface to manage connection to a database,
wherein said application server includes a connection pool for retaining a plurality of connections made to said database system and responds to an access from a client computer receiving a business service from said application server to select a connection from said connection pool; -
wherein said database system includes a plurality of database servers each having a database management system, with a database server to be connected to said application server being memorized in said application server for connection thereto; and wherein said program causes said application server to execute a step of specifying, when said application server prepares a new connection, a database server coupled to the prepared connection and a step of retaining connection management information for managing said specified database server and said prepared connection by making the correspondence therebetween. - View Dependent Claims (18, 19, 20)
-
-
10. A computer system comprising a database system having a plurality of database servers and a distributor, an application server for making an access to said database system and a client computer for accessing said application server to receive an offer of business service,
wherein said application server includes a processor for performing operation processes, a memory connected to said processor, a communication interface connected to said processor and a connection pool for retaining a plurality of connections to be coupled to said database system; -
wherein said database system includes a distributor for distributing accesses to said plurality of database servers to each of them; wherein said distributor distributes accesses to said plurality of database servers by causing a database server subject to coupling to be memorized in said application server and by coupling it to said database server; wherein said database server includes a processor for performing operation processes, a memory connected to said processor and a communication interface coupled to said processor; wherein said processor of database server executes a database management system; and wherein said processor of application server retains connection management information for specifying, when preparing a connection, a database server to be coupled to the prepared connection and managing said specified database server and said prepared connection by making the correspondence therebetween. - View Dependent Claims (13, 14, 15, 16, 17)
-
Specification