oltpbenchmark

来自Gea-Suan Lin's Wiki
Gslin讨论 | 贡献2018年12月31日 (一) 04:52的版本 →‎安裝
跳到导航 跳到搜索

oltpbenchmark是一套Java寫的資料庫測試程式。

安裝

先下載:

sudo apt install -y ant default-jdk openjdk-8-jdk git locales
cd ~
git clone https://github.com/oltpbenchmark/oltpbench.git

編譯:

cd ~/oltpbench
ant clean
ant

設定

cd ~/oltpbench
cp config/tpcc_config_postgres.xml config/tpcc.xml
vim config/tpcc.xml
# Change "DBUrl", "username", and "password".

外部連結