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!

taking the datafile offline when the database is in NOARCHIVELOG mode

1002959Jul 19 2013 — edited Jul 21 2013

My question is when the database is in No Archive log mode i'm not able to take the datafile offline.

When i tried in my computer i have noticed fallowing.

case1:

SYS>alter database datafile 5 offline;

ERROR at line1;

ORA-01145:offline immediate disallowed unless media recovery enabled.

case 2:

SYS>alter database datafile 5 offline immediate;

ERROR at line 1;

ORA-00933:SQL command not properly ended

case3:

I have tried the command alter database datafile 6 offline drop; (in NOARCHIVELOG mode) and it is showing the same effect as alter database datafile 6 offline; ( in ARCHIVELOG mode).

*In the NOARCHIVELOG mode are we really dropping the datafile to take the datafile offline? Will you please tell me the effect of keyword drop.

This post has been answered by DB_Janitor on Jul 19 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 18 2013
Added on Jul 19 2013
11 comments
13,241 views