「Oltpbenchmark」:修訂間差異

出自Gea-Suan Lin's Wiki
跳至導覽 跳至搜尋
本頁面具有訪問限制。如果您看見此訊息,這代表您沒有訪問本頁面的權限。
行 3: 行 3:


== 安裝 ==
== 安裝 ==
先下載:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
sudo apt install -y ant default-jdk openjdk-8-jdk git locales
sudo apt install -y ant default-jdk openjdk-8-jdk git locales
cd ~
cd ~
git clone https://github.com/oltpbenchmark/oltpbench.git
git clone https://github.com/oltpbenchmark/oltpbench.git
</syntaxhighlight>
編譯:
<syntaxhighlight lang="bash">
cd ~/oltpbench
ant clean
ant
</syntaxhighlight>
== 設定 ==
<syntaxhighlight lang="bash">
cd ~/oltpbench
cp config/tpcc_config_postgres.xml config/tpcc.xml
vim config/tpcc.xml
# Change "DBUrl", "username", and "password".
</syntaxhighlight>
</syntaxhighlight>



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

外部連結