ORA-3262 DURING ALTER TABLESPACE ... DROP DATAFILE (Doc ID 750302.1)

Last updated on OCTOBER 09, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 10.1.0.2 to 11.1.0.7 [Release 10.1 to 11.1]
Information in this document applies to any platform.
***Checked for relevance on 10-Oct-2016***

Symptoms

A DBA will need to ... at times ... drop a datafile from a tablespace

This became a much easier task beginning in 10.1 when the

ALTER TABLESPACE ... DROP DATAFILE

command was introduced

If a datafile to be dropped contains extents an ORA-3262 will occur

ORA-3262: the file is non-empty
    *Cause: Trying to drop a non-empty datafile
    *Action: Cannot drop a non empty datafile

This note is a case study showing how this error occurs and how to resolve it.

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