My Oracle Support Banner

Dbms_Space.Verify_Shrink_Candidate Getting Error ORA-03205 (Doc ID 741926.1)

Last updated on MARCH 10, 2020

Applies to:

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

Goal

NOTE: In the images and/or the document content below, the user information and data used represents fictitious data from the Oracle sample schema(s) or Public Documentation delivered with an Oracle database product.  Any similarity to actual persons, living or dead, is purely coincidental and not intended in any manner.

Trying to run the dbms_space.verify_shrink_candidate for partitions and subpartitions and getting the following error:


SET SERVEROUTPUT ON

DECLARE X VARCHAR(3);
BEGIN
X := CASE
WHEN dbms_space.verify_shrink_candidate('SEGMENTS_MONTHLY','P_TEST','TABLE SUBPARTITION',25165824) THEN 'Yes'
ELSE 'No'
END;

dbms_output.put_line('X = '|| X);

END;
/
ERROR at line 1:
ORA-03205: partition name is required when partitioned type is specified
ORA-06512: at "SYS.DBMS_SPACE", line 1788
ORA-06512: at line 4



Solution

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
Goal
Solution


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