* 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 同時接続数
- -c 同時接続数
- -t トランザクション数

** 参考 [#jaa49cbb]
http://www.techscore.com/tech/sql/pgbench/index.html/

トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS