Table of Contents

Search

  1. Preface
  2. Data Replication Overview
  3. Understanding Data Replication
  4. Sources - Preparation and Replication Considerations
  5. Targets - Preparation and Replication Considerations
  6. Starting the Server Manager
  7. Getting Started with the Data Replication Console
  8. Defining and Managing Server Manager Main Servers and Subservers
  9. Creating and Managing User Accounts
  10. Creating and Managing Connections
  11. Creating Replication Configurations
  12. Materializing Targets with InitialSync
  13. Scheduling and Running Replication Tasks
  14. Implementing Advanced Replication Topologies
  15. Monitoring Data Replication
  16. Managing Replication Configurations
  17. Handling Replication Environment Changes and Failures
  18. Troubleshooting
  19. Data Replication Files and Subdirectories
  20. Data Replication Runtime Parameters
  21. Command Line Parameters for Data Replication Components
  22. Updating Configurations in the Replication Configuration CLI
  23. DDL Statements for Manually Creating Recovery Tables
  24. Sample Scripts for Enabling or Disabling SQL Server Change Data Capture
  25. Glossary

Command Line Parameters for InitialSync

Command Line Parameters for InitialSync

You can start the InitialSync executable or script from the command line with the following optional parameters:
CLEAN_SQLITEREP= {y|
n
}
Removes repository information about previous revisions to the current configuration file from the revision control system. Options are:
  • y
    . Remove the repository information.
  • n
    . Do not remove the repository information.
Default value:
n
CONFIG=
path/configuration_SQLite_database_file
Specifies the path and file name of a configuration SQLite database file for a replication configuration.
Default value:
No default
CONN_ID=
target_connection_ID
Specifies the connection ID of the connection to the target database that is specified in the replication configuration.
Default value:
No default
DBLINK={
y
|n}
For Oracle-to-Oracle replication only, indicates whether Data Replication can use dblinks to perform initial synchronization. The use of dblinks can improve performance. Options are:
  • y
    . Enables Data Replication to use dblinks.
  • n
    . Prevents Data Replication from using dblinks.
Default value:
y
DEST_TABLES=
table1,table2,…
DEST_TABLES=
table_mask
Lists the target tables to resynchronize. If you set the
RESYNC
parameter to
n
, use this parameter to selectively resynchronize the target tables.
You can include the question mark (?) and asterisk (*) wildcards to define a mask for the tables to select for resynchronization.
Default value:
By default, InitialSync includes all tables that require resynchronization.
DIRECT={y|n}
Indicates whether InitialSync uses a native database load utility or the appropriate ODBC driver to load data to the target. Options are:
  • y
    . Use a native database load utility to load data to the target, if a load utility is available for the target type.
  • n
    . Use the appropriate ODBC driver or the Oracle Call Interface (OCI) library to load data to the target. InitialSync does not support the use of ODBC drivers for loading
    Vertica and
    Netezza targets.
Default value:
n for Oracle targets, y for other targets
EXCLUDE_DEST_ TABLES=
table1, table2,…
EXCLUDE_DEST_ TABLES=
table_mask
Lists the target tables to exclude from resynchronization. If you set the RESYNC parameter to
n
, use this parameter to selectively exclude target tables from the resynchronization.
You can use the question mark (?) and asterisk (*) wildcards to specify a mask for the tables to exclude.
Default value:
By default, InitialSync includes all tables for resynchronization.
JOURNAL_MODE={
DELETE
|TRUNCATE|PERSIST|MEMORY|WAL|OFF}
Specifies the rollback journal mode for the SQLite repository that contains configuration information. Journal mode options are:
  • DELETE
    . Delete the rollback journal at the conclusion of each transaction.
  • TRUNCATE
    . Commit transactions by truncating the rollback journal to zero-length instead of deleting it.
  • PERSIST
    . Prevent the rollback journal from being deleted at the end of each transaction.
  • MEMORY
    . Store the rollback journal in volatile RAM.
  • WAL
    . Use a write-ahead log instead of a rollback journal to implement transactions.
  • OFF
    . Disable the rollback journal completely.
