After "Alter Database Move Datafile" Command, Old Data File Still Remains in Windows Environment
(Doc ID 2763939.1)
Last updated on APRIL 17, 2023
Applies to:Oracle Database - Enterprise Edition - Version 22.214.171.124.0 and later
Oracle Database - Standard Edition - Version 126.96.36.199.0 and later
Information in this document applies to any platform.
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.
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