DBMS_SPACE.ASA_RECOMMENDATIONS Returns Rows With Invalid SQL Commands (Doc ID 2006451.1)

Last updated on DECEMBER 06, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.4 and later
Information in this document applies to any platform.

Symptoms

dbms_space.asa_recommendations('TRUE', 'TRUE', 'FALSE') returns in c1, c2, and c3 columns commands needed to apply segment advisor recommendation.

In case of objects with reclaimable space that are not eligible for online segment shrink. c1 will return 'Perform reorg' which is not a valid SQL command.

This is described on documentation 

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