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