pgbench

インストール

CentOS6

 yum install postgresql-contirb

使用方法

DBの準備

 createdb testdb01
 pgbench -i -s 10 testdb01
  • -s スケールファクターN*10万行のレコードを用意
  • -i 初期化

ベンチマーク実行

 pgbench -S -c 10 -t 1000 testdb01
  • -c 同時接続数
  • -t トランザクション数

参考

http://www.techscore.com/tech/sql/pgbench/index.html/


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

Last-modified: 2013-02-18 (月) 10:42:45