資料庫效能測試:HammerDB
阿新 • • 發佈:2019-01-10
[[email protected] ~]# export DISPLAY=192.168.1.200:0 [[email protected] ~]# chmod a+x HammerDB-2.23-Linux-x86-64-Install [[email protected] ~]# ./HammerDB-2.23-Linux-x86-64-Install
[[email protected] ~]# mysql -uroot -pabcd.1234 mysql> create database tpcc10; Query OK, 1 row affected (0.02 sec) mysql> grant all on tpcc10.* to 'tpcc'@'%' identified by 'tpcc'; Query OK, 0 rows affected (0.06 sec) mysql> flush privileges; Query OK, 0 rows affected (0.02 sec) [[email protected] ~]# yum install libXScrnSaver [[email protected] ~]# cd /usr/local/HammerDB-2.23 [[email protected] HammerDB-2.23]# ./hammerdb.tcl