IMDB Replication - Sybase
IMDB Replication - Sybase
IMDB Replication - Sybase
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Multiple primary <strong>IMDB</strong>s/RDDBs with a shared template<br />
In the previous section, the situation described was that of a single primary <strong>IMDB</strong>/RDDB with its own<br />
template database.<br />
However, it may well be desired to have multiple identical primary <strong>IMDB</strong>s/RDDBs with identical schemas<br />
in an ASE server, for example in scale-out scenarios where an incoming workload is spread over multiple<br />
<strong>IMDB</strong> databases. While it is certainly possible to create a separate template database for each such<br />
primary <strong>IMDB</strong>/RDDB, it may be more convenient to use a single template database for multiple<br />
identical primary <strong>IMDB</strong>s/RDDBs.<br />
10<br />
ASE in-memory<br />
databases<br />
RepAgents<br />
replicated<br />
transactions<br />
from <strong>IMDB</strong>s<br />
<strong>Replication</strong><br />
Server<br />
T-SQL queries<br />
replicated transactions<br />
from <strong>IMDB</strong>s<br />
Multiple replicated primary <strong>IMDB</strong>s with a single template database<br />
For setting up multiple identical primary <strong>IMDB</strong>s/RDDBs with the same template database, follow the<br />
setup steps below (see page 21 for a full code example). Note that this requires that all <strong>IMDB</strong>s/RDDBs<br />
connect to the same <strong>Replication</strong> Server.<br />
1. First create the template database and the first primary <strong>IMDB</strong>/RDDB as described on page 6.<br />
For each additional <strong>IMDB</strong>/RDDB that must also be a replicated primary database based on the existing<br />
template database, follow these steps:<br />
Using <strong>Replication</strong> with <strong>Sybase</strong> ASE In-Memory Databases<br />
Version 1.1 - June 2012<br />
template<br />
database<br />
with<br />
RepAgent<br />
config etc.