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
cc969825
Commit
cc969825
authored
Nov 17, 2006
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Data Partitioning documentation section reduced and moved to the end.
parent
42cfdfb4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
44 deletions
+22
-44
doc/src/sgml/failover.sgml
doc/src/sgml/failover.sgml
+22
-44
No files found.
doc/src/sgml/failover.sgml
View file @
cc969825
<!-- $PostgreSQL: pgsql/doc/src/sgml/failover.sgml,v 1.1
2 2006/11/17 09:00:03 neilc
Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/failover.sgml,v 1.1
3 2006/11/17 13:29:53 momjian
Exp $ -->
<chapter id="failover">
<chapter id="failover">
<title>Failover, Replication, Load Balancing, and Clustering Options</title>
<title>Failover, Replication, Load Balancing, and Clustering Options</title>
...
@@ -137,52 +137,14 @@
...
@@ -137,52 +137,14 @@
</varlistentry>
</varlistentry>
<varlistentry>
<varlistentry>
<term>Data Partitioning</term>
<term>Query Broadcasting</term>
<listitem>
<para>
Data partitioning splits tables into data sets. Each set can
be modified by only one server. For example, data can be
partitioned by offices, e.g. London and Paris. While London
and Paris servers have all data records, only London can modify
London records, and Paris can only modify Paris records. This
is similar to the "Master/Slave Replication" item above, except
that instead of having a read/write server and a read-only
server, each server has a read/write data set and a read-only
data set.
</para>
<para>
Such partitioning provides both failover and load balancing. Failover
is achieved because the data resides on both servers, and this is an
ideal way to enable failover if the servers share a slow communication
channel. Load balancing is possible because read requests can go to any
of the servers, and write requests are split among the servers. Of
course, the communication to keep all the servers up-to-date adds
overhead, so ideally the write load should be low, or localized as in
the London/Paris example above.
</para>
<para>
Data partitioning is usually handled by application code, though rules
and triggers can be used to keep the read-only data sets current. Slony-I
can also be used in such a setup. While Slony-I replicates only entire
tables, London and Paris can be placed in separate tables, and
inheritance can be used to access both tables using a single table name.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>Multi-Master Replication Using Query Broadcasting</term>
<listitem>
<listitem>
<para>
<para>
One way to do multi-master replication is by having a program
In query broadcasting, a program intercepts every SQL query
intercept every SQL query and send it to all servers. Each
and sends it to all servers. Each server operates independently.
server operates independently. Read-only queries can be sent
Read-only queries can be sent to a single server because there
to a single server because there is no need for all servers to
is no need for all servers to process it.
process it.
</para>
</para>
<para>
<para>
...
@@ -235,6 +197,22 @@
...
@@ -235,6 +197,22 @@
</listitem>
</listitem>
</varlistentry>
</varlistentry>
<varlistentry>
<term>Data Partitioning</term>
<listitem>
<para>
Data partitioning splits tables into data sets. Each set can
be modified by only one server. For example, data can be
partitioned by offices, e.g. London and Paris, with a server
in each office. If queries combining London and Paris data
are necessary, an application can query both servers, or
master/slave replication can be used to keep a read-only copy
of the other office's data on each server.
</para>
</listitem>
</varlistentry>
<varlistentry>
<varlistentry>
<term>Clustering For Parallel Query Execution</term>
<term>Clustering For Parallel Query Execution</term>
<listitem>
<listitem>
...
...
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