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

Editing the Audit Log Table Suffix

Editing the Audit Log Table Suffix

If a source table name is long and you generate an audit log table name with the default suffix of _LOG based on the source schema, the audit log table name might be too long. You can define a shorter suffix.
Alternatively, you can use a blank log suffix. However, if you use a blank suffix in Merge Apply mode, you must use different schemas to generate regular target tables and audit log tables.
For Netezza targets, you cannot use different schemas to generate regular target tables and audit log tables because a Netezza user can own only one schema. Therefore, do not use a blank suffix for Netezza audit log tables.
  1. On the
    Runtime Settings
    tab >
    Calculated Columns
    view, replace the default audit table name suffix of _LOG with a shorter suffix in the
    Log table suffix for merge apply
    field.
    If you use Merge Apply mode, or if you use InitialSync with the Bulk Copy Program (BCP) to load data to SQL Server targets and need to process SQL expressions defined for source tables in SQL Apply mode, Data Replication uses this suffix to determine the audit log table that corresponds to each mapped target table.
    In Audit Apply mode, the Data Replication Console uses this suffix only if you map the source tables to audit log tables based on wildcard expressions or exact name matching.
  2. Generate audit log tables based on the source table schema.
  3. If you use Merge Apply mode and a blank log suffix, specify a schema that includes audit log tables in the
    Log table schema for merge apply
    field on the
    Runtime Settings
    tab >
    Calculated Columns
    view.
  4. Save the configuration.

0 COMMENTS

We’d like to hear from you!