Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit479ee1b

Browse files
Centralise release note items related to recovery and replication
1 parent35d2a66 commit479ee1b

File tree

1 file changed

+104
-79
lines changed

1 file changed

+104
-79
lines changed

‎doc/src/sgml/release-9.1.sgml

Lines changed: 104 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -526,32 +526,6 @@
526526
</para>
527527
</listitem>
528528

529-
<listitem>
530-
<para>
531-
Add the <link
532-
linkend="monitoring-stats-views-table"><structname>pg_stat_database_conflicts</></link>
533-
system view to show queries that have been canceled and the
534-
reason (Magnus Hagander)
535-
</para>
536-
537-
<para>
538-
Cancelations can occur because of dropped tablespaces, lock
539-
timeouts, old snapshots, pinned buffers, and deadlocks.
540-
</para>
541-
</listitem>
542-
543-
<listitem>
544-
<para>
545-
Add a <literal>conflicts</> count to <link
546-
linkend="monitoring-stats-views-table"><structname>pg_stat_database</></link>
547-
(Magnus Hagander)
548-
</para>
549-
550-
<para>
551-
This is the number of conflicts that occurred in the database.
552-
</para>
553-
</listitem>
554-
555529
<listitem>
556530
<para>
557531
Add record of last reset in database and background writer-level
@@ -603,26 +577,10 @@
603577
</para>
604578
</listitem>
605579

606-
<listitem>
607-
<para>
608-
Add <link
609-
linkend="guc-restart-after-crash"><varname>restart_after_crash</></link>
610-
which disables server restart after a backend crash (Robert
611-
Haas)
612-
</para>
613-
614-
<para>
615-
This is designed for cluster managers that want to control
616-
restarts.
617-
</para>
618-
</listitem>
619-
620580
<listitem>
621581
<para>
622582
Increase the maximum values for
623583
<link linkend="guc-deadlock-timeout"><varname>deadlock_timeout</varname></link>,
624-
<link linkend="guc-max-standby-archive-delay"><varname>max_standby_archive_delay</varname></link>,
625-
<link linkend="guc-max-standby-streaming-delay"><varname>max_standby_streaming_delay</varname></link>,
626584
<link linkend="guc-log-min-duration-statement"><varname>log_min_duration_statement</varname></link>, and
627585
<link linkend="guc-log-autovacuum-min-duration"><varname>log_autovacuum_min_duration</varname></link>.
628586
</para>
@@ -640,6 +598,9 @@
640598
</sect3>
641599

642600
<sect3>
601+
<title>Replication and Recovery</title>
602+
603+
<sect4>
643604
<title>Streaming Replication and Continuous Archiving</title>
644605

645606
<itemizedlist>
@@ -665,20 +626,7 @@
665626

666627
<listitem>
667628
<para>
668-
Add variable <link
669-
linkend="guc-hot-standby-feedback"><varname>hot_standby_feedback</></link>
670-
to enable standbys to postpone cleanup of old row versions on the
671-
primary (Simon Riggs)
672-
</para>
673-
674-
<para>
675-
This helps avoid cancelling long-running queries on the standby.
676-
</para>
677-
</listitem>
678-
679-
<listitem>
680-
<para>
681-
Add support for sending file system backups to standbys using
629+
Add protocol support for sending file system backups to standbys using
682630
the streaming replication network connection (Magnus Hagander,
683631
Heikki Linnakangas)
684632
</para>
@@ -727,8 +675,10 @@
727675

728676
</itemizedlist>
729677

678+
</sect4>
679+
730680
<sect4>
731-
<title>Monitoring</title>
681+
<title>ReplicationMonitoring</title>
732682

733683
<itemizedlist>
734684

@@ -762,6 +712,80 @@
762712

763713
</sect4>
764714

