YCSBパラメータ
実行パラメータ
- load: loading phaseを実行
- t: transaction phaseを実行
- db: 使用するdbインタフェース層
- P: workload用のファイル
- hosts: サーバーホスト(コンマで区切って複数指定可能)
- recordcount: ロードするレコード数(デフォルトは1,000)
- threads: YCSBクライアントスレッド数(デフォルトは1)
- target: 1secあたりの命令数
- measurementtype:値に"timeseries"を指定することで結果を時系列表示可能
- timeseries.granularity:平均遅延を測定するインターバルをms単位で指定(デフォルトは1000=>1sec)
Workloadパラメータ
以下に書かれている
http://wiki.github.com/brianfrankcooper/YCSB/core-properties
カッコはデフォルト値
- fieldcount:レコードのフィールド数(10)
- fieldlength: 各フィールドのサイズ(100)
- デフォルトでは長さ100のフィールドが10個+プライマリキーで1KBになっている
- readallfields: read時に読むべきフィールドが全部:trueか1つ:falseか(true)
- readprportion: 命令群のうちreadの比率(0.95)
- updateproportion: updateの比率(0.05)
- insertproportion: insertの比率(0)
- scanproportion: scanの比率(0)
- readmodifywriteproportion: 1レコード読んで変更してまた書き込むという命令の比率(0)
- requestdistribution: 命令の対象となるレコードの選択分布.uniform,zipfian,latest(uniform)
- maxscanlength: scan命令でスキャンするレコード最大数
- scanlengthdistribution: scan命令の対象となるレコードの選択分布(uniform)
- insertorder: insertするレコードの順序.ordered,hashed.(hashed)