1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>7.1.4. groonga-benchmark — Groonga v10.1.1-31-g1e46ba6 documentation</title>
<link rel="stylesheet" href="../../_static/groonga.css" type="text/css" />
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<script id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
<script src="../../_static/jquery.js"></script>
<script src="../../_static/underscore.js"></script>
<script src="../../_static/doctools.js"></script>
<script src="../../_static/language_data.js"></script>
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
<link rel="index" title="Index" href="../../genindex.html" />
<link rel="search" title="Search" href="../../search.html" />
<link rel="next" title="7.1.5. groonga-httpd" href="groonga-httpd.html" />
<link rel="prev" title="7.1.3. groonga executable file" href="groonga.html" />
</head><body>
<div class="header">
<h1 class="title">
<a id="top-link" href="../../index.html">
<span class="project">groonga</span>
<span class="separator">-</span>
<span class="description">An open-source fulltext search engine and column store.</span>
</a>
</h1>
<div class="other-language-links">
<ul>
<li><a href="../../../../ja/html/reference/executables/groonga-benchmark.html">日本語</a></li>
</ul>
</div>
</div>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="../../genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="groonga-httpd.html" title="7.1.5. groonga-httpd"
accesskey="N">next</a> |</li>
<li class="right" >
<a href="groonga.html" title="7.1.3. groonga executable file"
accesskey="P">previous</a> |</li>
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v10.1.1-31-g1e46ba6 documentation</a> »</li>
<li class="nav-item nav-item-1"><a href="../../reference.html" ><span class="section-number">7. </span>Reference manual</a> »</li>
<li class="nav-item nav-item-2"><a href="../executables.html" accesskey="U"><span class="section-number">7.1. </span>Executables</a> »</li>
<li class="nav-item nav-item-this"><a href=""><span class="section-number">7.1.4. </span>groonga-benchmark</a></li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<div class="section" id="groonga-benchmark">
<h1><span class="section-number">7.1.4. </span>groonga-benchmark<a class="headerlink" href="#groonga-benchmark" title="Permalink to this headline">¶</a></h1>
<div class="section" id="id1">
<h2><span class="section-number">7.1.4.1. </span>名前<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2>
<p>groonga-benchmark - groongaテストプログラム</p>
</div>
<div class="section" id="id2">
<h2><span class="section-number">7.1.4.2. </span>書式<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>groonga-benchmark [options...] [script] [db]
</pre></div>
</div>
</div>
<div class="section" id="id3">
<h2><span class="section-number">7.1.4.3. </span>説明<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h2>
<p>groonga-benchmarkは、groonga汎用ベンチマークツールです。</p>
<p>groongaを単独のプロセスとして利用する場合はもちろん、サーバプログラムとして利用する場合の動作確認や実行速度測定が可能です。</p>
<p>groonga-benchmark用のデータファイルは自分で作成することも既存のものを利用することもできます。既存のデータファイルは、ftp.groonga.orgから必要に応じダウンロードします。そのため、groonga及びgroonga-benchmarkが動作し、インターネットに接続できる環境であればgroongaコマンドの知識がなくてもgroongaの動作を確認できます。</p>
<p>現在は、Linux 及びWindows上で動作します。make installしてもインストールは行われません。</p>
</div>
<div class="section" id="id4">
<h2><span class="section-number">7.1.4.4. </span>オプション<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h2>
<dl class="std option">
<dt id="cmdoption-groonga-benchmark-i">
<span id="cmdoption-groonga-benchmark-host"></span><code class="sig-name descname">-i</code><code class="sig-prename descclassname"></code><code class="sig-prename descclassname">, </code><code class="sig-name descname">--host</code><code class="sig-prename descclassname"> <ip/hostname></code><a class="headerlink" href="#cmdoption-groonga-benchmark-i" title="Permalink to this definition">¶</a></dt>
<dd><p>接続するgroongaサーバを、ipアドレスまたはホスト名で指定します。指定先にgroongaサーバが立ち上がっていない場合、接続不能となることに注意してください。このオプションを指定しない場合、groonga-benchmarkは自動的にlocalhostのgroongaサーバを起動して接続します。</p>
</dd></dl>
<dl class="std option">
<dt id="cmdoption-groonga-benchmark-p">
<span id="cmdoption-groonga-benchmark-port"></span><code class="sig-name descname">-p</code><code class="sig-prename descclassname"></code><code class="sig-prename descclassname">, </code><code class="sig-name descname">--port</code><code class="sig-prename descclassname"> <port number></code><a class="headerlink" href="#cmdoption-groonga-benchmark-p" title="Permalink to this definition">¶</a></dt>
<dd><p>自動的に起動するgroongaサーバ、または明示的に指定した接続先のgroonga サーバが利用するポート番号を指定します。接続先のgroongaサーバが利用しているポートと、このオプションで指定したポート番号が異なる場合、接続不能となることに注意してください。</p>
</dd></dl>
<dl class="std option">
<dt id="cmdoption-groonga-benchmark-dir">
<code class="sig-name descname">--dir</code><code class="sig-prename descclassname"></code><a class="headerlink" href="#cmdoption-groonga-benchmark-dir" title="Permalink to this definition">¶</a></dt>
<dd><p>ftp.groonga.org に用意されているスクリプトファイルを表示します。</p>
</dd></dl>
<dl class="std option">
<dt id="cmdoption-groonga-benchmark-ftp">
<code class="sig-name descname">--ftp</code><code class="sig-prename descclassname"></code><a class="headerlink" href="#cmdoption-groonga-benchmark-ftp" title="Permalink to this definition">¶</a></dt>
<dd><p>ftp.groonga.orgとFTP通信を行い、scriptファイルの同期やログファイルの送信を行います。</p>
</dd></dl>
<dl class="std option">
<dt id="cmdoption-groonga-benchmark-log-output-dir">
<code class="sig-name descname">--log-output-dir</code><code class="sig-prename descclassname"></code><a class="headerlink" href="#cmdoption-groonga-benchmark-log-output-dir" title="Permalink to this definition">¶</a></dt>
<dd><p>デフォルトでは、groonga-benchmark終了後のログファイルの出力先ははカレントディレクトリです。このオプションを利用すると、任意のディレクトリに出力先を変更することができます。</p>
</dd></dl>
<dl class="std option">
<dt id="cmdoption-groonga-benchmark-groonga">
<code class="sig-name descname">--groonga</code><code class="sig-prename descclassname"> <groonga_path></code><a class="headerlink" href="#cmdoption-groonga-benchmark-groonga" title="Permalink to this definition">¶</a></dt>
<dd><p>groongaコマンドのパスを指定します。デフォルトでは、PATHの中からgroongaコマンドを探します。</p>
</dd></dl>
<dl class="std option">
<dt id="cmdoption-groonga-benchmark-protocol">
<code class="sig-name descname">--protocol</code><code class="sig-prename descclassname"> <gqtp|http></code><a class="headerlink" href="#cmdoption-groonga-benchmark-protocol" title="Permalink to this definition">¶</a></dt>
<dd><p>groongaコマンドが使うプロトコルとして <cite>gqtp</cite> または <cite>http</cite> を指定します。</p>
</dd></dl>
</div>
<div class="section" id="id5">
<h2><span class="section-number">7.1.4.5. </span>引数<a class="headerlink" href="#id5" title="Permalink to this headline">¶</a></h2>
<dl class="std option">
<dt id="cmdoption-groonga-benchmark-arg-script">
<code class="sig-name descname">script</code><code class="sig-prename descclassname"></code><a class="headerlink" href="#cmdoption-groonga-benchmark-arg-script" title="Permalink to this definition">¶</a></dt>
<dd><p>groonga-benchmarkの動作方法(以下、groonga-benchmark命令と呼びます)を記述したテキストファイルです。拡張子は.scrです。</p>
</dd></dl>
<dl class="std option">
<dt id="cmdoption-groonga-benchmark-arg-db">
<code class="sig-name descname">db</code><code class="sig-prename descclassname"></code><a class="headerlink" href="#cmdoption-groonga-benchmark-arg-db" title="Permalink to this definition">¶</a></dt>
<dd><p>groonga-benchmarkが利用するgroonga データベースです。指定されたデータベースが存在しない場合、groonga-benchmarkが新規に作成します。またgroonga サーバを自動的に起動する場合もこの引数で指定したデータベースが利用されます。接続するgroonga サーバを明示的に指定した場合に利用するデータベースは、接続先サーバが使用中のデータベースになることに注意してください。</p>
</dd></dl>
</div>
<div class="section" id="id6">
<h2><span class="section-number">7.1.4.6. </span>使い方<a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h2>
<p>まず、シェル上(Windowsならコマンドプロンプト上)で:</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>groonga-benchmark test.scr 任意のDB名
</pre></div>
</div>
<p>とタイプしてください。もしgroonga-benchmarkが正常に動作すれば、:</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>test-ユーザ名-数字.log
</pre></div>
</div>
<p>というファイルが作成されるはずです。作成されない場合、このドキュメントの「トラブルシューティング」の章を参照してください。</p>
</div>
<div class="section" id="id7">
<h2><span class="section-number">7.1.4.7. </span>スクリプトファイル<a class="headerlink" href="#id7" title="Permalink to this headline">¶</a></h2>
<p>スクリプトファイルは、groonga-benchmark命令を記述したテキストファイルです。
“;”セミコロンを利用して、一行に複数のgroonga-benchmark命令を記述することができます。一行に複数のgroonga-benchmark命令がある場合、各命令は並列に実行されます。
“#”で始まる行はコメントとして扱われます。</p>
<div class="section" id="id8">
<h3><span class="section-number">7.1.4.7.1. </span>groonga-benchmark命令<a class="headerlink" href="#id8" title="Permalink to this headline">¶</a></h3>
<p>現在サポートされているgroonga-benchmark命令は以下の11種類です。</p>
<blockquote>
<div><p>do_local コマンドファイル [スレッド数] [繰り返し数]</p>
<blockquote>
<div><p>コマンドファイルをgroonga-benchmark単体で実行します。スレッド数が指定されている場合、複数のスレッドで同じコマンドファイルを同時に実行します。繰り返し数が指定されてい場合、コマンドファイルの内容を繰り返し実行します。スレッド数、繰り返し数とも省略時は1です。1スレッドで複数回動作させたい場合は、do_local コマンドファイル 1 [繰り返し数]と明示的に指定してください。</p>
</div></blockquote>
<p>do_gqpt コマンドファイル [スレッド数] [繰り返し数]</p>
<blockquote>
<div><p>コマンドファイルをgroongaサーバでGQTP経由で実行します。スレッド数や繰り返し数の意味はdo_localの場合と同じです。</p>
</div></blockquote>
<p>do_http コマンドファイル [スレッド数] [繰り返し数]</p>
<blockquote>
<div><p>コマンドファイルをgroongaサーバでHTTP経由で実行します。スレッド数や繰り返し数の意味はdo_localの場合と同じです。</p>
</div></blockquote>
<p>rep_local コマンドファイル [スレッド数] [繰り返し数]</p>
<blockquote>
<div><p>コマンドファイルをgroonga-benchmark単体で実行し、より詳細な報告を行います。</p>
</div></blockquote>
<p>rep_gqpt コマンドファイル [スレッド数] [繰り返し数]</p>
<blockquote>
<div><p>コマンドファイルをgroongaサーバでGQTP経由で実行し、より詳細な報告を行います。 スレッド数や繰り返し数の意味はdo_localと 同じです。</p>
</div></blockquote>
<p>rep_http コマンドファイル [スレッド数] [繰り返し数]</p>
<blockquote>
<div><p>コマンドファイルをgroongaサーバでHTTP経由で実行し、より詳細な報告を行います。 スレッド数や繰り返し数の意味はdo_localと 同じです。</p>
</div></blockquote>
<p>out_local コマンドファイル 入力ファイル名</p>
<blockquote>
<div><p>コマンドファイルをgroonga-benchmark単体で実行し、各コマンドの実行結果をすべて”出力ファイル”に書きだします。この結果は、test_local, test_gqtp命令で利用します。なおこの命令の「出力ファイル」とは、groonga-benchmark実行時に自動的に作成されるログとは別のものです。groonga-benchmarkではコメントが利用できる以外、:</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>groonga < コマンドファイル > 出力ファイル
</pre></div>
</div>
<p>とした場合と同じです。</p>
</div></blockquote>
<p>out_gqtp コマンドファイル 出力ファイル名</p>
<blockquote>
<div><p>コマンドファイルをgroongaサーバでGQTP経由で実行します。その他はout_local命令と同等です。</p>
</div></blockquote>
<p>out_http コマンドファイル 出力ファイル名</p>
<blockquote>
<div><p>コマンドファイルをgroongaサーバでHTTP経由で実行します。その他はout_local命令と同等です。</p>
</div></blockquote>
<dl class="simple">
<dt>test_local コマンドファイル 入力ファイル名</dt><dd><p>コマンドファイルをgroonga-benchmark単体で実行し、各コマンドの実行結果を入力ファイルと比較します。処理時間など本質的要素以外に差分があった場合、差分を、入力ファイル.diffというファイルに書きだします。</p>
</dd>
</dl>
</div></blockquote>
</div>
<div class="section" id="id9">
<h3><span class="section-number">7.1.4.7.2. </span>コマンドファイル<a class="headerlink" href="#id9" title="Permalink to this headline">¶</a></h3>
<p>コマンドファイルは、groonga組み込みコマンドを1行に1つずつ記述したテキストファイルです。拡張子に制限はありません。groonga組み込みコマンドに関しては <a class="reference internal" href="../command.html"><span class="doc">Command</span></a> を参照してください。</p>
</div>
<div class="section" id="id10">
<h3><span class="section-number">7.1.4.7.3. </span>サンプル<a class="headerlink" href="#id10" title="Permalink to this headline">¶</a></h3>
<p>スクリプトファイルのサンプルです。:</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span># sample script
rep_local test.ddl
do_local test.load;
do_gqtp test.select 10 10; do_local test.status 10
</pre></div>
</div>
<p>上記の意味は以下のとおりです。</p>
<blockquote>
<div><dl class="simple">
<dt>1行目</dt><dd><p>コメント行。</p>
</dd>
<dt>2行目</dt><dd><p>test.ddl というコマンドファイルをgroonga単体で実行し、詳細に報告する。</p>
</dd>
<dt>3行目</dt><dd><p>test.load というコマンドファイルをgroonga単体で実行する。(最後の”;”セミコロンは複数のgroonga-benchmark命令を記述する場合に必要ですが、この例のように1つのgroonga-benchmark命令を実行する場合に付与しても問題ありません。)</p>
</dd>
<dt>4行目</dt><dd><p>test.select というコマンドファイルをgroongaサーバで10個のスレッドで同時に実行する。各スレッドはtest.selectの中身を10回繰り返す。また同時に、groonga単体でtest.statusというコマンドファイルを10個のスレッドで実行する。</p>
</dd>
</dl>
</div></blockquote>
</div>
<div class="section" id="id11">
<h3><span class="section-number">7.1.4.7.4. </span>特殊命令<a class="headerlink" href="#id11" title="Permalink to this headline">¶</a></h3>
<p>スクリプトファイルのコメント行には特殊コマンドを埋め込むことが可能です。現在サポートされている特殊命令は以下の二つです。</p>
<blockquote>
<div><dl class="simple">
<dt>#SET_HOST <ip/hostname></dt><dd><p>-i, –hostオプションと同等の機能です。コマンドラインオプションに指定したIPアドレス/ホスト名と、SET_HOSTで指定したIPアドレス/ホスト名が異なる場合、またコマンドラインオプションを指定しなかった場合にもSET_HOSTが優先されます。SET_HOSTを利用した場合、サーバが自動的には起動されないのもコマンドラインオプションで指定した場合と同様です。</p>
</dd>
<dt>#SET_PORT <port number></dt><dd><p>-p, –port オプションと同等の機能です。コマンドラインオプションに指定したポート番号とSET_PORTで指定したポート番号が異なる場合、またコマンドラインオプションを指定しなかった場合にもSET_PORTが優先されます。</p>
</dd>
</dl>
</div></blockquote>
<p>特殊命令はスクリプトファイルの任意の場所に書き込むことができます。同一ファイル内に複数回特殊命令を記述した場合、「最後の」特殊命令が有効となります。</p>
<p>例えば、</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>$ ./groonga-benchmark --port 20010 test.scr testdb
</pre></div>
</div>
<p>とコマンド上でポートを指定した場合でも、もしtest.scrの中身が</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>#SET_PORT 10900
rep_local test.ddl
do_local test.load;
rep_gqtp test.select 10 10; rep_local test.status 10
#SET_PORT 10400
</pre></div>
</div>
<p>であれば、自動的に起動されるgroongaサーバはポート番号10400を利用します。</p>
</div>
</div>
<div class="section" id="id12">
<h2><span class="section-number">7.1.4.8. </span>groonga-benchmark実行結果<a class="headerlink" href="#id12" title="Permalink to this headline">¶</a></h2>
<p>groonga-benchmarkが正常に終了すると、(拡張子を除いた)スクリプト名-ユーザ名-実行開始時刻.logという形式のログファイルがカレントディレクトリに作られます。ログファイルは自動的にftp.groonga.org
に送信されます。ログファイルは以下のようなjson形式のテキストです。</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>[{"script": "test.scr",
"user": "homepage",
"date": "2010-04-14 22:47:04",
"CPU": Intel(R) Pentium(R) 4 CPU 2.80GHz",
"BIT": 32,
"CORE": 1,
"RAM": "975MBytes",
"HDD": "257662232KBytes",
"OS": "Linux 2.4.20-24.7-i686",
"HOST": "localhost",
"PORT": "10041",
"VERSION": "0.1.8-100-ga54c5f8"
},
{"jobs": "rep_local test.ddl",
"detail": [
[0, "table_create res_table --key_type ShortText", 1490, 3086, [0,1271252824.25846,0.00144
7]],
[0, "column_create res_table res_column --type Text", 3137, 5956, [0,1271252824.2601,0.002
741]],
[0, "column_create res_table user_column --type Text", 6020, 8935, [0,1271252824.26298,0.0
02841]],
[0, "column_create res_table mail_column --type Text", 8990, 11925, [0,1271252824.26595,0.
002861]],
[0, "column_create res_table time_column --type Time", 12008, 13192, [0,1271252824.26897,0
.001147]],
[0, "status", 13214, 13277, [0,1271252824.27018,3.0e-05]],
[0, "table_create thread_table --key_type ShortText", 13289, 14541, [0,1271252824.27025,0.
001213]],
[0, "column_create thread_table thread_title_column --type ShortText", 14570, 17380, [0,12
71252824.27153,0.002741]],
[0, "status", 17435, 17480, [0,1271252824.2744,2.7e-05]],
[0, "table_create lexicon_table --flags 129 --key_type ShortText --default_tokenizer Token
Bigram", 17491, 18970, [0,1271252824.27446,0.001431]],
[0, "column_create lexicon_table inv_res_column 514 res_table res_column ", 18998, 33248,
[0,1271252824.27596,0.01418]],
[0, "column_create lexicon_table inv_thread_column 514 thread_table thread_title_column ",
33285, 48472, [0,1271252824.29025,0.015119]],
[0, "status", 48509, 48554, [0,1271252824.30547,2.7e-05]]],
"summary" :[{"job": "rep_local test.ddl", "latency": 48607, "self": 47719, "qps": 272.4281
73, "min": 45, "max": 15187, "queries": 13}]},
{"jobs": "do_local test.load; ",
"summary" :[{"job": "do_local test.load", "latency": 68693, "self": 19801, "qps": 1010.049
997, "min": 202, "max": 5453, "queries": 20}]},
{"jobs": "do_gqtp test.select 10 10; do_local test.status 10",
"summary" :[{"job": " do_local test.status 10", "latency": 805990, "self": 737014, "qps":
54.273053, "min": 24, "max": 218, "queries": 40},{"job": "do_gqtp test.select 10 10", "lat
ency": 831495, "self": 762519, "qps": 1967.164097, "min": 73, "max": 135631, "queries": 15
00}]},
{"total": 915408, "qps": 1718.359464, "queries": 1573}]
</pre></div>
</div>
</div>
<div class="section" id="id13">
<h2><span class="section-number">7.1.4.9. </span>制限事項<a class="headerlink" href="#id13" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li><p>スクリプトファイルの一行には複数のgroonga-benchmark命令を記述できますが、すべてのスレッド数の合計は最大64までに制限されます。</p></li>
<li><p>コマンドファイル中のgroongaコマンドの長さは最長5000000byteです。</p></li>
</ul>
</div>
<div class="section" id="id14">
<h2><span class="section-number">7.1.4.10. </span>トラブルシューティング<a class="headerlink" href="#id14" title="Permalink to this headline">¶</a></h2>
<p>もし、groonga-benchmarkが正常に動作しない場合、まず以下を確認してください。</p>
<ul class="simple">
<li><p>インターネットに接続しているか? <cite>–ftp</cite> オプションを指定すると、groonga-benchmarkは動作のたびにftp.groonga.orgと通信します。ftp.groonga.orgと通信可能でない場合、groonga-benchmarkは正常に動作しません。</p></li>
<li><p>groonga サーバが動作していないか? groonga-benchmarkは、-i, –host オプションで明示的にサーバを指定しないかぎり、自動的にlocalhostのgroongaサーバを立ち上げます。すでにgroongaサーバが動作している場合、groonga-benchmarkは正常に動作しない可能性があります。</p></li>
<li><p>指定したDBが適切か? groonga-benchmarkは、引数で指定したDBの中身はチェックしません。もし指定されたDBが存在しなければ自動的にDBを作成しますが、もしファイルとして存在する場合は中身に関わらず動作を続けてしまい、結果が異常になる可能性があります。</p></li>
</ul>
<p>以上の原因でなければ、問題はgroonga-benchmarkかgroongaにあります。ご報告をお願いします。</p>
</div>
</div>
<div class="clearer"></div>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<h3><a href="../../index.html">Table of Contents</a></h3>
<ul>
<li><a class="reference internal" href="#">7.1.4. groonga-benchmark</a><ul>
<li><a class="reference internal" href="#id1">7.1.4.1. 名前</a></li>
<li><a class="reference internal" href="#id2">7.1.4.2. 書式</a></li>
<li><a class="reference internal" href="#id3">7.1.4.3. 説明</a></li>
<li><a class="reference internal" href="#id4">7.1.4.4. オプション</a></li>
<li><a class="reference internal" href="#id5">7.1.4.5. 引数</a></li>
<li><a class="reference internal" href="#id6">7.1.4.6. 使い方</a></li>
<li><a class="reference internal" href="#id7">7.1.4.7. スクリプトファイル</a><ul>
<li><a class="reference internal" href="#id8">7.1.4.7.1. groonga-benchmark命令</a></li>
<li><a class="reference internal" href="#id9">7.1.4.7.2. コマンドファイル</a></li>
<li><a class="reference internal" href="#id10">7.1.4.7.3. サンプル</a></li>
<li><a class="reference internal" href="#id11">7.1.4.7.4. 特殊命令</a></li>
</ul>
</li>
<li><a class="reference internal" href="#id12">7.1.4.8. groonga-benchmark実行結果</a></li>
<li><a class="reference internal" href="#id13">7.1.4.9. 制限事項</a></li>
<li><a class="reference internal" href="#id14">7.1.4.10. トラブルシューティング</a></li>
</ul>
</li>
</ul>
<h4>Previous topic</h4>
<p class="topless"><a href="groonga.html"
title="previous chapter"><span class="section-number">7.1.3. </span><code class="docutils literal notranslate"><span class="pre">groonga</span></code> executable file</a></p>
<h4>Next topic</h4>
<p class="topless"><a href="groonga-httpd.html"
title="next chapter"><span class="section-number">7.1.5. </span>groonga-httpd</a></p>
<div id="searchbox" style="display: none" role="search">
<h3 id="searchlabel">Quick search</h3>
<div class="searchformwrapper">
<form class="search" action="../../search.html" method="get">
<input type="text" name="q" aria-labelledby="searchlabel" />
<input type="submit" value="Go" />
</form>
</div>
</div>
<script>$('#searchbox').show(0);</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="../../genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="groonga-httpd.html" title="7.1.5. groonga-httpd"
>next</a> |</li>
<li class="right" >
<a href="groonga.html" title="7.1.3. groonga executable file"
>previous</a> |</li>
<li class="nav-item nav-item-0"><a href="../../index.html">Groonga v10.1.1-31-g1e46ba6 documentation</a> »</li>
<li class="nav-item nav-item-1"><a href="../../reference.html" ><span class="section-number">7. </span>Reference manual</a> »</li>
<li class="nav-item nav-item-2"><a href="../executables.html" ><span class="section-number">7.1. </span>Executables</a> »</li>
<li class="nav-item nav-item-this"><a href=""><span class="section-number">7.1.4. </span>groonga-benchmark</a></li>
</ul>
</div>
<div class="footer" role="contentinfo">
© Copyright 2009-2021, Brazil, Inc.
</div>
</body>
</html>
|