Data Masking Script Fails With ORA-06550 Error When Running The Masking Script On Partition Table (Doc ID 2253939.1)

Last updated on APRIL 18, 2017

Applies to:

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

Symptoms

Database (EE) 12.1.0.2.0
OEM Cloud Control 12c release 3, version 12.1.0.4.0
Oracle Database Plug-in release 12.1.0.7.0

Masking script runs into errors due to invalid call to dbms_stats.gather_index_stats.

The masking script call gather_index_stats with the paramter options=>'GATHER AUTO'.
The parameter "options" is only available in gather_table_stats, not in gather_index stats.

As a result the following error is shown and the script execution is stopped:

 

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