Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update pg_waldump for 16.0 #2786

Merged
merged 2 commits into from
Dec 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 43 additions & 20 deletions doc/src/sgml/ref/pg_waldump.sgml
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,8 @@ PostgreSQL documentation
Start reading at the specified WAL segment file. This implicitly determines
the path in which files will be searched for, and the timeline to use.
-->
《マッチ度[]》指定したログセグメントファイルから読み取りを開始します
指定したWALセグメントファイルから読み取りを開始します
これは暗黙的に検索されるファイルのパスや使用するタイムラインを決定します。
《機械翻訳》指定されたWALセグメントファイルから読み取りを開始します。
これは暗黙的にファイルを検索するパスと使用するタイムラインを決定します。
</para>
</listitem>
</varlistentry>
Expand All @@ -94,8 +92,7 @@ PostgreSQL documentation
<!--
Stop after reading the specified WAL segment file.
-->
《マッチ度[78.000000]》指定したログセグメントファイルを読み取り後終了します。
《機械翻訳》指定されたWALセグメントファイルを読み込んだ後に停止します。
指定したWALセグメントファイルを読み取り後終了します。
</para>
</listitem>
</varlistentry>
Expand Down Expand Up @@ -201,10 +198,8 @@ PostgreSQL documentation
current directory, and the <literal>pg_wal</literal> subdirectory
of <envar>PGDATA</envar>.
-->
《マッチ度[84.384384]》ログセグメントファイルを見つけ出すディレクトリ、あるいはログセグメントファイルが含まれる<literal>pg_wal</literal>サブディレクトリが含まれるディレクトリを指定します。
WALセグメントファイルを見つけ出すディレクトリ、あるいはWALセグメントファイルが含まれる<literal>pg_wal</literal>サブディレクトリが含まれるディレクトリを指定します。
デフォルトではカレントディレクトリ、カレントディレクトリ内の<literal>pg_wal</literal>サブディレクトリ、<envar>PGDATA</envar>の<literal>pg_wal</literal>サブディレクトリから検索されます。
《機械翻訳》WALディレクトリファイルの検索へのセグメント、または、そのようなファイルを包含する<literal>pg_wal</literal>サブディレクトリを持つディレクトリを指定します。
デフォルトはカレントディレクトリの検索、カレントディレクトリの<literal>pg_wal</literal>サブディレクトリ、および<envar>PGDATA</envar>の<literal>pg_wal</literal>サブディレクトリです。
</para>
</listitem>
</varlistentry>
Expand Down Expand Up @@ -284,10 +279,8 @@ PostgreSQL documentation
WAL location at which to start reading. The default is to start reading
the first valid WAL record found in the earliest file found.
-->
《マッチ度[85.606061]》読み取りを始めるWAL位置です。
デフォルトでは、最も過去のファイルの中で見つかった最初の有効なログレコードから読み取りを始めます。
《機械翻訳》スタートの読み込み先のWALの場所。
デフォルトは、最初に見つかったスタートの中で最初に見つかった有効なWALレコードを読み込むファイルです。
読み取りを始めるWAL位置です。
デフォルトでは、最初に見つかったファイルの中で最初に見つかったWALレコードから読み取りを始めます。
</para>
</listitem>
</varlistentry>
Expand All @@ -303,13 +296,10 @@ PostgreSQL documentation
default is 1. The value can be specified in decimal or hexadecimal,
for example <literal>17</literal> or <literal>0x11</literal>.
-->
《マッチ度[53.046595]》ログレコードの読み取り先のタイムラインです
WALレコードの読み取り先のタイムラインです
デフォルトでは、<replaceable>startseg</replaceable>が指定されている場合は<replaceable>startseg</replaceable>内の値が使用されます。
指定がない場合のデフォルトは1です。
《機械翻訳》WALレコードの読み込み元となるタイムライン。
デフォルトは、<replaceable>startseg</replaceable>が指定されている場合はその値を使用します。
指定されていない場合、デフォルトは1です。
10進数<literal>17</literal>または<literal>0x11</literal>の場合、値は例または16進数で指定できます。
値は10進数または16進数で指定できます。例えば<literal>17</literal>や<literal>0x11</literal>です。
</para>
</listitem>
</varlistentry>
Expand Down Expand Up @@ -392,67 +382,100 @@ PostgreSQL documentation
are subject to the same filtering and limiting criteria as the
records displayed.
-->
《機械翻訳》WALレコードで見つかったフルページイメージを<replaceable>save_パス</replaceable>ディレクトリに保存します。
保存されたイメージは、表示されたレコードと同じサブジェクトおよび制限条件のフィルタリングです
WALレコードで見つかったページ全体のイメージを<replaceable>save_path</replaceable>ディレクトリに保存します。
保存されたイメージは、表示されたレコードと同じフィルタおよび制限条件に従います
</para>
<para>
<!--
The full page images are saved with the following file name format:
<literal><replaceable>TIMELINE</replaceable>-<replaceable>LSN</replaceable>.<replaceable>RELTABLESPACE</replaceable>.<replaceable>DATOID</replaceable>.<replaceable>RELNODE</replaceable>.<replaceable>BLKNO</replaceable><replaceable>FORK</replaceable></literal>
-->
ページ全体のイメージは、次のファイル名形式で保存されます。
<literal><replaceable>TIMELINE</replaceable>-<replaceable>LSN</replaceable>.<replaceable>RELTABLESPACE</replaceable>.<replaceable>DATOID</replaceable>.<replaceable>RELNODE</replaceable>.<replaceable>BLKNO</replaceable><replaceable>FORK</replaceable></literal>

