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 and later
Oracle Data Masking and Subsetting - Version 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.


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

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:





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

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