oltpbenchmark

出自Gea-Suan Lin's Wiki
於 2018年12月31日 (一) 04:52 由 Gslin留言 | 貢獻 所做的修訂 →‎安裝
跳至導覽 跳至搜尋

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".

外部連結