ORA-10631 - when attempting to use 'Alter Table Shrink' on tables with context indexes

(Doc ID 735311.1)

Last updated on AUGUST 22, 2017

Applies to:

Oracle Text - Version 10.1.0.2 to 12.1.0.2 [Release 10.1 to 12.1]
Information in this document applies to any platform.
*** Checked for relevance on 22-Aug-2017 ***


Symptoms

User is attempting to "shrink" a table that contains a Text domain index, indextype is ctxsys.context, using the following syntax:

alter table mytest shrink space;

User receives the following error when attempting to shrink a table with a text index on it:

SQL> alter table mytest shrink space;
alter table mytest shrink space
*
ERROR at line 1:
ORA-10631: SHRINK clause should not be specified for this object





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