作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2006, Vol. 32 ›› Issue (20): 81-83. doi: 10.3969/j.issn.1000-3428.2006.20.030

• 软件技术与数据库 • 上一篇    下一篇

TPC-C测试系统的实现

孙雪祥,蒋艳凰,张 怡   

  1. (国防科技大学计算机学院软件所,长沙 410073)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2006-10-20 发布日期:2006-10-20

Implementation of TPC-C Benchmark Test System

SUN Xuexiang, JIANG Yanhuang, ZHANG Yi   

  1. (Software Institution, School of Computer, National University of Defense Technology, Changsha 410073)
  • Received:1900-01-01 Revised:1900-01-01 Online:2006-10-20 Published:2006-10-20

摘要: TPC-C是一种旨在衡量联机事务处理(OLTP)系统性能与可伸缩性的行业标准基准测试项目,它被全球主流软硬件厂商,数据库厂商公认为性能评价标准。麒麟(Kylin)是国产服务器操作系统。为了评估Kylin的性能,避免测试软件造成的性能瓶颈,需要一个严格符合TPC-C标准的测试软件,获取统一的性能指标,为Kylin的性能调优提供参考。目前开源的事务处理性能测试软件,大多用于测试系统某一方面的性能,很少有测试OLTP系统性能并严格符合TPC-C标准的开源测试软件,因此无法利用这些工具得到严格符合TPC-C规范的性能参数。而且由于测试结果的单一性和测试过程的不透明性,无法利用测试结果指导操作系统调优。该文在Kylin环境里,通过整合Web服务器软件Apache、应用服务器Tuxedo和数据库管理系统Oracle,设计并实现了一个TPC-C测试系统。该系统严格遵循TPC-C规范,减少了由于测试软件的不足而对测试结果的影响,为Kylin的性能调优提供了一定的参考。

关键词: TPC-C, Tuxedo, Apache

Abstract: TPC Benchmark™ C (TPC-C) is an OLTP workload, which is considered as performance evaluating standard. Kylin is a server OS in Chinese with owned authority based on the POSIX standard. To evaluate Kylin’s performance, a TPC-C testing system is needed. At present, most open source-test softwares, which attempt to implement OLTP are load test tools, and few of them accords with TPC-C benchmark. Hence, can’t gain the performance metric for TPC-C. The singularity of the test results and the opacity of the test course make it difficult to improve the operatiing system. This article implements TPC-C benchmark with Tuxedo, Apache and Oracle on Kylin OS.This system strictly keeps to TPC-C benchmark, reduces the impact because of the shortage of the testing software, and gives suggestion for Kylin.

Key words: TPC-C, Tuxedo, Apache