Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In all replications, the source database must be an Oracle database. Therefore, two-way replication with MS SQL with SQL Server is not supported. ODBC connection is used to connect to MS SQL, thus two to SQL Server, therefore System DSN (Data Source Name) with the same name must be set up created by the system administrator on both source and target systems.

If both source and target databases are running on Windows platform then System DSN (Data Source Name) with the same name are required on source and target machine. But if source is Linux then System DSN is only required on Windows target machine. 

Note
  • Navicat Premium can be used to load data from oracle to SQL Server in order to sync source and target environment before initiating replication.
  • Currently, no DDL replication is supported for
MS
  • Oracle to SQL

Using the correct Snapshot Isolation

Snapshot isolation must be enabled by setting the ALLOW_SNAPSHOT_ISOLATION ON database option before it is used in transactions. You must enable snapshot isolation in each database that uses it with the Transact-SQL ALTER DATABASE statement. In this respect, snapshot isolation differs from the traditional isolation levels of READ COMMITTED, REPEATABLE READ, SERIALIZABLE, and READ UNCOMMITTED, which require no configuration. The following statements activate snapshot isolation and replace the default READ COMMITTED behavior with SNAPSHOT:

Section
Column
width5%

 

Column
width95%
Panel
bgColorCCC
ALTER DATABASE MyDatabase
SET ALLOW_SNAPSHOT_ISOLATION ON
ALTER DATABASE MyDatabase
SET READ_COMMITTED_SNAPSHOT ON

To check what the current snapshot isolation level, run the following SQL:

If the query returns 0 then it is turned off.

Section
Column
width5%

 

Column
width95%
Panel
bgColorCCC
select name, snapshot_isolation_state_desc, is_read_committed_snapshot_on from sys.databases

 

...

  • Server Replication.
  • Timestamp datatype of Oracle is not supported for Oracle to SQL Server Replication.
Note
titleMS SQL Server specific

Name of the target tables has to contain three parts: DATABASE, SCHEMA, TABLENAME

Questions in the wizard, step 1, database type SQL Server:

Enter the schema the table are created by the user specified: [SCHEMA]

Enter the database with the user data: [DATABASE]