节点文献
数据库连接策略优化方法
Optimizing method of database connection strategy
【摘要】 目的是结合邮政物流信息系统的开发 ,实现高效、安全的数据库连接管理 ,方法为在对数据库连接进行详细分析的基础上 ,利用资源池设计模式 ,实现数据库连接池 ,实现连接的高效、安全的复用 ,提出并实现了一个高效的数据库连接管理策略 ,使得开发高性能的数据库应用变得相对容易 .对于事务和多线程下的数据库连接这两个难点问题进行了深入的剖析 ,并给出了一个基于设计模式的解决方案 ,由此 ,本文结合邮政物流信息系统的开发 ,给出了一个具有一定普遍意义的基本的连接管理框架 ,使得高效、安全的复用数据库连接成为可能
【Abstract】 The objective of the paper is that based on th e research of Post Logis tic Information System, an effective strategy of database-connection management is researched and realized in the paper. The methods is that based on the analys ing of database-connection, using the design pattern of resource pool, the data bas e-connection pool is realized. And then,we realize a safe and high-powered reu se of connection, research and realize an effective strategy of database-connectio n management. This will make the development of high-powered database applicatio n comparatively easy. After anatomizing the problem of affair and multithreading in depth, a solve scheme based on design pattern is presented. The conclusion is that based on the research of Post Logistic Information System, a popular and ba sic management frame of connection is presented and this will make the effective and safe reuse of database conncetion available.
- 【文献出处】 山东大学学报(工学版) ,Journal of Shandong University of Technology , 编辑部邮箱 ,2003年06期
- 【分类号】TP311.13
- 【被引频次】14
- 【下载频次】103