发明名称 System and method for reliable caching of database connections in a distributed application
摘要 Connection information for open database connections is stored or "cached" in a connection manager at the database client. Therefore, even when a query is complete and the connection between the client and server is released, the manager maintains the database connection open. When a new query arrives at the client, the connection manager compares the connection information in the query to the corresponding information stored for each open connection. If there is a match and the connection is not in use, the already open connection is used for the new query. If there is no match, a new connection is opened until a predetermined limit of the number of connections is reached. When the limit is reached, an open connection which is not in use is closed and a new connection is established. In accordance with a preferred embodiment, a "free" list of open connections which are not in use is maintained so that a quick comparison can be made with the incoming query information.
申请公布号 US6434543(B1) 申请公布日期 2002.08.13
申请号 US19990430874 申请日期 1999.11.01
申请人 SUN MICROSYSTEMS, INC. 发明人 GOLDBERG ROBERT N.;WHITE SETH J.
分类号 G06F17/30;(IPC1-7):G06F17/30 主分类号 G06F17/30
代理机构 代理人
主权项
地址