<!--
The file names are composed of the following parts:
-->
《機械翻訳》完全なページイメージは、次のファイル名形式で保存されます。<literal><replaceable>TIMELINE</replaceable>-<replaceable>LSN</replaceable>.<replaceable>RELTABLESPACE</replaceable>.<replaceable>DATOID</replaceable>.<replaceable>RELNODE</replaceable>.<replaceable>BLKNO</replaceable><replaceable>FORK</replaceable></literal> ファイル名は、次の部分で構成されます。
ファイル名は、次の部分で構成されます。
<informaltable>
<tgroup cols="2">
<thead>
<row>
<!--
<entry>Component</entry>
<entry>Description</entry>
-->
<entry>構成要素</entry>
<entry>説明</entry>
</row>
</thead>

<tbody>
<row>
<entry>TIMELINE</entry>
<!--
<entry>The timeline of the WAL segment file where the record
is located formatted as one 8-character hexadecimal number
<literal>%08X</literal></entry>
-->
<entry>
8文字の16進数1つ<literal>%08X</literal>で表された、そのレコードがあるWALセグメントファイルのタイムライン
</entry>
</row>

<row>
<entry>LSN</entry>
<!--
<entry>The <acronym>LSN</acronym> of the record with this image,
formatted as two 8-character hexadecimal numbers
<literal>%08X-%08X</literal></entry>
-->
<entry>
8文字の16進数2つ<literal>%08X-%08X</literal>で表された、このイメージのレコードの<acronym>LSN</acronym>
</entry>
</row>

<row>
<entry>RELTABLESPACE</entry>
<!--
<entry>tablespace OID of the block</entry>
-->
<entry>ブロックのテーブル空間OID</entry>
</row>

<row>
<entry>DATOID</entry>
<!--
<entry>database OID of the block</entry>
-->
<entry>ブロックのデータベースOID</entry>
</row>

<row>
<entry>RELNODE</entry>
<!--
<entry>filenode of the block</entry>
-->
<entry>ブロックのファイルノード</entry>
</row>

<row>
<entry>BLKNO</entry>
<!---
<entry>block number of the block</entry>
-->
<entry>ブロックのブロック番号</entry>
</row>

<row>
<entry>FORK</entry>
<entry>
<!--
The name of the fork the full page image came from, such as
<literal>_main</literal>, <literal>_fsm</literal>,
<literal>_vm</literal>, or <literal>_init</literal>.
-->
<literal>_main</literal>、<literal>_fsm</literal>、<literal>_vm</literal>、<literal>_init</literal>のような、ページ全体のイメージの由来するフォークの名前
</entry>
</row>
</tbody>
Expand Down