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

Supported DDL Operations for Amazon Redshift Targets

The Applier task can apply the following DDL operations to Amazon Redshift targets:
  • ALTER TABLE
    table_name
    ADD
    column_name
    datatype
  • ALTER TABLE
    table_name
    ADD
    constraint_name
    PRIMARY KEY (
    column_name
    )
  • ALTER TABLE
    table_name
    DROP COLUMN
    column_name
    CASCADE
  • ALTER TABLE
    table_name
    DROP
    constraint_name
    CASCADE
  • ALTER TABLE
    table_name
    RENAME COLUMN
    column_name
    TO
    new_name
  • CREATE TABLE
    table_name
    (
    column_name
    datatype
    ) [DISTSTYLE KEY DISTKEY
    (
    primary_key_column_name
    )
    |DISTSTYLE EVEN]
  • DROP TABLE
    table_name
  • TRUNCATE TABLE
    table_name
  • To replicate CREATE TABLE and ADD COLUMN operations to Amazon Redshift targets in Audit Apply and Merge Apply modes, you must specify the new source table and column names in all lowercase. If you use uppercase, the Applier cannot replicate subsequent DML operations for the new table or column.
  • Data Replication cannot replicate ADD COLUMN and CREATE TABLE operations that include columns with binary datatypes.
  • Data Replication does not replicate ALTER COLUMN operations to Amazon Redshift targets because Amazon Redshift does not support these types of DDL operations. If you try to replicate ALTER COLUMN operations, the Applier ends with an error. Either do not enable replication of ALTER COLUMN operations or set the apply.skip_alter_column_failed_ddl runtime parameter to 1 to skip these errors.

0 COMMENTS

We’d like to hear from you!