My Oracle Support Banner

RC:Index Creation On 12.1.0.2 With Subpartitioning Much Bigger Than In 11g (Doc ID 2346052.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Information in this document applies to any platform.

Symptoms

We want to migrate a 11g Database to 12c on another server via Datapump.
The load via impdp was susccessful, but the index size with subpartition grows tremendous:

Size on 11g:

select sum(BYTES/1024/1024) from dba_segments where OWNER='LIFLEX' and SEGMENT_TYPE='INDEX SUBPARTITION' and SEGMENT_NAME='X2_RAW_MESSAGE_U';
SUM(BYTES/1024/1024)
--------------------
  494.0625


Size on 12c:

select sum(BYTES/1024/1024) from dba_segments where OWNER='LIFLEX' and SEGMENT_TYPE='INDEX SUBPARTITION' and SEGMENT_NAME='X2_RAW_MESSAGE_U';
SUM(BYTES/1024/1024)
--------------------
  10228.9375



To isolate the cause further tests were made. Duplicate and upgrade the database from 11g to 12c the index size remain small, but when the indexes were dropped and recreated the index grows
like with impdp. So the problem is not the datapump, but the creation of the index (same statement and same data: 11g (500MB) 12c (10220MB) )
Find attached the ddl for the index creation (create_index_X2_RAW_MESSAGE_U.sql)

Cause

To view full details, 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 a vibrant support community of peers and Oracle experts.