Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
81c48aea
Commit
81c48aea
authored
Jan 26, 2011
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restructure streaming docs so streaming seems more integrated in the
paragraphs, per suggestion from Dan Birken.
parent
7ab6f2da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
doc/src/sgml/high-availability.sgml
doc/src/sgml/high-availability.sgml
+8
-7
No files found.
doc/src/sgml/high-availability.sgml
View file @
81c48aea
...
@@ -486,18 +486,19 @@ protocol to make nodes agree on a serializable transactional order.
...
@@ -486,18 +486,19 @@ protocol to make nodes agree on a serializable transactional order.
<para>
<para>
Directly moving WAL records from one database server to another
Directly moving WAL records from one database server to another
is typically described as log shipping. <productname>PostgreSQL</>
is typically described as log shipping. <productname>PostgreSQL</>
implements file-based log shipping
, which means that WAL records are
implements file-based log shipping
by transfering WAL records
transferred
one file (WAL segment) at a time. WAL files (16MB) can be
one file (WAL segment) at a time. WAL files (16MB) can be
shipped easily and cheaply over any distance, whether it be to an
shipped easily and cheaply over any distance, whether it be to an
adjacent system, another system at the same site, or another system on
adjacent system, another system at the same site, or another system on
the far side of the globe. The bandwidth required for this technique
the far side of the globe. The bandwidth required for this technique
varies according to the transaction rate of the primary server.
varies according to the transaction rate of the primary server.
Record-based log shipping is also possible with streaming replication
Record-based log shipping is more granular and streams WAL changes
(see <xref linkend="streaming-replication">).
incrementally over a network connection (see <xref
linkend="streaming-replication">).
</para>
</para>
<para>
<para>
It should be noted that
the
log shipping is asynchronous, i.e., the WAL
It should be noted that log shipping is asynchronous, i.e., the WAL
records are shipped after transaction commit. As a result, there is a
records are shipped after transaction commit. As a result, there is a
window for data loss should the primary server suffer a catastrophic
window for data loss should the primary server suffer a catastrophic
failure; transactions not yet shipped will be lost. The size of the
failure; transactions not yet shipped will be lost. The size of the
...
@@ -505,8 +506,8 @@ protocol to make nodes agree on a serializable transactional order.
...
@@ -505,8 +506,8 @@ protocol to make nodes agree on a serializable transactional order.
<varname>archive_timeout</varname> parameter, which can be set as low
<varname>archive_timeout</varname> parameter, which can be set as low
as a few seconds. However such a low setting will
as a few seconds. However such a low setting will
substantially increase the bandwidth required for file shipping.
substantially increase the bandwidth required for file shipping.
If you need a window of less than a minute or so, consider using
Streaming replication (see <xref linkend="streaming-replication">)
streaming replication (see <xref linkend="streaming-replication">)
.
allows a much smaller window of data loss
.
</para>
</para>
<para>
<para>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment