Update Japanese documentation for no-kill-backend option.
This commit is contained in:
parent
f6c1304c36
commit
d1d3d774d3
@ -206,6 +206,7 @@ pg_repackもしくはpg_reorgの古いバージョンからのアップグレー
|
|||||||
-i, --index=INDEX move only the specified index
|
-i, --index=INDEX move only the specified index
|
||||||
-x, --only-indexes move only indexes of the specified table
|
-x, --only-indexes move only indexes of the specified table
|
||||||
-T, --wait-timeout=SECS timeout to cancel other backends on conflict
|
-T, --wait-timeout=SECS timeout to cancel other backends on conflict
|
||||||
|
-D, --no-kill-backend don't kill other backends when timed out
|
||||||
-Z, --no-analyze don't analyze at end
|
-Z, --no-analyze don't analyze at end
|
||||||
|
|
||||||
Connection options:
|
Connection options:
|
||||||
@ -244,6 +245,7 @@ OPTIONには以下のものが指定できます。
|
|||||||
-i, --index=INDEX 指定したインデックスのみ再編成します
|
-i, --index=INDEX 指定したインデックスのみ再編成します
|
||||||
-x, --only-indexes 指定したテーブルに付与されたインデックスだけを再編成します
|
-x, --only-indexes 指定したテーブルに付与されたインデックスだけを再編成します
|
||||||
-T, --wait-timeout=SECS ロック競合している他のトランザクションをキャンセルするまで待機する時間を指定します
|
-T, --wait-timeout=SECS ロック競合している他のトランザクションをキャンセルするまで待機する時間を指定します
|
||||||
|
-D, --no-kill-backend タイムアウト時に他のバックエンドをキャンセルしません
|
||||||
-Z, --no-analyze 再編成後にANALYZEを行いません
|
-Z, --no-analyze 再編成後にANALYZEを行いません
|
||||||
|
|
||||||
接続オプション:
|
接続オプション:
|
||||||
@ -351,15 +353,22 @@ OPTIONには以下のものが指定できます。
|
|||||||
.. ``-T SECS``, ``--wait-timeout=SECS``
|
.. ``-T SECS``, ``--wait-timeout=SECS``
|
||||||
pg_repack needs to take an exclusive lock at the end of the
|
pg_repack needs to take an exclusive lock at the end of the
|
||||||
reorganization. This setting controls how many seconds pg_repack will
|
reorganization. This setting controls how many seconds pg_repack will
|
||||||
wait to acquire this lock. If the lock cannot be taken after this duration,
|
wait to acquire this lock. If the lock cannot be taken after this duration
|
||||||
pg_repack will forcibly cancel the conflicting queries. If you are using
|
and ``--no-kill-backend`` option is not specified, pg_repack will forcibly
|
||||||
PostgreSQL version 8.4 or newer, pg_repack will fall back to using
|
cancel the conflicting queries. If you are using PostgreSQL version 8.4
|
||||||
pg_terminate_backend() to disconnect any remaining backends after
|
or newer, pg_repack will fall back to using pg_terminate_backend() to
|
||||||
twice this timeout has passed. The default is 60 seconds.
|
disconnect any remaining backends after twice this timeout has passed.
|
||||||
|
The default is 60 seconds.
|
||||||
|
|
||||||
``-T SECS``, ``--wait-timeout=SECS``
|
``-T SECS``, ``--wait-timeout=SECS``
|
||||||
pg_repackは再編成の完了直前に排他ロックを利用します。このオプションは、このロック取得時に何秒間pg_repackが取得を待機するかを指定します。指定した時間経ってもロックが取得できない場合、pg_repackは競合するクエリを強制的にキャンセルさせます。PostgreSQL 8.4以上のバージョンを利用している場合、指定した時間の2倍以上経ってもロックが取得できない場合、pg_repackは競合するクエリを実行しているPostgreSQLバックエンドプロセスをpg_terminate_backend()関数により強制的に停止させます。このオプションのデフォルトは60秒です。
|
pg_repackは再編成の完了直前に排他ロックを利用します。このオプションは、このロック取得時に何秒間pg_repackが取得を待機するかを指定します。指定した時間経ってもロックが取得できないかつ、`no-kill-backend`オプションが指定されていない場合、pg_repackは競合するクエリを強制的にキャンセルさせます。PostgreSQL 8.4以上のバージョンを利用している場合、指定した時間の2倍以上経ってもロックが取得できない場合、pg_repackは競合するクエリを実行しているPostgreSQLバックエンドプロセスをpg_terminate_backend()関数により強制的に停止させます。このオプションのデフォルトは60秒です。
|
||||||
|
|
||||||
|
.. ``-D``, ``--no-kill-backend``
|
||||||
|
Skip to repack table if the lock cannot be taken for duration specified
|
||||||
|
``--wait-timeout``, instead of cancelling conflicting queries. The default
|
||||||
|
is false.
|
||||||
|
``-D``, ``--no-kill-backend``
|
||||||
|
``--wait-timeout``オプションで指定された時間が経過してもロックが取得できない場合、競合するクエリをキャンセルする代わりに対象テーブルの再編成をスキップします。
|
||||||
|
|
||||||
.. ``-Z``, ``--no-analyze``
|
.. ``-Z``, ``--no-analyze``
|
||||||
Disable ANALYZE after a full-table reorganization. If not specified, run
|
Disable ANALYZE after a full-table reorganization. If not specified, run
|
||||||
|
Loading…
x
Reference in New Issue
Block a user