Replicat hits ora-10661 when doing "shrink space" on a partition table

(Doc ID 1961092.1)

Last updated on JULY 17, 2017

Applies to:

Oracle GoldenGate - Version 11.2.1.0.22 and later
Information in this document applies to any platform.

Symptoms

Replicat abends:

2015-01-13 10:52:58 ERROR OGG-00519 Fatal error executing DDL replication: error [Error code [10661], ORA-10661: Invalid option specified SQL alter table images."TRANSACTION_DATA" shrink space CHECK /* GOLDENGATE_DDL_REPLICATION */], no error handler present.

it hits same error when running it from sqlplus

SQL>  alter table images."TRANSACTION_DATA" shrink space CHECK  /* GOLDENGATE_DDL_REPLICATION */;
alter table images."TRANSACTION_DATA" shrink space CHECK  /* GOLDENGATE_DDL_REPLICATION */
*
ERROR at line 1:
ORA-10661: Invalid option specified



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