摘要
提出一种自优化数据库连接池的设计方式。它可根据应用规模动态地调整设置参数,进而选取对应的管理策略,其中策略可以存储在连接池的配置文件中或作为知识库保存。在对连接资源进行有效管理的同时,可以对连接池的最大连接数与最大等待时间进行动态调整,并在每次初始化时将优化的配置参数读入,实现连接池的自优化,提高数据库运行效率。
A new design approach on database connection pool, self-optimized connection pool, is proposed in the paper. By using this method, connection pool can dynamic adjust configuration parameters and choose accordingly management strategies, which can be stored in configuration file or repository. Furthermore, this paper has implemented a case about database connection pool, which is of the function of adjusting preferences. The case of self-optimized connection pool improves greatly the performance for connection pool as a result of loading the optimized configuration parameters when every initializing the pool.
出处
《计算机应用研究》
CSCD
北大核心
2005年第7期206-209,共4页
Application Research of Computers
基金
国家教育部教育信息化电子政务平台系统基金项目
关键词
XML
自优化
数据库连接池
资源池
连接复用
XML
Self-Optimized
Database Connection Pool
Resource Pool
Connection Reuse