Asynchronous HOTLOG_SOURCE Has Wrong SOURCE_DATABASE
(Doc ID 1632490.1)
Last updated on JANUARY 11, 2023
Applies to:
Oracle Database - Enterprise Edition - Version 11.2.0.1 to 11.2.0.4 [Release 11.2]Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
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
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
Goal |
Solution |
References |