首页 | 本学科首页   官方微博 | 高级检索  
     检索      

用JAVA多线程技术编写数据库压力测试程序
引用本文:曾波.用JAVA多线程技术编写数据库压力测试程序[J].重庆工商大学学报(自然科学版),2004,21(3):262-265.
作者姓名:曾波
作者单位:重庆师范大学,数学与计算机科学学院,重庆,400047
摘    要:在使用数据库的WEB系统中,客户端和数据库建立连接的速度会随着客户端数目的增加而变慢,影响了WEB应用程序响应客户请求的时间。为了测试客户端数量和建立数据库连接所消耗时间的关系,通过设置线程的数量来模拟多个客户端,同时访问数据库的情况,进而对数据库在多客户情况下所表现出的性能进行分析。

关 键 词:JAVA  多线程  数据库  压力测试程序  连接时间
文章编号:1672-058X(2004)03-0262-04

Program for testing database with the technology of Java's multi - thread
ZENG Bo.Program for testing database with the technology of Java''s multi - thread[J].Journal of Chongqing Technology and Business University:Natural Science Edition,2004,21(3):262-265.
Authors:ZENG Bo
Abstract:In a web- system of using database,the speed that client connects to database will become slow when clients increase,which affects the time that the web program feedbacks the client's request (of course,a network and the other factors can affect it,too). In order to test the relation between the client number and the consumed time of establishing database connection, by using the method of multi-thread of Java language to simulate the environment that many customers access the database at the same time and by setting the number of threads,this paper analysed the performance of database.
Keywords:Java  multi-thread  database  
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《重庆工商大学学报(自然科学版)》浏览原始摘要信息
点击此处可从《重庆工商大学学报(自然科学版)》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号