Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Determine if database SUPPLEMENTAL LOGGING as been enable.
On Aug 13, 8:08 pm, Michael42 <melliot..._at_yahoo.com> wrote:
> Hello,
>
> How can I determine if SUPPLEMENTAL LOGGING as been enable at the
> database level?
>
> Done by this command:
> ALTER DATABASE ADD SUPPLEMENTAL LOG DATA (PRIMARY KEY, UNIQUE,
> FOREIGN KEY) COLUMNS;
>
> Thanks,
>
> Michael
Take a look at the output of the following: SELECT
SUPPLEMENTAL_LOG_DATA_MIN, SUPPLEMENTAL_LOG_DATA_PK, SUPPLEMENTAL_LOG_DATA_UI
Now, execute your statement:
ALTER DATABASE ADD SUPPLEMENTAL LOG DATA (PRIMARY KEY, UNIQUE,
FOREIGN KEY) COLUMNS;
SELECT
SUPPLEMENTAL_LOG_DATA_MIN, SUPPLEMENTAL_LOG_DATA_PK, SUPPLEMENTAL_LOG_DATA_UI
SUPPLEMENTAL_LOG_DATA_PK
VARCHAR2(3) For all tables with a primary key, indicates whether all
columns of the
primary key are placed into the redo log whenever an update is
performed (YES) or not (NO)
See Also: Oracle Database SQL Reference for more information about the
ALTER DATABASE ADD SUPPLEMENTAL LOG supplemental_id_
key_clause statement
SUPPLEMENTAL_LOG_DATA_UI
VARCHAR2(3) For all tables with a unique key, indicates whether all
other columns
belonging to the unique key are placed into the redo log if any of the
unique key columns are modified (YES) or not (NO)
See Also: Oracle Database SQL Reference for more information about the
ALTER DATABASE ADD SUPPLEMENTAL LOG supplemental_id_
key_clause statement"
Charles Hooper
IT Manager/Oracle DBA
K&M Machine-Fabricating, Inc.
Received on Mon Aug 13 2007 - 20:35:40 CDT
![]() |
![]() |