For more information about SQLite journal modes, see the SQLite documentation.
Default value:
DELETE for Linux and UNIX, WAL for Windows
Ensure that this parameter has the same value for all Data Replication components.
INSERT_ARRAY_ SIZE=
size
Specifies the number of rows in the buffer when Data Replication uses ODBC connectivity to perform Inserts on the target.
Default value:
100
NON_EMPTY_DEST= {y|
n
}
For Teradata targets, specifies whether data is appended to target tables or written to empty tables. Options are:
  • y
    . Write data to an empty Teradata target.
  • n
    . Append data to an existing Teradata target.
Default value:
n
OUTPUT_LOG_NAME=
file_name
Specifies the name of the first execution log file that contains output from the Data Replication component.
Default value:
No default
OUTPUT_LOGS_FOLDER=
path_to_directory
Specifies the directory in which Data Replication creates execution log files for the Data Replication component.
Default value:
No default
RESYNC={
y
|n|p}
Indicates whether InitialSync synchronizes all of the mapped target tables or a subset of the mapped target tables. Options are:
  • y
    . Synchronize all of the mapped target tables with the source tables.
  • n
    . Synchronize the set of tables that you specify in the DEST_TABLES parameter. You can optionally use the EXCLUDE_DEST_TABLES parameter to exclude some of these tables.
  • p
    . Synchronize the mapped target tables for which Sync Point value is -1.
Default value:
y
SM_RUN_ID=
server_manager_run_ID
Specifies the run ID that the Server Manager assigns to the replication task.
The Server Manager uses the SM_RUN_ID parameter to set the run ID value when starting a task. Do not change this parameter value or delete this parameter from the commands that start replication tasks.
Default value:
No default
SOURCE_DATA_IS_READ_ONLY={y|
n
}
For Oracle sources, indicates whether the InitialSync task uses a regular SELECT query or an Oracle Flashback query to unload data from the source. Options are:
  • n
    . Run a Flashback query with a SELECT statement that includes an AS OF SCN clause. This query returns committed data that was current at the point in time that corresponds to a particular SCN.
  • y
    . Run a regular SELECT query. Use this option to unload data from an Oracle standby database that is open for read-only access and does not support Flashback mode.
    If you run the SELECT statement with AS OF SCN clause for an Oracle standby database that is open for read-only access, Oracle issues the following error message:
    ORA-08183: Flashback cannot be enabled in the middle of a transaction
Default value:
n
SQLITE_CACHE_SIZE=
cache_size
Specifies the maximum number of database disk pages that SQLite will hold in memory at once per open database file. The Data Replication component uses this parameter to open SQLite database files.
Default value:
16384 bytes
Change the default value only at the request of Informatica Global Customer Support.
SQLITE_PAGE_SIZE=
page_size
Specifies the page size of the SQLite database when a new database is created, a database is still empty, or prior to running the VACUUM command. The Data Replication component uses this parameter to open SQLite database files.
Default value:
16384 bytes
Change the default value only at the request of Informatica Global Customer Support.
THREADS=
number_of_threads
Specifies the number of threads for the InitialSync component. You can use this parameter to override the value that is specified in the configuration file.
Default value:
No default
TX_NAME=
transaction_name
For Microsoft SQL Server, Oracle targets, specifies the transaction name for the transactions that the Applier and InitialSync use to replicate data.
For DB2 targets, specifies the application name that the Applier and InitialSync use to replicate data.
Use this parameter to override the default name of DbSyncTransaction.
Ensure that the transaction name or application name is valid for the target database. For more information about valid identifiers, see your target database documentation.
Default value:
DbSyncTransaction
UDP_SERVER_PORT=
port_number
Specifies the User Datagram Protocol (UDP) port of the Server Manager through which the Data Replication component communicates with the Server Manager. Valid values are integers from 1 through 65535.
Default value:
8087
Ensure that the UDP_SERVER_PORT parameter value matches the value of the UDP_PORT parameter for the Server Manager.

0 COMMENTS

We’d like to hear from you!