Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
e76b4e0d
Commit
e76b4e0d
authored
14 years ago
by
Heikki Linnakangas
Browse files
Options
Downloads
Patches
Plain Diff
Adjust paragraph about monitoring streaming replication, now that we have
standby_keep_segments.
parent
e57cd7f0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/src/sgml/high-availability.sgml
+4
-8
4 additions, 8 deletions
doc/src/sgml/high-availability.sgml
with
4 additions
and
8 deletions
doc/src/sgml/high-availability.sgml
+
4
−
8
View file @
e76b4e0d
<!-- $PostgreSQL: pgsql/doc/src/sgml/high-availability.sgml,v 1.
59
2010/04/12
09:52:29
heikki Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/high-availability.sgml,v 1.
60
2010/04/12
10:01:04
heikki Exp $ -->
<chapter id="high-availability">
<chapter id="high-availability">
<title>High Availability, Load Balancing, and Replication</title>
<title>High Availability, Load Balancing, and Replication</title>
...
@@ -827,13 +827,9 @@ primary_conninfo = 'host=192.168.1.50 port=5432 user=foo password=foopass'
...
@@ -827,13 +827,9 @@ primary_conninfo = 'host=192.168.1.50 port=5432 user=foo password=foopass'
<sect3 id="streaming-replication-monitoring">
<sect3 id="streaming-replication-monitoring">
<title>Monitoring</title>
<title>Monitoring</title>
<para>
<para>
The WAL files required for the standby's recovery are not deleted from
An important health indicator of streaming replication is the amount
the <filename>pg_xlog</> directory on the primary while the standby is
of WAL records generated in the primary, but not yet applied in the
connected. If the standby lags far behind the primary, many WAL files
standby. You can calculate this lag by comparing the current WAL write
will accumulate in there, and can fill up the disk. It is therefore
important to monitor the lag to ensure the health of the standby and
to avoid disk full situations in the primary.
You can calculate the lag by comparing the current WAL write
location on the primary with the last WAL location received by the
location on the primary with the last WAL location received by the
standby. They can be retrieved using
standby. They can be retrieved using
<function>pg_current_xlog_location</> on the primary and the
<function>pg_current_xlog_location</> on the primary and the
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment