Top

Chapter 13. Data Replication, Synchronization and Transformation Services

Abstract

This chapter describes how to replicate data between Virtuoso and non-Virtuoso servers.

The material in this chapter covers the programmatic means of performing these operations. You can also use the graphical interface to do replication and synchronization. This is covered in the Replication & Synchronization section of the Visual Server Administration Interface chapter.

13.1. Introduction

Virtuoso provides several replication methods:

13.1.1. Snapshot replication

Virtuoso provides the following flavors of snapshot replication:

Non-incremental snapshot replicationNon-incremental snapshot replication is useful when the data is changed infrequently or when data is modified in large portions at a time.
Incremental snapshot replication Incremental snapshot replication is useful when the data is changed frequently and implements incremental updates using a snapshot log.
Bi-directional snapshot replication Bi-directional snapshot replication allows data to be modified on both publisher and subscribers. This is useful read-write access to the replicas is needed.
[Note] Note:

Snapshot replication can be used in heterogeneous environments to set up replication between non-Virtuoso databases.

13.1.2. Transactional replication

Transactional replication allows subscribers to receive data in near-real time. ACID properties of transactions are maintained in transactional replication as well. Virtuoso implements the following flavors of transactional replication:

Ordinary transactional replicationOrdinary transactional replication flavor implements one-way data replication and is useful when data can be modified on only one server with other servers participating in replication providing read-only data access.
Bi-directional transactional replication Bi-directional transactional replication is useful when there is a requirement to allow data updates on multiple servers.