Oracle Error ORA-16806: supplemental logging is not turned on

Oracle Error Message

ORA-16806: supplemental logging is not turned on

Reason for the Error

Supplemental logging was not turned on while there was a logical standby database in the configuration. This could happen either on the primary database or on the logical standby database that was being switched over to be the primary database.

Solution

Check the Data Guard broker log for more details. Issue the ALTER DATABASE ADD SUPPLEMENTAL LOG DATA (PRIMARY KEY, UNIQUE INDEX) COLUMNS to add supplemental logging.