Database Administration (MOSC)

MOSC Banner

Moving Data file

edited Feb 27, 2009 2:28AM in Database Administration (MOSC) 4 commentsAnswered ✓
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 and Secondary DB without shutting down the db.

I did the below steps and succesfully moved in Primary.

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

How I can proceed the same in Secondary db? Can I proceed with the same steps.

Oracle 10g/AIX

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center