715+
<sect4>
716+
<title>Hot Standby</title>
717+
718+
<itemizedlist>
719+
720+
<listitem>
721+
<para>
722+
Add variable <link
723+
linkend="guc-hot-standby-feedback"><varname>hot_standby_feedback</></link>
724+
to enable standbys to postpone cleanup of old row versions on the
725+
primary (Simon Riggs)
726+
</para>
727+
728+
<para>
729+
This helps avoid cancelling long-running queries on the standby.
730+
</para>
731+
</listitem>
732+
733+
<listitem>
734+
<para>
735+
Add the <link
736+
linkend="monitoring-stats-views-table"><structname>pg_stat_database_conflicts</></link>
737+
system view to show queries that have been canceled and the
738+
reason (Magnus Hagander)
739+
</para>
740+
741+
<para>
742+
Cancelations can occur because of dropped tablespaces, lock
743+
timeouts, old snapshots, pinned buffers, and deadlocks.
744+
</para>
745+
</listitem>
746+
747+
<listitem>
748+
<para>
749+
Add a <literal>conflicts</> count to <link
750+
linkend="monitoring-stats-views-table"><structname>pg_stat_database</></link>
751+
(Magnus Hagander)
752+
</para>
753+
754+
<para>
755+
This is the number of conflicts that occurred in the database.
756+
</para>
757+
</listitem>
758+
759+
<listitem>
760+
<para>
761+
Increase the maximum values for
762+
<link linkend="guc-max-standby-archive-delay"><varname>max_standby_archive_delay</varname></link> and
763+
<link linkend="guc-max-standby-streaming-delay"><varname>max_standby_streaming_delay</varname></link>.
764+
</para>
765+
766+
<para>
767+
The maximum value for each of these parameters was previously
768+
only about 35 minutes. Much larger values are now allowed.
769+
</para>
770+
</listitem>
771+
772+
<listitem>
773+
<para>
774+
Add <link
775+
linkend="errcodes-table"><literal>ERRCODE_T_R_DATABASE_DROPPED</></link>
776+
error code to report recovery conflicts due to dropped databases
777+
(Tatsuo Ishii)
778+
</para>
779+
780+
<para>
781+
This is useful for connection pooling software.
782+
</para>
783+
</listitem>
784+
785+
</itemizedlist>
786+
787+
</sect4>
788+
765789
<sect4>
766790
<title>Recovery Control</title>
767791

@@ -783,6 +807,19 @@
783807
</para>
784808
</listitem>
785809

810+
<listitem>
811+
<para>
812+
Add <filename>recovery.conf</> setting <link
813+
linkend="pause-at-recovery-target"><varname>pause_at_recovery_target</></link>
814+
to pause recovery at target (Simon Riggs)
815+
</para>
816+
817+
<para>
818+
This allows a recovery server to be queried to check if the
819+
recovery point is the one desired.
820+
</para>
821+
</listitem>
822+
786823
<listitem>
787824
<para>
788825
Add the ability to create named restore points using <link
@@ -799,26 +836,27 @@
799836

800837
<listitem>
801838
<para>
802-
Add <filename>recovery.conf</> setting <link
803-
linkend="pause-at-recovery-target"><varname>pause_at_recovery_target</></link>
804-
to pause recovery at target (Simon Riggs)
839+
Allow standby recovery to switch to a new timeline automatically
840+
(Heikki Linnakangas)
805841
</para>
806842

807843
<para>
808-
This allows a recovery server to be queried to check if the
809-
recovery point is the one desired.
844+
Now standby servers scan the archive directory for new
845+
timelines periodically.
810846
</para>
811847
</listitem>
812848

813849
<listitem>
814850
<para>
815-
Allow standby recovery to switch to a new timeline automatically
816-
(Heikki Linnakangas)
851+
Add <link
852+
linkend="guc-restart-after-crash"><varname>restart_after_crash</></link>
853+
which disables server restart after a backend crash (Robert
854+
Haas)
817855
</para>
818856

819857
<para>
820-
Now standby servers scan the archive directory for new
821-
timelines periodically.
858+
This allows external cluster management software to take control
859+
of whether servers restart or not.
822860
</para>
823861
</listitem>
824862

@@ -1559,19 +1597,6 @@
15591597
</para>
15601598
</listitem>
15611599

1562-
<listitem>
1563-
<para>
1564-
Add <link
1565-
linkend="errcodes-table"><literal>ERRCODE_T_R_DATABASE_DROPPED</></link>
1566-
error code to report recovery conflicts due to dropped databases
1567-
(Tatsuo Ishii)
1568-
</para>
1569-
1570-
<para>
1571-
This is useful for connection pooling software.
1572-
</para>
1573-
</listitem>
1574-
15751600
</itemizedlist>
15761601

15771602
</sect4>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp