Using Caché Objects - InterSystems Documentation
Using Caché Objects - InterSystems Documentation
Using Caché Objects - InterSystems Documentation
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
17<br />
Object Synchronization<br />
Object synchronization is a feature of <strong>Caché</strong> objects that allows “occasionally connected”<br />
systems to synchronize databases. By this process, each database updates its objects. Object<br />
synchronization offers complementary functionality to <strong>Caché</strong> system tools that provide high<br />
availability and shadowing. Object synchronization is not designed to provide support for<br />
real-time updates; rather, it is most useful for a system that needs updates at discrete intervals.<br />
For example, a typical object synchronization application would be in an environment where<br />
there is a master copy of a database on a central server and secondary copies on client<br />
machines. Consider the case of a sales database, where each sales representative has a copy<br />
of the database on a laptop computer. When Mary, a sales representative, is off site, she makes<br />
updates to her copy of the database. When she connects her machine to the network, the<br />
central and remote copies of the database are synchronized. This can occur hourly, daily, or<br />
at any interval.<br />
This chapter includes the following sections:<br />
• About Updates<br />
• Running an Update<br />
• Other Topics<br />
17.1 About Updates<br />
Object synchronization between two databases involves updating each of them with data<br />
from the other. However, <strong>Caché</strong> does not support bidirectional synchronization as such.<br />
<strong>Using</strong> <strong>Caché</strong> <strong>Objects</strong> 145