My Oracle Support Banner

After "Alter Database Move Datafile" Command, Old Data File Still Remains in Windows Environment (Doc ID 2763939.1)

Last updated on MAY 27, 2022

Applies to:

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

Symptoms

After moving datafile using "alter database move datafile" command like below, data file at old path should be automatically deleted, but it still remains.  Note that "KEEP" option is not used.


alter database move datafile '<PATH>' to '<PATH>'

 

 

Alert log shows that the data file move operation has completed, and if you query v$datafile, the datafile path is updated to the new directory.

 

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


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