數據庫連接池的研究與實現
包括目錄名稱:
數據庫連接池的研究與實現 - 2 文件數, 0 目錄數.
..\數據庫連接池的研究與實現.doc
..\數據庫連接池的研究與實現.rar
br>
論文提交日期:
XXXX年06月 10 日
數據庫連接池的研究與實現
摘 要
在基于JDBC的數據庫實際應用開發中,對數據庫連接的管理是一個重點也是一個難點,頻繁對數據庫的連接與關閉操作、多客戶對數據庫的并發訪問,一定程度上決定了WEB系統的響應以及應用性能。使用數據庫連接池方式能對數據庫的連接進行管理和維護,上層應用程序通過數據庫連接池使用數據庫資源能提升系統性能,充分利用系統資源。文章通過介紹、分析數據庫連接池工作的基本原理,了解目前流行的WEB服務器在數據庫連接池方面的使用現狀后,總結一了些數據庫連接池開發程序中容易忽略的問題。并在學習掌握了實現連接池的關鍵技術后給出了一個較為高效的連接池管理策略,在這種策略思想的指導下實際開發出一個數據庫連接池模塊,使得上層應用通過本連接池訪問數據庫資源變得相對高效和容易,從實際上論證了這種設計方案的可行性。
關鍵詞:連接池;數據庫;JDBC;并發訪問
Research and realization of the Database Connection Pool
Abstract
In the practically application development of database based on JDBC, the management of database connection is a key point and also a difficulty. The response and performance of the WEB system are depended on frequently connecting, closing and multi-user accessing in a certain extent. Using the Database Connection Pool can provide management and maintenance for connections of the database. The upper applications may access the database recourse via the Database Connection Pool, in order to upgrade system performance and fully utilize the system recourse. This article summarizes some issues which are easily ignored in the application development of the Database Connection Pool by the way of introducing and analyzing the basal working principles of the Database Connection Pool ,comprehending the using actuality of the Database Connection Pool on the popular WEB servers. Besides, I established a comparatively highly effective policy of the Connection Pool management after having learned and comprehended key technique of implementing the Connectivity Pool, and actually had developed a Database Connection Pool module under the guidance of that policy, causing the access of system resource by the upper applications via current Connectivity Pool becoming relatively highly effective and easy, demonstrated the feasibility of this design project in practice.
Key words: Database Connection Pool; Database; JDBC; Concurrence access
目 錄
論文總頁數:22頁
1引言1
1.1課題背景1
1.2連接池的主要作用1
1.3目前流行的WEB服務器數據庫連接池方面使用現狀1
1.3.1DHCP介紹2
1.3.2Poolman介紹2
1.3.3C3P0介紹2
1.3.4其他連接池(自寫連接池)2
2相關理論基礎3
2.1數據庫概述3
2.2數據庫連接池的基本原理3
2.3連接池中的關鍵技術4
2.3.1連接池的分配與釋放4
2.3.2連接池的維護5
3系統總體設計思想及方案5
3.1連接池中的關
上一篇:
數據存儲與交換系統設計
下一篇:
創新人才培養及其能力提高的研究與實踐