File tree Expand file tree Collapse file tree 8 files changed +8
-8
lines changed
Expand file tree Collapse file tree 8 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 312312</ td > </ tr > < tr > < td > < code class ="structname "> pg_stat_user_tables</ code > < a id ="id-1.6.14.9.7.8.2.2.13.1.2 " class ="indexterm "> </ a > </ td > < td >
313313ユーザテーブルのみが表示される点を除き、< code class ="structname "> pg_stat_all_tables</ code > と同じです。
314314</ td > </ tr > < tr > < td > < code class ="structname "> pg_stat_xact_all_tables</ code > < a id ="id-1.6.14.9.7.8.2.2.14.1.2 " class ="indexterm "> </ a > </ td > < td >
315- < code class ="structname "> pg_stat_all_tables</ code > と似ていますが、現在のトランザクションにて実施された処理結果をカウントします。( 数値が見える時点では、これらの数値は< code class ="structname "> pg_stat_all_tables</ code > と関連するビューに含まれて< span class ="emphasis "> < em > いません</ em > </ span > 。)
316- このビューでは、有効な行数、無効な行数、およびバキュームやアナライズの活動は表示しません 。
315+ < code class ="structname "> pg_stat_all_tables</ code > と似ていますが、現在のトランザクションにて実施された処理結果をカウントします( 数値が見える時点では、これらの数値は< code class ="structname "> pg_stat_all_tables</ code > と関連するビューに含まれて< span class ="emphasis "> < em > いません</ em > </ span > )。
316+ このビューでは、有効な行数、無効な行数、およびバキュームやアナライズの処理に関する列はありません 。
317317 </ td > </ tr > < tr > < td > < code class ="structname "> pg_stat_xact_sys_tables</ code > < a id ="id-1.6.14.9.7.8.2.2.15.1.2 " class ="indexterm "> </ a > </ td > < td >
318318システムテーブルのみが表示される点を除き、< code class ="structname "> pg_stat_xact_all_tables</ code > と同じです。
319319 </ td > </ tr > < tr > < td > < code class ="structname "> pg_stat_xact_user_tables</ code > < a id ="id-1.6.14.9.7.8.2.2.16.1.2 " class ="indexterm "> </ a > </ td > < td >
Original file line number Diff line number Diff line change 10251025 but additional types can appear
10261026 in the log that don't show in that view.
10271027</ span >
1028- バックエンドタイプは< a class ="link " href ="monitoring-stats.html#MONITORING-PG-STAT-ACTIVITY-VIEW " title ="27.2.3. pg_stat_activity "> < code class ="structname "> pg_stat_activity</ code > </ a > ビューの< code class ="structfield "> backend_type</ code > に関連します 。しかし、ビューにない他のタイプがログに現れることがあります。
1028+ バックエンドタイプは< a class ="link " href ="monitoring-stats.html#MONITORING-PG-STAT-ACTIVITY-VIEW " title ="27.2.3. pg_stat_activity "> < code class ="structname "> pg_stat_activity</ code > </ a > ビューの< code class ="structfield "> backend_type</ code > 列に関連します 。しかし、ビューにない他のタイプがログに現れることがあります。
10291029 </ p > < p >
10301030< span class ="original ">
10311031 The <literal>%c</literal> escape prints a quasi-unique session identifier,
Original file line number Diff line number Diff line change 191191 other tables in the <literal>USING</literal> clause. For example,
192192 to delete all films produced by a given producer, one can do:
193193</ span >
194- < span class ="productname "> PostgreSQL</ span > では、< code class ="literal "> USING</ code > 句で他のテーブルを指定することで、< code class ="literal "> WHERE</ code > 条件内で他のテーブルを参照することができます 。
194+ < span class ="productname "> PostgreSQL</ span > では、< code class ="literal "> USING</ code > 句で他のテーブルを指定することで、< code class ="literal "> WHERE</ code > 条件内で他のテーブルの列を参照できます 。
195195例えば、指定したプロデューサが製作した全ての映画を削除する時は、次のようなコマンドを実行します。
196196</ p > < pre class ="programlisting ">
197197DELETE FROM films USING producers
Original file line number Diff line number Diff line change 267267 column from its generation expression.
268268</ span >
269269対応する列にデフォルト値を設定します。
270- 識別列には関連付けられた列により新しく生成された値が書き込まれます 。
270+ 識別列には関連付けられたシーケンスにより新しく生成された値が書き込まれます 。
271271生成列に対して、これを指定することは許されていますが、単に生成式から列を計算するという普通の振る舞いを指定するだけです。
272272 </ p > </ dd > < dt > < span class ="term "> < em class ="replaceable "> < code > query</ code > </ em > </ span > </ dt > < dd > < p >
273273< span class ="original ">
Original file line number Diff line number Diff line change 24672467 ambiguities.
24682468</ span >
24692469< code class ="literal "> FROM</ code > 項目において標準および< span class ="productname "> PostgreSQL</ span > では、未予約のキーワードである別名の前の< code class ="literal "> AS</ code > を省略することができます。
2470- しかし、構文があいまいになるため、出力名では実践的ではありません 。
2470+ しかし、構文があいまいになるため、出力列名では実践的ではありません 。
24712471 </ p > </ div > < div class ="refsect2 " id ="id-1.9.3.172.12.6 "> < h3 > < code class ="literal "> FROM</ code > での副< code class ="command "> SELECT</ code > の別名の省略</ h3 > < span class ="original ">
24722472 <title>Omitting Sub-<command>SELECT</command> Aliases in <literal>FROM</literal></title>
24732473</ span > < p >
Original file line number Diff line number Diff line change 476476< span class ="original ">
477477 Let's try joining two tables, using the columns we have been discussing:
478478</ span >
479- 今まで説明に使ってきたフィールドを使って2つのテーブルを結合してみましょう 。
479+ 今まで説明に使ってきた列を使って2つのテーブルを結合してみましょう 。
480480
481481</ p > < pre class ="screen ">
482482EXPLAIN SELECT *
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ layout: default
77
88## 最新
99
10- last-updated: 2025-08-13 04:28 :21 JST
10+ last-updated: 2025-08-19 04:29 :21 JST
1111
1212### 最新 PostgreSQL
1313
You can’t perform that action at this time.
0 commit comments