|
10 | 10 | It also offers a low-level way to evict data from it, for testing |
11 | 11 | purposes. |
12 | 12 | </span> |
13 | | -《マッチ度[62.085308]》<code class="filename">pg_buffercache</code>モジュールは、共有バッファキャッシュで何が起きているかをリアルタイムに確認する方法を提供します。 |
14 | | -《機械翻訳》<code class="filename">pg_buffercache</code>モジュールは、共有バッファキャッシュで何が起きているかをリアルタイムで調べるための手段を提供します。 |
| 13 | +<code class="filename">pg_buffercache</code>モジュールは、共有バッファキャッシュで何が起きているかをリアルタイムに確認する方法を提供します。 |
15 | 14 | また、テスト目的で、低レベルでデータを取り出す方法も提供します。 |
16 | 15 | </p><a id="id-1.11.7.35.4" class="indexterm"></a><a id="id-1.11.7.35.5" class="indexterm"></a><a id="id-1.11.7.35.6" class="indexterm"></a><p> |
17 | 16 | <span class="original"> |
|
21 | 20 | <function>pg_buffercache_usage_counts()</function> function and |
22 | 21 | the <function>pg_buffercache_evict()</function> function. |
23 | 22 | </span> |
24 | | -《マッチ度[77.607362]》このモジュールは、<code class="function">pg_buffercache_pages()</code>関数(<code class="structname">pg_buffercache</code>ビューでラップされています)、<code class="function">pg_buffercache_summary()</code>関数、および<code class="function">pg_buffercache_usage_counts()</code>関数を提供します。 |
25 | | -《機械翻訳》このモジュールは、<code class="function">pg_buffercache_pages()</code>関数(<code class="structname">pg_buffercache</code>ビューでラップ)、<code class="function">pg_buffercache_summary()</code>関数、<code class="function">pg_buffercache_usage_counts()</code>関数、<code class="function">pg_buffercache_evict()</code>関数を提供します。 |
| 23 | +このモジュールは、<code class="function">pg_buffercache_pages()</code>関数(<code class="structname">pg_buffercache</code>ビューでラップされています)、<code class="function">pg_buffercache_summary()</code>関数、<code class="function">pg_buffercache_usage_counts()</code>関数、および<code class="function">pg_buffercache_evict()</code>関数を提供します。 |
26 | 24 | </p><p> |
27 | 25 | <span class="original"> |
28 | 26 | The <function>pg_buffercache_pages()</function> function returns a set of |
|
51 | 49 | with privileges of the <literal>pg_monitor</literal> role. Access may be |
52 | 50 | granted to others using <command>GRANT</command>. |
53 | 51 | </span> |
54 | | -《マッチ度[85.427136]》デフォルトでは、使用はスーパーユーザと<code class="literal">pg_monitor</code>ロールの権限を持つロールに限定されています。 |
55 | | -<code class="command">GRANT</code>を使って他人にアクセス権を付与できます。 |
56 | | -《機械翻訳》デフォルトでは、上記の関数の使用はスーパーユーザと<code class="literal">pg_monitor</code>ロールの権限を持つロールに制限されています。 |
57 | | -他のユーザに対しては<code class="command">GRANT</code>を使用してアクセス権を付与することができます。 |
| 52 | +デフォルトでは、上記関数の使用はスーパーユーザと<code class="literal">pg_monitor</code>ロールの権限を持つロールに限定されています。 |
| 53 | +他のユーザに対しては<code class="command">GRANT</code>を使用してアクセス権を付与できます。 |
58 | 54 | </p><p> |
59 | 55 | <span class="original"> |
60 | 56 | The <function>pg_buffercache_evict()</function> function allows a block to |
61 | 57 | be evicted from the buffer pool given a buffer identifier. Use of this |
62 | 58 | function is restricted to superusers only. |
63 | 59 | </span> |
64 | | -《機械翻訳》<code class="function">pg_buffercache_evict()</code>関数は、バッファ識別子を指定して、ブロックをバッファプールから退避させることができます。 |
| 60 | +<code class="function">pg_buffercache_evict()</code>関数は、バッファ識別子を指定して、ブロックをバッファプールから退避させることができます。 |
65 | 61 | この関数の使用はスーパーユーザのみに制限されています。 |
66 | 62 | </p><div class="sect2" id="PGBUFFERCACHE-PG-BUFFERCACHE"><div class="titlepage"><div><div><h3 class="title">F.25.1. <code class="structname">pg_buffercache</code>ビュー <a href="#PGBUFFERCACHE-PG-BUFFERCACHE" class="id_link">#</a></h3></div></div></div><span class="original"> |
67 | 63 | <title>The <structname>pg_buffercache</structname> View</title> |
|
279 | 275 | </span> |
280 | 276 | <code class="structname">pg_buffercache</code>ビューと同様に、<code class="function">pg_buffercache_summary()</code>はバッファマネージャのロックを取得しません。 |
281 | 277 | そのため、同時実行中の処理によって結果に小さな不正確さが生じる可能性があります。 |
282 | | - </p></div><div class="sect2" id="PGBUFFERCACHE-USAGE-COUNTS"><div class="titlepage"><div><div><h3 class="title">F.25.3. The <code class="function">pg_buffercache_usage_counts()</code> Function <a href="#PGBUFFERCACHE-USAGE-COUNTS" class="id_link">#</a></h3></div></div></div><p> |
| 278 | + </p></div><div class="sect2" id="PGBUFFERCACHE-USAGE-COUNTS"><div class="titlepage"><div><div><h3 class="title">F.25.3. <code class="function">pg_buffercache_usage_counts()</code>関数 <a href="#PGBUFFERCACHE-USAGE-COUNTS" class="id_link">#</a></h3></div></div></div><span class="original"> |
| 279 | + <title>The <function>pg_buffercache_usage_counts()</function> Function</title> |
| 280 | +</span><p> |
283 | 281 | <span class="original"> |
284 | 282 | The definitions of the columns exposed by the function are shown in |
285 | 283 | <xref linkend="pgbuffercache_usage_counts-columns"/>. |
|
349 | 347 | </span> |
350 | 348 | <code class="structname">pg_buffercache</code>ビューと同様に、<code class="function">pg_buffercache_usage_counts()</code>はバッファマネージャのロックを取得しません。 |
351 | 349 | そのため、同時実行中の処理によって結果に小さな不正確さが生じる可能性があります。 |
352 | | - </p></div><div class="sect2" id="PGBUFFERCACHE-PG-BUFFERCACHE-EVICT"><div class="titlepage"><div><div><h3 class="title">F.25.4. The <code class="structname">pg_buffercache_evict</code> Function <a href="#PGBUFFERCACHE-PG-BUFFERCACHE-EVICT" class="id_link">#</a></h3></div></div></div><p> |
| 350 | + </p></div><div class="sect2" id="PGBUFFERCACHE-PG-BUFFERCACHE-EVICT"><div class="titlepage"><div><div><h3 class="title">F.25.4. <code class="structname">pg_buffercache_evict</code>関数 <a href="#PGBUFFERCACHE-PG-BUFFERCACHE-EVICT" class="id_link">#</a></h3></div></div></div><span class="original"> |
| 351 | + <title>The <structname>pg_buffercache_evict</structname> Function</title> |
| 352 | +</span><p> |
353 | 353 | <span class="original"> |
354 | 354 | The <function>pg_buffercache_evict()</function> function takes a buffer |
355 | 355 | identifier, as shown in the <structfield>bufferid</structfield> column of |
|
360 | 360 | become valid again at any time due to concurrent activity. The function is |
361 | 361 | intended for developer testing only. |
362 | 362 | </span> |
363 | | -《機械翻訳》<code class="function">pg_buffercache_evict()</code>関数は、<code class="structname">pg_buffercache</code>ビューの<code class="structfield">bufferid</code>列に示されるバッファ識別子を取ります。 |
364 | | -成功した場合は true を、バッファが有効でなかった場合は false を、バッファが固定されていたために削除できなかった場合や、書き出そうとした後で再びダーティになった場合は false を返します。 |
| 363 | +<code class="function">pg_buffercache_evict()</code>関数は、<code class="structname">pg_buffercache</code>ビューの<code class="structfield">bufferid</code>列に示されるバッファ識別子を取ります。 |
| 364 | +成功した場合はtrueを、バッファが有効でなかった場合はfalseを、バッファが固定されていたために削除できなかった場合や、書き出そうとした後で再びダーティになった場合はfalseを返します。 |
365 | 365 | バッファは同時アクティビティのためにいつでも再び有効になる可能性があるため、結果は戻されるとすぐに無効になります。 |
366 | 366 | この関数は、開発者のテストのみを目的としています。 |
367 | 367 | </p></div><div class="sect2" id="PGBUFFERCACHE-SAMPLE-OUTPUT"><div class="titlepage"><div><div><h3 class="title">F.25.5. サンプル出力 <a href="#PGBUFFERCACHE-SAMPLE-OUTPUT" class="id_link">#</a></h3></div></div></div><span class="original"> |
|
0 commit comments