Move datafile from One location to another [message #388178] |
Mon, 23 February 2009 12:23 |
prashanthgs
Messages: 89 Registered: May 2005 Location: chennai
|
Member |
|
|
Hi,
I want to move a datafile from one Location to another location.
Its in Dataguard setup, with ARCHIVLOG mode. I want to do this in Primay db without shutting down the db. Pls tell me if below steps work
a. ALTER DATABASE DATAFILE (OLD LOCATION) OFFLINE
b. Move file to new location
c. ALTER DATABASE RENAME FILE FROM OLD LOCATION TO NEW LOCATION
d. RECOVER DATAFILE (NEW LOCATION)
c. ALTER DATABASE DATAFILE NEW LOCATION ONLINE
Thanks
|
|
|
|
|
|
|
|
|