My Oracle Support Banner

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

Last updated on FEBRUARY 28, 2019

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
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A 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:

 

Changes

 

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!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.