APP下载

自适应过滤预测在连接集中器中的应用研究

2016-03-17张文宇周琪云

计算机应用与软件 2016年2期
关键词:数据库资源模型

张文宇 周琪云

(江西师范大学计算机信息工程学院 江西 南昌 330022)



自适应过滤预测在连接集中器中的应用研究

张文宇周琪云

(江西师范大学计算机信息工程学院江西 南昌 330022)

摘要DB2以线程的方式处理所有事务,利用连接集中器优化线程的资源消耗。针对实际应用中大量连接请求导致的线程资源使用过高问题,建立改进的连接集中器模型,提出并实现在应用服务器上连接集中器的资源预测。通过自适应过滤预测模型构建连接集中器,在保证其高性能的同时,预测代理的资源使用情况,事先分配资源建立代理。测试结果及预测分析表明,改进后的连接集中器有效降低线程的资源消耗,提高事务处理的响应时间,同时保证服务器资源得到合理的分配。

关键词连接集中器时间序列自适应过滤预测数据库

ON APPLYING ADAPTIVE FILTERING PREDICTION IN CONNECTION CONCENTRATOR

Zhang WenyuZhou Qiyun

(School of Computer and Information Engineering,Jiangxi Normal University,Nanchang 330022,Jiangxi,China)

AbstractDB2 database handles all affairs in the form of threads and uses the connection concentrator to optimise the resources consumption of threads. Aiming at the problem of high thread resources consumption in a large number of connection requests in practical application,we built an improved connection concentrator model,proposed and implemented the prediction of connection concentrator resources on application server. To construct the connection concentrator by adaptive filtering prediction model,the scheme predicts the resource usage of agent while ensuring the high efficiency of connection concentrator,the resources are allocated in advance to establish the agency. Test results and prediction analysis showed that the improved connection concentrator could reduce the resource consumption of thread effectively,improve the response time of the transaction request,and ensure the server resources to be allocated reasonably at the same time.

KeywordsConnection concentratorTime seriesAdaptive filteringPredictionDatabase

0引言

DB2数据库在银行、证券等金融行业有着广泛应用,能够为客户提供可靠的数据保障,具有良好的安全性、兼容性和扩展性。更重要的是,DB2数据库拥有稳定的性能,在数据的并行处理、存储优化、分布式访问等方面与其他数据库相比存在着明显的优势。连接集中器是DB2用来优化数据库连接的一种方法。在DB2中,所有事务都是在线程的上下文中进行处理,那么在高容量环境中线程的资源使用情况便非常值得关注。连接集中器将很多数据库连接分插到集中的代理进程或线程上,由这些代理处理传来的任务,以减少大量线程所带来的资源开销。……

登录APP查看全文

猜你喜欢

数据库资源模型
一半模型
基础教育资源展示
重尾非线性自回归模型自加权M-估计的渐近分布
资源回收
资源再生 欢迎订阅
数据库
3D打印中的模型分割与打包
数据库
数据库
数据库