Primary or Unique Indexes on Clustered Tables are Created in Nologging Mode (Doc ID 2209981.1)

Last updated on DECEMBER 04, 2016

Applies to:

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

Symptoms

Indexes for primary key or unique constraint on clustered table
are created in nologging mode as a default as bellow. 

SQL> create cluster testc (c1 varchar2(30)) size 512;
Cluster created.
SQL> create table testt (col1 varchar2(30), col2 varchar2(30),
2 constraint test_pk primary key (col1)) cluster testc(col1);
Table created.

SQL> select index_name,index_type,uniqueness,logging
2 from user_indexes order by 1;

INDEX_NAME INDEX_TYPE UNIQUENES LOG
-------------------- ---------- --------- ---
TEST_PK NORMAL UNIQUE NO <---- Here 

 

TESTCASE 

 

Cause

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