Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to move datafiles in standard edition

User_R5AHCMar 28 2016 — edited Mar 28 2016

Hi, All,

I have the Standard Edition oracle for our production database in my office.

I am needing to move datafiles from a filesystem to another but with no shutdown my production database.

And, during my searches, I have found no recomendations -- before moving them -- to turn its tablespaces offline.

Example:

SQL> alter database rename file '/prev/oracle/prod1.dbf' to '/new/oracle/prod1.dbf';

Database altered.

SQL> recover datafile '/new/oracle/prod1.dbf';

Media recovery complete.

SQL>_

SQL> alter database datafile '/new/oracle/prod1.dbf' online;

Database altered.

SQL>_

Do I need to turn my tablespaces offline before move my datafiles?

I appreciate any advices.

Thanks, in advance.

Luiz Cássio

This post has been answered by EdStevens on Mar 28 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 25 2016
Added on Mar 28 2016
8 comments
2,552 views