基于jdbc的数据库连接池高效管理策略(Efficient management strategy of database connection pool based on JDBC).docVIP
- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
基于jdbc的数据库连接池高效管理策略(Efficient management strategy of database connection pool based on JDBC)
基于jdbc的数据库连接池高效管理策略(Efficient management strategy of database connection pool based on JDBC)
introduce
In the use of Java language and database application development related to the interaction, usually by JDBC and database, which is a key concept is Connection (connection), it is a class in Java, represents a channel. Through it, you can access data from the database using the application of data.
For a simple database application, access to the database is not very frequent. You can simply create a connection when you need to access the database and close it when you run out of it, which makes no significant performance overhead. But for a complex database application, the situation is completely different. Setting up and closing connections frequently can greatly reduce system performance because the use of connections becomes a bottleneck in system performance.
The method given in this paper can solve this problem effectively. In this method, a reasonable and effective connection management strategy is proposed to avoid the random and irregular use of connections. The core idea of this strategy is connection multiplexing. By establishing a database connection pool and a set of connection management policies, a database connection can be efficiently and safely reused, thus avoiding the overhead of establishing and closing database connections frequently. In addition, because the original connection to the JDBC in the package, which is convenient for connecting to the database application (especially for transaction processing), improve development efficiency, but also because the encapsulation layer, isolating the processing logic application itself and the specific database access logic, the reuse of the application itself possible.
Problems generate \r
My project is to develop a network management system, which inevitably involves dealing with databases. At the beginning, because the database is not very frequent, for the use of the database connection is simp
您可能关注的文档
- 双星物语一周目攻略(Double Star Story).doc
- 双向可控硅应用(Bidirectional thyristor application).doc
- 双语不用教聪明宝贝的第一选择(Bilingual does not teach smart baby's first choice).doc
- 双语学习之--航班选座位的学问(Bilingual learning -- the knowledge of seat selection on flights).doc
- 双语问答题(Bilingual question and answer).doc
- 双跨产品的otc运作(OTC operation of dual span products).doc
- 双链表增删改查(Double linked list additions and deletions to change).doc
- 受众分析解读与思考(Audience analysis Interpretation and reflection).doc
- 受孕技巧(Conception skill).doc
- 受益终生的100个小知识(100 small knowledge that benefits life).doc
- 基于delphi的directshow开发概述1(Overview of DirectShow development based on Delphi 1).doc
- 基于两个层面诉求打造速冻食品强势品牌(Based on two levels of appeal to build a strong brand of quick-frozen food).doc
- 培训smt技术(Training SMT technology).doc
- 基于企业社会责任视角下和谐会计的优化(The optimization of Harmonious Accounting Based on the perspective of corporate social responsibility).doc
- 基于公司治理视角代理成本影响文献综述(Literature review of agency cost impact from the perspective of corporate governance).doc
- 基于全球价值链视角完善我国企业创新机制(Improving China's enterprise innovation mechanism based on global value chain).doc
- 基于创新的企管理业人力资源部门人才招聘探析(Talent recruitment in HR Department of enterprise management based on Innovation).doc
- 基于单片机的毕业设计题目(Graduation project based on single chip microcomputer).doc
- 基于云的优化服务的概念和要求(The concept and requirements of cloud based optimization services).doc
- 基于优势视角的社会工作模式(Social work model based on superiority Perspective).doc
文档评论(0)