|
111 | 111 | <code class="literal">-X none</code>の使用時にプライマリでの書き込みアクティビティが低い場合、 |
112 | 112 | <span class="application">pg_basebackup</span>はバックアップに必要な最後のWALファイルが |
113 | 113 | 切り替わってアーカイブされるまで長時間待つ必要があるかもしれません。 |
114 | | -このような場合、即時のWALファイル切り替えをトリガーするためにプライマリで |
| 114 | +このような場合、即時のWALファイル切り替えをトリガするためにプライマリで |
115 | 115 | <code class="function">pg_switch_wal</code>を実行するのがおそらく有用です。 |
116 | 116 | </p></li><li class="listitem"><p> |
117 | 117 | <span class="original"> |
|
338 | 338 | This option can only be specified when |
339 | 339 | the backup is in plain format. |
340 | 340 | </span> |
341 | | -WAL(先行書き込みログ)ファイルを書き込むディレクトリを設定します。 |
| 341 | +WAL(先行書き込みログ)ファイルを書き込むディレクトリを設定します。 |
342 | 342 | デフォルトでは、WALファイルは対象の<code class="filename">pg_wal</code>サブディレクトリに置かれますが、どこか他の場所に置くためにこのオプションが使えます。 |
343 | 343 | <em class="replaceable"><code>waldir</code></em>は絶対パスでなければなりません。 |
344 | 344 | 主対象ディレクトリと同様に、<em class="replaceable"><code>waldir</code></em>は既に存在している必要はありませんが、存在している場合には空でなければなりません。 |
|
353 | 353 | making the output a completely standalone backup. |
354 | 354 | </span> |
355 | 355 | 必要なWAL(先行書き込みログ)ファイルをバックアップに含めます。 |
356 | | -これはバックアップ中に生成された先行書き込みログをすべて含みます。 |
| 356 | +これはバックアップ中に生成された先行書き込みログ(WAL)をすべて含みます。 |
357 | 357 | 方法<code class="literal">none</code>を指定しない場合、WALアーカイブを考慮することなく展開した対象ディレクトリ内でpostmasterを起動することができます。 |
358 | 358 | つまり出力は完全なスタンドアローンバックアップを作成します。 |
359 | 359 | </p><p> |
360 | 360 | <span class="original"> |
361 | 361 | The following <replaceable>method</replaceable>s for collecting the |
362 | 362 | write-ahead logs are supported: |
363 | 363 | </span> |
364 | | -以下の先行書き込みログを収集するための<em class="replaceable"><code>method</code></em>がサポートされます。 |
| 364 | +以下の先行書き込みログ(WAL)を収集するための<em class="replaceable"><code>method</code></em>がサポートされます。 |
365 | 365 |
|
366 | 366 | </p><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="literal">n</code><br /></span><span class="term"><code class="literal">none</code></span></dt><dd><p> |
367 | 367 | <span class="original"> |
368 | 368 | Don't include write-ahead logs in the backup. |
369 | 369 | </span> |
370 | | -先行書き込みログをバックアップに含めません。 |
| 370 | +先行書き込みログ(WAL)をバックアップに含めません。 |
371 | 371 | </p></dd><dt><span class="term"><code class="literal">f</code><br /></span><span class="term"><code class="literal">fetch</code></span></dt><dd><p> |
372 | 372 | <span class="original"> |
373 | 373 | The write-ahead log files are collected at the end of the backup. |
|
378 | 378 | before it's time to transfer it, the backup will fail and be |
379 | 379 | unusable. |
380 | 380 | </span> |
381 | | -先行書き込みログファイルはバックアップの最後に収集されます。 |
| 381 | +先行書き込みログ(WAL)ファイルはバックアップの最後に収集されます。 |
382 | 382 | したがって、ソースサーバの<a class="xref" href="runtime-config-replication.html#GUC-WAL-KEEP-SIZE">wal_keep_size</a>パラメータを、バックアップの最後までログが削除されない程度に十分大きくする必要があります。 |
383 | 383 | 要求されるログデータが転送時点で再利用されていた場合、バックアップは失敗し、使用することができません。 |
384 | 384 | </p><p> |
385 | 385 | <span class="original"> |
386 | 386 | When tar format is used, the write-ahead log files will be |
387 | 387 | included in the <filename>base.tar</filename> file. |
388 | 388 | </span> |
389 | | -tar形式が使われれば、先行書き込みログファイルは<code class="filename">base.tar</code>ファイルに含まれます。 |
| 389 | +tar形式が使われれば、先行書き込みログ(WAL)ファイルは<code class="filename">base.tar</code>ファイルに含まれます。 |
390 | 390 | </p></dd><dt><span class="term"><code class="literal">s</code><br /></span><span class="term"><code class="literal">stream</code></span></dt><dd><p> |
391 | 391 | <span class="original"> |
392 | 392 | Stream write-ahead log data while the backup is being taken. |
|
397 | 397 | with the write-ahead log data, using this method requires no |
398 | 398 | extra write-ahead logs to be saved on the source server. |
399 | 399 | </span> |
400 | | -バックアップを取る時に先行書き込みログデータをストリームします。 |
401 | | -この方法は第2のサーバ接続を開き、バックアップを実行している間、並行して先行書き込みログのストリーミングを始めます。 |
| 400 | +バックアップを取る時に先行書き込みログ(WAL)データをストリームします。 |
| 401 | +この方法は第2のサーバ接続を開き、バックアップを実行している間、並行して先行書き込みログ(WAL)のストリーミングを始めます。 |
402 | 402 | したがって、レプリケーション接続を、1つではなく2つ使用します。 |
403 | | -クライアントが先行書き込みログデータに追従している限り、このモードを使用すれば、ソースサーバ上に余分に保管される先行書き込みログは必要ありません。 |
| 403 | +クライアントが先行書き込みログ(WAL)データに追従している限り、このモードを使用すれば、ソースサーバ上に余分に保管される先行書き込みログ(WAL)は必要ありません。 |
404 | 404 | </p><p> |
405 | 405 | <span class="original"> |
406 | 406 | When tar format is used, the write-ahead log files will be |
407 | 407 | written to a separate file named <filename>pg_wal.tar</filename> |
408 | 408 | (if the server is a version earlier than 10, the file will be named |
409 | 409 | <filename>pg_xlog.tar</filename>). |
410 | 410 | </span> |
411 | | -tar形式が使われれば、先行書き込みログファイルは<code class="filename">pg_wal.tar</code>という名の別のファイルに書き込まれます(サーバが10より前のバージョンの場合、<code class="filename">pg_xlog.tar</code>というファイル名になります)。 |
| 411 | +tar形式が使われれば、先行書き込みログ(WAL)ファイルは<code class="filename">pg_wal.tar</code>という名の別のファイルに書き込まれます(サーバが10より前のバージョンの場合、<code class="filename">pg_xlog.tar</code>というファイル名になります)。 |
412 | 412 | </p><p> |
413 | 413 | <span class="original"> |
414 | 414 | This value is the default. |
|
538 | 538 | directory and write-ahead log directory). This option inhibits |
539 | 539 | tidying-up and is thus useful for debugging. |
540 | 540 | </span> |
541 | | -デフォルトでは、<code class="command">pg_basebackup</code>がエラーでアボートするとき、ジョブを完了できないことがわかるより前に作成したすべてのディレクトリ(例えば、対象のディレクトリと先行書き込みログのディレクトリ)を削除します。 |
| 541 | +デフォルトでは、<code class="command">pg_basebackup</code>がエラーでアボートするとき、ジョブを完了できないことがわかるより前に作成したすべてのディレクトリ(例えば、対象のディレクトリと先行書き込みログ(WAL)のディレクトリ)を削除します。 |
542 | 542 | このオプションはきれいに片付けることを禁止するので、デバッグのために有用です。 |
543 | 543 | </p><p> |
544 | 544 | <span class="original"> |
|
0 commit comments