|
2529 | 2529 | columns, and <literal>upd</literal>, used by updates or deletes that |
2530 | 2530 | modify key columns. |
2531 | 2531 | </span> |
2532 | | -《機械翻訳》指定されたマルチトランザクションIDの各メンバのトランザクションIDとロックモードを返します。 |
| 2532 | +指定されたマルチトランザクションIDの各メンバのトランザクションIDとロックモードを返します。 |
2533 | 2533 | ロックモード<code class="literal">forupd</code>、<code class="literal">fornokeyupd</code>、<code class="literal">sh</code>、および<code class="literal">keysh</code>は、<a class="xref" href="explicit-locking.html#LOCKING-ROWS" title="13.3.2. 行レベルロック">13.3.2</a>で説明されているように、それぞれ行レベルロック<code class="literal">FOR UPDATE</code>、<code class="literal">FOR NO KEY UPDATE</code>、<code class="literal">FOR SHARE</code>、および<code class="literal">FOR KEY SHARE</code>に対応します。 |
2534 | | -さらに2つのモードがマルチxactに固有です。 |
2535 | | -<code class="literal">nokeyupd</code>はキー・カラムを変更しない更新で使用され、<code class="literal">upd</code>はキー・カラムを変更する更新または削除で使用されます。 |
| 2534 | +さらに2つのモードがマルチトランザクションに固有です。 |
| 2535 | +<code class="literal">nokeyupd</code>はキー列を変更しない更新で使用され、<code class="literal">upd</code>はキー列を変更する更新または削除で使用されます。 |
2536 | 2536 | </p></td></tr></tbody></table></div></div><br class="table-break" /><p> |
2537 | 2537 | <span class="original"> |
2538 | 2538 | The internal transaction ID type <type>xid</type> is 32 bits wide and |
|
2551 | 2551 | For example <literal>10:20:10,14,15</literal> means |
2552 | 2552 | <literal>xmin=10, xmax=20, xip_list=10, 14, 15</literal>. |
2553 | 2553 | </span> |
2554 | | -《マッチ度[89.257028]》内部トランザクションID型(<code class="type">xid</code>)は32ビット幅なので40億トランザクション毎に周回します。 |
2555 | | -とは言っても、<a class="xref" href="functions-info.html#FUNCTIONS-PG-SNAPSHOT" title="表9.82 トランザクションIDとスナップショット情報関数">表 9.82</a>に示される関数は、<code class="function">age</code>と<code class="function">mxid_age</code>を除き、インストールしてから稼働を終えるまでには周回しない<code class="type">xid8</code>型の64ビット形式を使用しており、必要に応じて<code class="type">xid</code>にキャストして変換できます。 |
| 2554 | +内部トランザクションID型(<code class="type">xid</code>)は32ビット幅なので40億トランザクション毎に周回します。 |
| 2555 | +とは言っても、<a class="xref" href="functions-info.html#FUNCTIONS-PG-SNAPSHOT" title="表9.82 トランザクションIDとスナップショット情報関数">表 9.82</a>に示される関数は、<code class="function">age</code>、<code class="function">mxid_age</code>、<code class="function">pg_get_multixact_members</code>を除き、インストールしてから稼働を終えるまでには周回しない<code class="type">xid8</code>型の64ビット形式を使用しており、必要に応じて<code class="type">xid</code>にキャストして変換できます。 |
2556 | 2556 | 詳細は<a class="xref" href="transaction-id.html" title="66.1. トランザクションと識別子">66.1</a>を参照してください。 |
2557 | 2557 | これらの関数で使用されるデータ型、<code class="type">pg_snapshot</code>はある特定の時間におけるトランザクションIDの可視性に関する情報を格納します。 |
2558 | 2558 | 構成要素は<a class="xref" href="functions-info.html#FUNCTIONS-PG-SNAPSHOT-PARTS" title="表9.83 スナップショット構成要素">表 9.83</a>に記載されています。 |
2559 | 2559 | <code class="type">pg_snapshot</code>のテキスト表現は<code class="literal"><em class="replaceable"><code>xmin</code></em>:<em class="replaceable"><code>xmax</code></em>:<em class="replaceable"><code>xip_list</code></em></code>です。 |
2560 | 2560 | たとえば<code class="literal">10:20:10,14,15</code>は<code class="literal">xmin=10, xmax=20, xip_list=10, 14, 15</code>であることを意味します。 |
2561 | | -《機械翻訳》内部トランザクションIDタイプ<code class="type">xid</code>は32ビット幅で、4,000,000,000トランザクションごとに循環します。 |
2562 | | -しかし、<code class="function">age</code>、<code class="function">mxid_age</code>、および<code class="function">pg_get_multixact_members</code>、を除く<a class="xref" href="functions-info.html#FUNCTIONS-PG-SNAPSHOT" title="表9.82 トランザクションIDとスナップショット情報関数">表 9.82</a>の関数は64-ビットタイプ<code class="type">xid8</code>を使用します。 |
2563 | | -これはインストールの有効期間中は循環せず、必要に応じてキャストすることで<code class="type">xid</code>に変換できます。 |
2564 | | -詳細は<a class="xref" href="transaction-id.html" title="66.1. トランザクションと識別子">66.1</a>を参照してください。 |
2565 | | -データタイプ<code class="type">pg_snapshot</code>は特定の時点におけるトランザクションIDの可視度に関する情報を格納します。 |
2566 | | -その構成要素は<a class="xref" href="functions-info.html#FUNCTIONS-PG-SNAPSHOT-PARTS" title="表9.83 スナップショット構成要素">表 9.83</a>で説明されています。 |
2567 | | -<code class="type">pg_snapshot</code>のテキスト表現形式は<code class="literal"><em class="replaceable"><code>xmin</code></em>:<em class="replaceable"><code>xmax</code></em>:<em class="replaceable"><code>xip_list</code></em></code>です。 |
2568 | | -例<code class="literal">10:20:10,14,15</code>は<code class="literal">xmin=10, xmax=20, xip_list=10, 14, 15</code>を意味します。 |
2569 | 2561 | </p><div class="table" id="FUNCTIONS-PG-SNAPSHOT-PARTS"><p class="title"><strong>表9.83 スナップショット構成要素</strong></p><div class="table-contents"><span class="original"> |
2570 | 2562 | <title>Snapshot Components</title> |
2571 | 2563 | </span><table class="table" summary="スナップショット構成要素" border="1"><colgroup><col /><col /></colgroup><thead><tr><th>名前</th><th>説明</th></tr></thead><tbody><tr><td><code class="structfield">xmin</code></td><td> |
|
0 commit comments