Author Login Editor-in-Chief Peer Review Editor Work Office Work

Computer Engineering

Previous Articles     Next Articles

Mathematical Modeling and Performance Analysis of Database Connection Pool

HUO Zhan-qiang,ZHANG Jin-cheng,WANG Zhi-heng   

  1. (School of Computer Science and Technology,Henan Polytechnic University,Jiaozuo 454000,China)
  • Received:2013-11-08 Online:2014-10-15 Published:2014-10-13

数据库连接池的数学建模与性能分析

霍占强,张锦程,王志衡   

  1. (河南理工大学计算机科学与技术学院,河南焦作454000)
  • 作者简介:霍占强(1979 - ),男,副教授、博士,主研方向:网络性能分析,数据库技术;张锦程,硕士研究生;王志衡(通讯作者),副教授、 博士。
  • 基金资助:
    国家科技部创新方法工作专项基金资助项目(2011IM010300)。

Abstract: In order to configure the system parameters of database connection pool effectively,a Geom / Geom / c / c discrete-time queuing model with multi-server is built according to the operation mechanism of its manage process and the thought of discrete-time queuing theory. It uses the embedded Markov chain method, and the matrix of transition probability and matching recursive relations of the stationary queue length are given. The mathematical expressions of system performance measures are derived by the theoretical analysis results of the model,such as request blocking probability,average number of connections,system utilization,and system throughput,etc. Experiments are intuitively given to prove the dependencies between database connection pool performance index and system configuration parameters.

Key words: database connection pool, performance analysis, mathematical modeling, discrete-time queueing theory, Geom / Geom / c / c model, multi-server

摘要: 为有效地配置数据库连接池中的系统参数,根据数据库连接池管理过程的工作原理,引入离散时间排队论 的思想,建立多服务台损失制的Geom / Geom / c / c 离散时间排队模型。采用嵌入马尔科夫链方法,分析系统稳态队 长的转移概率矩阵及其满足的递推关系式。应用模型的理论分析结果,导出请求阻塞概率、系统平均连接数、系统 利用率、系统吞吐量等系统性能指标的数学表达式。通过实验证明了数据库连接池性能指标与系统配置参数之间 的依赖关系。

关键词: 数据库连接池, 性能分析, 数学建模, 离散时间排队论, Geom / Geom / c / c 模型, 多服务台

CLC Number: