My Oracle Support Banner

Cannot replicate "drop table" which has foreign constraints from active to standby (Doc ID 1616035.1)

Last updated on JUNE 05, 2019

Applies to:

Oracle TimesTen In-Memory Database - Version 11.2.2.5.1 and later
Information in this document applies to any platform.

Symptoms

Having trouble with replicating drop table statement which has foreign constraints.

Setup:

table with foreign constraints, in an active standby pair setup.  Using DDLReplicationLevel = 2.

 

Errors:

1.  On the active node, when the drop table statement is executed while the replication agent is running, the following error is observed:

2013-10-10 08:49:13.55 Err : REP: 19649: STDB_1122:receiver.c(2793): TT8192:
TT8192: Dropping/adding a foreign key that references a replicated table is
not allowed while the replication agent for data store stdb_1122 is running.
Please stop the replication agent to perform this operation. -- file
"index.c", lineno 6918, procedure "sbIxUnlink"

 

 

2.  When the replication is stopped on the active, and drop table statement is executed successfully on the active. The standby node's ttmesg log received the following message and the drop table was not replicated on the standby:

 

  2013-10-10 08:49:13.55 Err : REP: 19649: [1118697792, 0, noAwt]
  STDB_1122:receiver.c(2711): TT16064: Failed to execute prepared command in
  rxDDLApply()
  2013-10-10 08:49:13.55 Err : REP: 19649: STDB_1122:receiver.c(2711): TT8192:
  TT8192: Dropping/adding a foreign key that references a replicated table is
  not allowed while the replication agent for data store stdb_1122 is running.
  Please stop the replication agent to perform this operation. -- file
  "index.c", lineno 6918, procedure "sbIxUnlink"

 

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.