节点文献
基于XML的自优化数据库连接池的设计与实现
Design and Implementation of Self-optimized Database Connection Pool Based on XML
【摘要】 提出一种自优化数据库连接池的设计方式。它可根据应用规模动态地调整设置参数,进而选取对应的管理策略,其中策略可以存储在连接池的配置文件中或作为知识库保存。在对连接资源进行有效管理的同时,可以对连接池的最大连接数与最大等待时间进行动态调整,并在每次初始化时将优化的配置参数读入,实现连接池的自优化,提高数据库运行效率。
【Abstract】 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.
【Key words】 XML; Self-Optimized; Database Connection Pool; Resource Pool; Connection Reuse;
- 【文献出处】 计算机应用研究 ,Application Research of Computers , 编辑部邮箱 ,2005年07期
- 【分类号】TP311.13
- 【被引频次】14
- 【下载频次】168