Versions Compared

Key

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

The mine processes imposes a certain load on the source database when parsing the redo logs (CPU and memory). This maybe around 5% and may not be desirable in certain environments. This is when the Fetcher process is very useful. It runs on the source database, reading the redo logs and sending them to mine process, which is running on a different machine.
The only operations the fetcher process does are:

  • queries the source database for the location of the redo logs.
  • repeatedly queries the database to find out when the current log is switched.
  • in case of ASM files, connects to ASM instance and reads the logs using internal PL/SQL API.
  • in case of filesystem files, reads the files from disk using standard system I/O.
  • connects to mine over the network and transfers the redo log files to the mine process.
  • listens for user commands.

All of the resource-consuming work of parsing the redo logs, writing the plogs and sending them to apply is done by the mine process.
The fetcher process is optional and is not needed when the mine runs on the primary server. In that case, the database querying and file reading is done directly by mine.

In Oracle to MSSQL SQL Server replication,If source Oracle database is running on Linux then setup wizard is executed on target Windows machine where MSSQL SQL Server database is running. 

Setup Wizard Example

This example show an Oracle-to-MSSQL SQL Server one-way replication using the following information.

...

During this step the source and target databases are set for each replication pair. In Oracle to MSSQL SQL Server replication, Only Oracle database can ne source. 

...

Note

Rename SCHEMA name for avi.sample (empty means no rename): [] w420g.dbo
Here, w420g is the target MSSQL SQL Server database name and dbo is schema. Please use <targetDB>.<schema> format in "Rename Schema"

...

Note

Apply.sql file contains script for creating tables in MSSQLSQL Server. Copy that script and execute in MSSQLSQL Server. It will create tables in MSSQLSQL Server, you can later load initial data from oracle to MSSQLSQL Server. If you already have source and target database with identical data then you can ignore this step. You can still crosscheck MSSQL SQL Server columns datatype from this script as APPLY.sql is generated by Dbvisit Replicate, It contains perfect datatype matching from oracle to MSSQLSQL Server.

Note

Executing reptest2-all.bat script creates dbvrep database in MSSQL SQL Server to store metadata of replication. Set correct snapshot isolation for dbvrep. Click here for more info.

...