YanoRyuichi.com/
Wiki
Blog
GitHub
Sandbox
開始行:
* pgbench [#c2d3b10e]
** インストール [#ma02001e]
*** CentOS6 [#x725596b]
yum install postgresql-contirb
** 使用方法 [#yce4fe5a]
*** DBの準備 [#md7f5d11]
createdb testdb01
pgbench -i -s 10 testdb01
- -s スケールファクターN*10万行のレコードを用意
- -i 初期化
*** ベンチマーク実行 [#ec281848]
pgbench -S -c 10 -t 1000 testdb01
- -c 同時接続数
- -t トランザクション数
** 参考 [#jaa49cbb]
http://www.techscore.com/tech/sql/pgbench/index.html/
終了行:
* pgbench [#c2d3b10e]
** インストール [#ma02001e]
*** CentOS6 [#x725596b]
yum install postgresql-contirb
** 使用方法 [#yce4fe5a]
*** DBの準備 [#md7f5d11]
createdb testdb01
pgbench -i -s 10 testdb01
- -s スケールファクターN*10万行のレコードを用意
- -i 初期化
*** ベンチマーク実行 [#ec281848]
pgbench -S -c 10 -t 1000 testdb01
- -c 同時接続数
- -t トランザクション数
** 参考 [#jaa49cbb]
http://www.techscore.com/tech/sql/pgbench/index.html/
ページ名: