[Oracle]利用开源工具实现自己的TPC-C[3]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 fenng 的 blog

把tpc-c.tcl脚本载入hammerora中(remember to change the file filter from *.trc to *.tcl to see tcl files),在该tpc-c.tcl中查找connect字符串,调整为你的数据库用户连接信息。并调整虚拟用户信息。

测试运行

运行hammerora,创建需要的用户数, 来模拟tpc-c 基准程序(注意调整好执行hammerora程序的环境变量,最好直接用oracle用户来执行). 下图为笔者笔记本电脑上得到的数据[机器性能查了一点儿 :) ] :

图2: hammerora测试结果示例

 

参考信息

http://hammerora.sourceforge.net/ hammerora的主页.当前的软件版本是1.15.
http://www.linxcel.co.uk/orabm/ geoff ingram维护的个人站点.该站点上还有一个很有趣的工具orastress.用来进行oracle数据库压力测试.
http://www.tpc.org tpc官方站点.
http://www.cnoug.org/viewthread.php?tid=63技术高手rudolflu很早以前就曾对orabm这个工具做过介绍.
http://www.dbanotes.net/oracle/install-oracle10g-rhel3.htm installing oracle 10g on rhel as 3 step-by-step


本文作者
fenng,某美资公司dba,业余时间混迹于各数据库相关的技术论坛且乐此不疲。目前关注如何利用oracle数据库有效地构建企业应用。对oracle tuning、troubleshooting有一点研究。个人技术站点:
http://www.dbanotes.net/。可以通过电子邮件 dbanotes@gmail.com 联系到他。



原文出处

http://www.dbanotes.net/oracle/use_opensourcetool_implement_yourown_tpc-c.htm


回首页 

creative commons license
all articles (by fenng) are licensed under a creative commons license.
i would welcome any feedback. please send questions, comments or corrections to dbanotes@gmail.com

本文关键:[Oracle]利用开源工具实现自己的TPC-C
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top