作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2008, Vol. 34 ›› Issue (23): 41-43. doi: 10.3969/j.issn.1000-3428.2008.23.016

• 软件技术与数据库 • 上一篇    下一篇

NVMS中的自适应数据库连接池技术

李秉璋,吴访升,景征骏,黄海军   

  1. (江苏技术师范学院计算机科学与工程学院,常州 213001)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2008-12-05 发布日期:2008-12-05

Self-adaptive Database Connection Pool Technology in NVMS

LI Bing-zhang, WU Fang-sheng, JING Zheng-jun, HUANG Hai-jun   

  1. (School of Computer Science and Engineering, Jiangsu Teachers University of Technology, Changzhou 213001)
  • Received:1900-01-01 Revised:1900-01-01 Online:2008-12-05 Published:2008-12-05

摘要: 分析目前主流数据库连接池的不足,针对非机动车辆管理系统的应用需求提出一种自适应数据库连接池方案。该方案可以根据应用规模动态调整可扩展标记语言参数,选择相应的管理策略,在每次初始化时读入优化的配置参数,实现连接池的自适应。对比测试表明,该方案可以更有效地管理连接资源,提高数据库的运行效率。

关键词: 数据库连接池, 自适应, 可扩展标记语言, 非机动车辆管理系统

Abstract: This paper analyzes the disadvantages of current popular database connection pool, and puts forward a new solution of self-adaptive database connection pool according to the requirements of Non motor-Vehicle Management System(NVMS). The solution can dynamically adjust Extensible Markup Language(XML) configuration parameters based on application scope, set up thread of monitoring to determine the corresponding management strategies, and realize the self-optimization of connection pool. Comparison test shows that the solution manages connection resources more effectively and improves the whole performances of system.

Key words: database connection pool, self-adaptive, Extensible Markup Language(XML), Non motor-Vehicle Management System(NVMS)

中图分类号: