Asynchronous HOTLOG_SOURCE Has Wrong SOURCE_DATABASE (Doc ID 1632490.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.1 to 11.2.0.4 [Release 11.2]
Information in this document applies to any platform.

Goal

The pre-configured CDC Asynchronous HOTLOG Change Source has the wrong SOURCE_DATABASE.

SQL> select source_database from change_sources where source_name = 'HOTLOG_SOURCE';
SOURCE_DATABASE
----------------------------------------------------------------------------------------------------------------------------------
BAD.WORLD

SQL> select * from global_name;
GLOBAL_NAME
----------------------------------------------------------------------------------------------------------------------------------
ORCL.WORLD
 
It cannot be altered or dropped using the DBMS_CDC_PUBLISH procedures; ALTER_HOTLOG_CHANGE_SOURCE, DROP_CHANGE_SOURCE because the ORA-31504 error would be returned.

Error <Note 288630.1> OERR: ORA-31504 cannot alter or drop predefined change source

Error:  ORA-31504  (ORA-31504)
Text:  cannot alter or drop predefined change source
---------------------------------------------------------------------------
Cause: The caller attempted to alter or drop one of the predefined change sources HOTLOG_SOURCE or SYNC_SOURCE.
Action: Do not attempt to alter or drop a predefined change source or correct call to supply the name of a user-created change source.

Solution

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms