File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change 380380 </listitem>
381381 </varlistentry>
382382
383+ <varlistentry>
384+ <term><acronym>LSN</acronym></term>
385+ <listitem>
386+ <para>
387+ Log Sequence Number, see <link linkend="datatype-pg-lsn"><type>pg_lsn</></link>
388+ and <link linkend="wal-internals">WAL Internals</link>.
389+ </para>
390+ </listitem>
391+ </varlistentry>
392+
383393 <varlistentry>
384394 <term><acronym>MSVC</acronym></term>
385395 <listitem>
Original file line number Diff line number Diff line change 724724 <sect1 id="wal-internals">
725725 <title>WAL Internals</title>
726726
727+ <indexterm zone="wal-internals">
728+ <primary>LSN</primary>
729+ </indexterm>
730+
727731 <para>
728732 <acronym>WAL</acronym> is automatically enabled; no action is
729733 required from the administrator except ensuring that the
732736 linkend="wal-configuration">).
733737 </para>
734738
739+ <para>
740+ <acronym>WAL</acronym> records are appended to the <acronym>WAL</acronym>
741+ logs as each new record is written. The insert position is described by
742+ a Log Sequence Number (<acronym>LSN</acronym>) that is a byte offset into
743+ the logs, increasing monotonically with each new record.
744+ <acronym>LSN</acronym> values are returned as the datatype
745+ <link linkend="datatype-pg-lsn"><type>pg_lsn</></link>. Values can be
746+ compared to calculate the volume of <acronym>WAL</acronym> data that
747+ separates them, so they are used to measure the progress of replication
748+ and recovery.
749+ </para>
750+
735751 <para>
736752 <acronym>WAL</acronym> logs are stored in the directory
737753 <filename>pg_xlog</filename> under the data directory, as a set of
You can’t perform that action at this time.
0 commit comments