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 drop one of Users Datafiles in oracle 11g?

3050589Oct 14 2015 — edited Oct 23 2015

hi All,

I am wrongly name the datafile without .dbf, then i cancel it and re add users03.dbf.

Now i can't drop the user03 as the status show need recover.

1. I was try to recovery it and it show "suggested archived log" but the named log was deleted, how can i drop it without recover, or recover without archive log?

2. I use RMAN to backup database and "backup database plus archivelog delete input;"  <- is it better backup all archive log instead of delete input?

At OS

drwxr-x---. 2 oracle oinstall        4096 Oct 14 11:33 .

drwxr-x---. 4 oracle oinstall        4096 Oct  8 22:05 ..

-rw-r--r--. 1 oracle oinstall         551 Oct  7 03:59 07102015.start.log

-rw-r-----. 1 oracle oinstall    20660224 Oct 14 15:46 control01.ctl

-rw-r-----. 1 oracle oinstall    20660224 Oct  7 01:40 control02.ctl

-rw-r-----. 1 oracle oinstall   104858112 Oct 14 15:39 redo01.log

-rw-r-----. 1 oracle oinstall   104858112 Oct 14 15:46 redo02.log

-rw-r-----. 1 oracle oinstall   104858112 Oct 14 15:39 redo03.log

-rw-r-----. 1 oracle oinstall 17238597632 Oct 14 15:46 sysaux01.dbf

-rw-r-----. 1 oracle oinstall 34359730176 Oct 14 15:44 system01.dbf

-rw-r-----. 1 oracle oinstall 10737426432 Oct 14 15:39 system02.dbf

-rw-r-----. 1 oracle oinstall    10493952 Oct 14 15:39 system03.dbf

-rw-r-----. 1 oracle oinstall 34358697984 Oct 14 11:39 temp01.dbf

-rw-r-----. 1 oracle oinstall 34359730176 Oct 14 15:44 undotbs01.dbf

-rw-r-----. 1 oracle oinstall 34359222272 Oct 14 15:39 users01.dbf

-rw-r-----. 1 oracle oinstall 29024591872 Oct 14 15:39 users02.dbf

-rw-r-----. 1 oracle oinstall   104865792 Oct 14 15:36 users03

-rw-r-----. 1 oracle oinstall   104865792 Oct 14 15:39 users03.dbf

At EM console (it show 0 MB, is it true?)

File Name  TablespaceStatusSize (MB)Used (MB)Used (%)Auto Extend
/home/oracle/oradata/asanacrm/sysaux01.dbfSYSAUXONLINE16,440.00013,985.25085.07YES
/home/oracle/oradata/asanacrm/system01.dbfSYSTEMSYSTEM32,767.984975.4842.98YES
/home/oracle/oradata/asanacrm/system02.dbfSYSTEMSYSTEM10,240.0007.0000.07YES
/home/oracle/oradata/asanacrm/system03.dbfSYSTEMSYSTEM10.0001.00010.00YES
/home/oracle/oradata/asanacrm/temp01.dbfTEMPONLINE32,767.0000.0000.00YES
/home/oracle/oradata/asanacrm/undotbs01.dbfUNDOTBS1ONLINE32,767.984452.0001.38YES
/home/oracle/oradata/asanacrm/users01.dbfUSERSONLINE32,767.50032,464.62599.08YES
/home/oracle/oradata/asanacrm/users02.dbfUSERSONLINE27,680.00026,188.62594.61YES
/home/oracle/oradata/asanacrm/users03USERSRECOVER0.0000.0000.00
/home/oracle/oradata/asanacrm/users03.dbfUSERSONLINE100.00099.00099.00YES

Thanks & Regards

JOE

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 20 2015
Added on Oct 14 2015
15 comments
1,586 views