Download Guide to Informix Enterprise Replication, Version 7.3

Transcript
Workload Partitioning
Workload Partitioning
Workload partitioning gives businesses the flexibility to assign data
ownership at the table-partition level, rather than within an application.
Figure 4-3 illustrates workload partitioning.
Asia-Pacific
U.S.A.
Database
server
Database
server
Database
server
A-P Partition
A-P Partition
A-P Partition
emp#
2994
4402
empname
N. Night
R. River
U.S.A. Partition
emp#
6398
9456
empname
D. Davis
E. Eldridge
Europe Partition
emp#
6520
3798
empname
P. Peters
G. Gladys
emp#
5783
1235
empname
A. Alder
M. Markar
U.S.A. Partition
emp#
9631
4951
empname
J. Jones
H. Height
Europe Partition
emp#
8002
9966
Owner of partition (Read/write)
empname
F. Fire
S. Smith
Europe
emp#
5761
6642
Figure 4-3
Workload
Partitioning in a
Primary-Target
Replication System
empname
B. Barry
Z. Zachary
U.S.A. Partition
emp#
3622
7333
empname
C. Cowpar
K. Kristen
Europe Partition
emp#
3711
5540
empname
L. Lane
T. Thomas
Read-only privileges
In Figure 4-3, the replication model matches the partition model for the
employee tables. The Asia-Pacific computer owns the partition and can
therefore update, insert, and delete employee records for personnel in its
region. The changes are then propagated to the U.S. and European regions.
Asia-Pacific can query or read the other partitions locally but cannot update
those partitions locally. This strategy applies to other regions as well.
4-6
Guide to Informix Enterprise Replication