バージョンごとのドキュメント一覧

77.3. バックアップマニフェストのWAL範囲オブジェクト #

<title>Backup Manifest WAL Range Object</title>

The object which describes a WAL range always has three keys: WAL範囲を記述するこのオブジェクトは常に以下の3つのキーを持ちます。

Timeline

The timeline for this range of WAL records, as an integer. WALレコードのこの範囲に対するタイムラインです。整数として書かれます。

Start-LSN

The LSN at which replay must begin on the indicated timeline in order to make use of this backup. The LSN is stored in the format normally used by <productname>PostgreSQL</productname>; that is, it is a string consisting of two strings of hexadecimal characters, each with a length of between 1 and 8, separated by a slash. バックアップを使用するためにリプレイを開始しなければならない指定されたタイムライン上のLSNです。 このLSNはPostgreSQLで標準的に使われる書式で格納されます。すなわち、2つの16進数文字列で構成され、それぞれの長さが1から8で、スラッシュで区切られた文字列です。

End-LSN

The earliest LSN at which replay on the indicated timeline may end when making use of this backup. This is stored in the same format as <literal>Start-LSN</literal>. このバックアップを使うときにリプレイを終了してもよい、指定されたタイムライン上の最も早いLSNです。 これはStart-LSNと同じ書式で格納されます。

Ordinarily, there will be only a single WAL range. However, if a backup is taken from a standby which switches timelines during the backup due to an upstream promotion, it is possible for multiple ranges to be present, each with a different timeline. There will never be multiple WAL ranges present for the same timeline. 通常、単一のWAL範囲だけが存在します。 しかしながら、バックアップが、上流の昇格のためにバックアップ中にタイムラインを変更したスタンバイから取得された場合、それぞれ異なるタイムラインを持つ複数の範囲が存在する可能性があります。 同じタイムラインに対して複数のWAL範囲があらわれることは決してありません。