Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

database design question with Partition and Replication

$
0
0

I have a main database that run on a server with good resources and let say a dozens of satellites that replicate data. Satellites have less resources than main server.

In that database there is a BIG table, that I want partitioned in range because in fact each satellite care about his own specific range.

PARTITION BY RANGE( ID ) (
    PARTITION p0 VALUES LESS THAN (1000000),
    PARTITION p1 VALUES LESS THAN (2000000),
    PARTITION p2 VALUES LESS THAN (3000000),
    PARTITION p3 VALUES LESS THAN (4000000),
    PARTITION p4 VALUES LESS THAN ...
);

Let say satellite 1 care about table ID that start with 1, satellite 2 care about ID that start with 2 and so on. (all ID are number in million).

Is it possible to replicate on each satellite only data that are relevant to the satellite. I mean I don't want p2 and p3 on satellite 1, only p1 is relevant for satellite 1. But I don't know how to say to replication engine that I want only such a part of the data.

is it only possible to replicate only one partition of the partition scheme ?

thank you for your indications or comments.


Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>