Unable to drop und tablespace

Iam getting error when dropping undo tablespace
drop tablespace undotbs1 including contents and datafiles;+
ORA-01548: active rollback segment '_SYSSMU1$' found, terminate dropping tablespace+
Version 10.2
Thanks in Advance
Abk

as per the document
http://www.dba-oracle.com/t_fix_undo_log_corruption.htm
select
segment_name,
status
from
dba_rollback_segs
where
tablespace_name='undotbs1'
and
status = ‘NEEDS RECOVERY’;
_SYSSMU1$
_SYSSMU2$
_SYSSMU3$
_SYSSMU4$
_SYSSMU5$
_SYSSMU6$
_SYSSMU7$
_SYSSMU8$
_SYSSMU9$
_SYSSMU10$
_SYSSMU11$                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • Unable to drop USERS tablespace.

    Hi All,
    I am trying to drop USERS tablespace and facing below error.
    PLATFORM:
    OS: Linux Ubuntu 9.04 LTS
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE     10.2.0.1.0     Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    PROBLEM:
    SQL> drop tablespace users including contents and datafiles cascade constraints;
    drop tablespace users including contents and datafiles cascade constraints
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-24005: must use DBMS_AQADM.DROP_QUEUE_TABLE to drop queue tables
    When I see, dba_queue_tables...
    SQL> select owner, queue_table, object_type from dba_queue_tables;
    OWNER               QUEUE_TABLE          OBJECT_TYPE
    SYS               ALERT_QT           SYS.ALERT_TYPE
    SYS               AQ$_MEM_MC
    SYS               AQ_EVENT_TABLE          SYS.AQ$_EVENT_MESSAGE
    SYS               AQ_SRVNTFN_TABLE      SYS.AQ$_SRVNTFN_MESSAGE
    SYS               KUPC$DATAPUMP_QUETAB     SYS.KUPC$_MESSAGE
    SYS               SCHEDULER$_EVENT_QTAB     SYS.SCHEDULER$_EVENT_INFO
    SYS               SCHEDULER$_JOBQTAB     SYS.ANYDATA
    SYS               SYS$SERVICE_METRICS_TAB     SYS.SYS$RLBTYP
    SYSMAN               MGMT_NOTIFY_QTABLE     SYSMAN.MGMT_NOTIFY_NOTIFICATION
    SYSTEM               DEF$_AQCALL
    SYSTEM               DEF$_AQERROR
    11 rows selected.
    Also, there are no tables in USERS tablespace now, as I've moved all to other tablespace.
    SQL> select count(*) from dba_tables where tablespace_name='USERS';
    COUNT(*)
         0
    USERS tablespace is not permanent tablespace as I've changed it to some other, still the problem.
    SQL> select property_name, property_value from database_properties where PROPERTY_NAME = 'DEFAULT_PERMANENT_TABLESPACE'
    PROPERTY_NAME          PROPERTY_VALUE
    DEFAULT_PERMANENT_TABLESPACE DEV
    Can you please help me drop the USERS tablespace.

    Thanks Hemant,
    I queried as below.
    SQL> select count(*) from dba_segments where tablespace_name='USERS';
    COUNT(*)
         7
    SQL> SELECT owner, segment_name, segment_type from dba_segments where tablespace_name='USERS';
    OWNER               SEGMENT_NAME
    SEGMENT_TYPE
    IX               SYS_IOT_TOP_62384
    INDEX
    IX               SYS_IOT_TOP_62386
    INDEX
    IX               SYS_IOT_TOP_62390
    INDEX
    IX               SYS_IOT_TOP_62392
    INDEX
    IX               SYS_IOT_TOP_62395
    INDEX
    IX               SYS_IOT_TOP_62397
    INDEX
    IX               SYS_IOT_TOP_62401
    INDEX
    7 rows selected.
    SQL> drop user ix cascade;
    drop user ix cascade
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-24005: must use DBMS_AQADM.DROP_QUEUE_TABLE to drop queue tables
    Then connected as 'IX' user.
    IX@devdb> exec sys.DBMS_AQADM.DROP_QUEUE_TABLE(queue_table=>'SYS_IOT_TOP_62384',force => TRUE);
    BEGIN sys.DBMS_AQADM.DROP_QUEUE_TABLE(queue_table=>'SYS_IOT_TOP_62384',force => TRUE); END;
    ERROR at line 1:
    ORA-24002: QUEUE_TABLE IX.SYS_IOT_TOP_62384 does not exist
    ORA-06512: at "SYS.DBMS_AQADM_SYS", line 4084
    ORA-06512: at "SYS.DBMS_AQADM", line 197
    ORA-06512: at line 1
    IX@devdb> alter index SYS_IOT_TOP_62384 rebuild tablespace dev;
    alter index SYS_IOT_TOP_62384 rebuild tablespace dev
    ERROR at line 1:
    ORA-28650: Primary index on an IOT cannot be rebuilt
    IX@devdb> SELECT INDEX_TYPE,TABLE_NAME,TABLESPACE_NAME,STATUS FROM USER_INDEXES;
    INDEX_TYPE          TABLE_NAME               TABLESPACE_NAME          STATUS
    LOB               STREAMS_QUEUE_TABLE      DEV                    VALID
    NORMAL               ORDERS_QUEUETABLE          DEV                    VALID
    NORMAL               STREAMS_QUEUE_TABLE      DEV                    VALID
    NORMAL               AQ$_ORDERS_QUEUETABLE_S     DEV                    VALID
    NORMAL               AQ$_STREAMS_QUEUE_TABLE_C     DEV                    VALID
    NORMAL               AQ$_STREAMS_QUEUE_TABLE_S     DEV                    VALID
    LOB               STREAMS_QUEUE_TABLE      DEV                    VALID
    LOB               ORDERS_QUEUETABLE          DEV                    VALID
    IOT - TOP          AQ$_STREAMS_QUEUE_TABLE_T     USERS               VALID
    IOT - TOP          AQ$_STREAMS_QUEUE_TABLE_I     USERS               VALID
    IOT - TOP          AQ$_STREAMS_QUEUE_TABLE_H     USERS               VALID
    IOT - TOP          AQ$_STREAMS_QUEUE_TABLE_C     USERS               VALID
    IOT - TOP          AQ$_ORDERS_QUEUETABLE_T     USERS               VALID
    IOT - TOP          AQ$_ORDERS_QUEUETABLE_I     USERS               VALID
    IOT - TOP          AQ$_ORDERS_QUEUETABLE_H     USERS               VALID
    15 rows selected.
    IX@devdb> alter table AQ$_STREAMS_QUEUE_TABLE_T move tablespace dev;
    alter table AQ$_STREAMS_QUEUE_TABLE_T move tablespace dev
    ERROR at line 1:
    ORA-08108: may not build or rebuild this type of index online

  • Unable to drop database user

    Hi All,
    I am unable to drop database user and getting the folllowing error:
    " must use DBMS_AQADM.DROP_QUEUE_TABLE to drop queue tables "
    I find 3 table with AQ prefix in the schema but unable to drop these table even by using "sys" user.
    Any idea how can I do that ?
    Regards,

    Hi,
    select object_name,object_type from dba_objects where owner='USERNAME' and object_name like '%AQ%';TO drop the queue table, login as the owner and
    exec DBMS_AQADM.DROP_QUEUE_TABLE(queue_table=>'PASTE_THE_OBJECT_NAME_FROM_ABOVE',force =>TRUE);Anand

  • Unable to create a tablespace under user scott despite of many privileges

    Hi,
    I use user scott to test a rdf database using oracle 11.2.0.2 contained in oracle developer days in my oracle linux enterprise guest system. However, I am unable to create a tablespace under scott. The error message says insufficient privilege. Actually, I granted all privilege in Roles, System Privileges, Object Privileges to scott in the OEM panel. I also granted resource, create session, create table, unlimited tablespace to scott in sqlplus as well. However, I am still unable to create the tablespace. The command I used for creating tablespace is below:
    create tablespace rdf_tblspace
    datafile '\home\oracle\app\oracle\oradata\rdf_tblspace.dat' size 14m reuse
    autoextend on next 10m maxsize unlimited
    segment space management auto;
    Error at Command Line:1 Column:1
    Error report:
    SQL Error: ORA-01031: insufficient privileges
    01031. 00000 - "insufficient privileges"
    Any suggestions will be much appreciated. Thanks a lot in advance.

    user571093 wrote:
    Hi,
    Thanks for the helpful info. Can you pls show me how to grant REATE TABLESPACE system privilege to scott? The System Priveleges in OEM is not enough for scott? Thanks a lot.You should first go through [url http://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_9013.htm] this  This link contains details of GRANT command.
    create tablespace is a system privilage granted to a user by the DBA in below way:
    grant create tablespace to scott;

  • Why I got error ORA-02429 when I tried to drop a tablespace?

    I use the following command to drop the tablespace:
    drop tablespace users including contents and datafiles;The error message is below:
    Error report:
    SQL Error: ORA-00604: error occurred at recursive SQL level 1
    ORA-02429: cannot drop index used for enforcement of unique/primary key
    00604. 00000 -  "error occurred at recursive SQL level %s"
    *Cause:    An error occurred while processing a recursive SQL statement
               (a statement applying to internal dictionary tables).
    *Action:   If the situation described in the next error on the stack
               can be corrected, do so; otherwise contact Oracle Support.However, I have removed all the tables and indexes in this tablespace.
    Nothing found when I issued the following enquiries.
    select index_name from user_indexes where TABLESPACE_NAME = 'USERS';
    select table_name from user_tables where TABLESPACE_NAME = 'USERS';Is there anything I missed?
    Thanks in advance.

    999274 wrote:
    Could you please let me know how to purge recyclebin ?It's bad form to hijack someone else's thread for your own questions.
    As for your question
    =================================================
    Learning how to look things up in the documentation is time well spent investing in your career. To that end, you should drop everything else you are doing and do the following:
    Go to [url tahiti.oracle.com]tahiti.oracle.com.
    Locate the link for your Oracle product and version, and click on it.
    You are now at the entire documentation set for your selected Oracle product and version.
    <b><i><u>BOOKMARK THAT LOCATION</u></i></b>
    Spend a few minutes just getting familiar with what is available here. Take special note of the "books" and "search" tabs. Under the "books" tab (for 10.x) or the "Master Book List" link (for 11.x) you will find the complete documentation library.
    Spend a few minutes just getting familiar with what <b><i><u>kind</u></i></b> of documentation is available there by simply browsing the titles under the "Books" tab.
    Open the Reference Manual and spend a few minutes looking through the table of contents to get familiar with what <b><i><u>kind</u></i></b> of information is available there.
    Do the same with the SQL Reference Manual.
    Do the same with the Utilities manual.
    You don't have to read the above in depth. They are <b><i><u>reference</b></i></u> manuals. Just get familiar with <b><i><u>what</b></i></u> is there to <b><i><u>be</b></i></u> referenced. Ninety percent of the questions asked on this forum can be answered in less than 5 minutes by simply searching one of the above manuals.
    Then set yourself a plan to dig deeper.
    - Read a chapter a day from the Concepts Manual.
    - Take a look in your alert log. One of the first things listed at startup is the initialization parms with non-default values. Read up on each one of them (listed in your alert log) in the Reference Manual.
    - Take a look at your listener.ora, tnsnames.ora, and sqlnet.ora files. Go to the Network Administrators manual and read up on everything you see in those files.
    - When you have finished reading the Concepts Manual, do it again.
    Give a man a fish and he eats for a day. Teach a man to fish and he eats for a lifetime.
    =================================

  • Siebel database Configuration wizard unable to identify index tablespace

    Hi,
    I'm installing Siebel CRM 8.1.1 on AIX platform. We have RAC enabled database at backend and in that two tablespace has been created, one for data and another one for index. Now in the database configuration wizrd where we have to provide the name of both tablespaces; we provide the name of data tablespae in the Table Tablespace filed and index tablespace in the index tablespace filed of the configuration wizard. Now when we click on the next button. The configuration wizrd gives error of unable to identify index tablespace.
    Why is this happening as index tablespace is properly created in the database. Please help me in this. You quick respance will be highly appriciated.
    Regards,
    Abbasi

    I thought it might be. grantuser.sql generally needs to be modified to suit the underlying database configuration. Glad you got it working.

  • CJS-00091 Unable to create the tablespaces -R/3 4.7E installation

    Hi All,
    We are installing R/3 4.7 Enterprise  x200-SR1 release. While installing Database instance, SAPinst got terminated with the below error at tablespace creation step.
    CJS-00091  Unable to create the tablespaces. DIAGNOSIS: There is not enough free disk space: Mount point | space required | space available | SAPDATA directories
    /oracle/DCM/sapdata1   |   44891   |   10408.3   |   4,3,1,2
    . SOLUTION: Make more disk space available.
    We have 10GB,12GB,30GB,30GB available in sapdata1,sapdata2,sapdata3 and sapdata4 respectively. But why the installation is trying to load all the exports into sapdata1.
    If any one would have faced the similar kind of issues or know the solution please suggest me the solution.
    Best Regards,
    Ganesh.

    Hi,
    Have you distributed the sapdata files in the Installation Dialogue Box ? means Have you specified different directories for different sapdata files during Installation process ?
    Please re-distribute the sapdata files location by re-running the SAP Installation. As sapdata1 location is nt having the demanded space (44891 MB).
    Regards,
    Bhavik G. Shroff

  • Drop empty tablespaces after OATM in 11.5.9

    Hi All,
    In 11.5.9 we don't have the option of "Generate script to drop empty tablespaces". Could you suggest a best way to generate this in 11.5.9?
    Thanks

    Hussein,
    Could you please confirm the steps for moving the below objects from APPLSYSD after OATM
    SQL> select segment_name, segment_type from dba_segments
    where tablespace_name ='APPLSYSD'; 2
    SEGMENT_NAME
    SEGMENT_TYPE
    SYS_IL0002020632C00006$$
    LOBINDEX
    SYS_LOB0002020632C00006$$
    LOBSEGMENT
    SQL>
    SQL> select OWNER, TABLE_NAME, COLUMN_NAME, SEGMENT_NAME from dba_lobs where SEGMENT_NAME like '%SYS_LOB0002020632C00006$$%';
    OWNER TABLE_NAME
    COLUMN_NAME
    SEGMENT_NAME
    APPLSYS AQ$_WF_CONTROL_D
    RSUBS
    SYS_LOB0002020632C00006$$
    SQL>
    SQL> select OWNER, TABLE_NAME, COLUMN_NAME, SEGMENT_NAME from dba_lobs where INDEX_NAME like '%SYS_IL0002020632C00006$$%';
    OWNER TABLE_NAME
    COLUMN_NAME
    SEGMENT_NAME
    APPLSYS AQ$_WF_CONTROL_D
    RSUBS
    SYS_LOB0002020632C00006$$
    SQL>
    SQL> select OWNER, TABLESPACE_NAME from dba_tables where TABLE_NAME like '%AQ$_WF_CONTROL_D%';
    OWNER TABLESPACE_NAME
    APPLSYS
    SQL>
    alter table AQ$_WF_CONTROL_D move tablespace APPLSYSD
    lob(RSUBS) store as SYS_LOB0002020632C00006$$(tablespace APPS_TS_QUEUES);
    Thanks

  • Unable to drop materialized view with corrupted data blocks

    Hi,
    The alert log of our database is giving this message
    Wed Jan 31 05:23:13 2007
    ORACLE Instance mesh (pid = 9) - Error 1578 encountered while recovering transaction (6, 15) on object 13355.
    Wed Jan 31 05:23:13 2007
    Errors in file /u01/app/oracle/admin/mesh/bdump/mesh_smon_4369.trc:
    ORA-01578: ORACLE data block corrupted (file # 5, block # 388260)
    ORA-01110: data file 5: '/u03/oradata/mesh/mview.dbf'
    No one is using this mview still oracle is trying to recover this transaction (6, 15).
    when i tried to drop this mview it gives me this error
    ERROR at line 1:
    ORA-01578: ORACLE data block corrupted (file # 5, block # 388260)
    ORA-01110: data file 5: '/u03/oradata/mesh/mview.dbf'
    ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2255
    ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2461
    ORA-06512: at "SYS.DBMS_SNAPSHOT", line 2430
    ORA-06512: at line 1
    I have tried to fix the corrupted data blocks by using dbms_repair package, but of no use.
    I have marked this block to be skipped by using dbms_repair.skip_block but still unable to drop it.
    Please suggest what should I do?
    Thanks in advance
    Anuj

    You are lucky if only your undesirable MV is affected by theese corrupted blocks. This is an advice to do a complete-super-full-hot-cold-middle backup of ypur database and search for any disk for a "possible replace".
    God save us!

  • Cannot drop a tablespace

    Hi,
    A datafile of my database has been deleted from the OS and cannot be recovered. The related tablespace exits in the database.
    I want to drop this tablespace, but oracle does not allow me to do so. I dont have the backup of the datafile.
    Can something be done.
    Regards
    ANiL.

    Hi
    If your database is in archivelog mode and u have all the archive files than u can recover this datafile
    no need to drop it or create the controlfile also.
    steps are ...
    [SUNSHINE ~]$ sqlplus
    SQL*Plus: Release 10.1.0.3.0 - Production on Wed Oct 11 16:14:20 2006
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Enter user-name: sys as sysdba
    Enter password:
    Connected to an idle instance.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 209715200 bytes
    Fixed Size 778432 bytes
    Variable Size 191897408 bytes
    Database Buffers 16777216 bytes
    Redo Buffers 262144 bytes
    Database mounted.
    ORA-01157: cannot identify/lock data file 6 - see DBWR trace file
    ORA-01110: data file 6: '/home/oracle/orcl/data/abc.dbf'
    SQL> alter database create datafile '/home/oracle/orcl/data/abc.dbf' as '/home/oracle/orcl/data/abc.dbf';
    Database altered.
    SQL> alter database open;
    alter database open
    ERROR at line 1:
    ORA-01113: file 6 needs media recovery
    ORA-01110: data file 6: '/home/oracle/orcl/data/abc.dbf'
    SQL> recover database;
    Media recovery complete.
    SQL> alter database open;
    Database altered.
    SQL>
    Regards,
    Symal

  • Cannot drop undo tablespace with Active extents but no active sessions

    Hi all,
    I am running on 10gr2 oracle database in a Linux 32 bit environment.
    I have a corrupted undo datafile. I've been able to recover the datafile but still the alert logs is still showing that it is corrupted.
    Now what I'm trying to do is to drop the old undo tablespace like the one discussed here Change undo tablespace in Oracle - Switch Oracle's Undo tablespace.
    My problem is I have an Active extent but no active session corresponding to it:
    SYS@ccasdb AS SYSDBA > SELECT a.name,b.status
    FROM   v$rollname a,v$rollstat b
    WHERE  a.usn = b.usn
    AND    a.name IN (
                      SELECT segment_name
                      FROM dba_segments
                      WHERE tablespace_name = 'UNDOTBS1'
                     );  2    3    4    5    6    7    8
    NAME                           STATUS
    _SYSSMU18$                     PENDING OFFLINE
    SYS@ccasdb AS SYSDBA > SELECT a.name,b.status , d.username , d.sid , d.serial#
      2  FROM   v$rollname a,v$rollstat b, v$transaction c , v$session d
      3  WHERE  a.usn = b.usn
      4  AND    a.usn = c.xidusn
      5  AND    c.ses_addr = d.saddr
      6  AND    a.name IN (
      7               SELECT segment_name
      8               FROM dba_segments
      9               WHERE tablespace_name = 'UNDOTBS1'
    10              );
    no rows selected
    but still cannot drop the undotablespace.
    SYS@ccasdb AS SYSDBA > drop tablespace UNDOTBS1 including contents and datafiles;
    drop tablespace UNDOTBS1 including contents and datafiles
    ERROR at line 1:
    ORA-30013: undo tablespace 'UNDOTBS1' is currently in use
    Regards,
    Tim

    Yes i was able to recover the datafile but the alert_log kept on prompting that it is still corrupted. The datafile's status is online.
    I want to kill the session/s contributing to the PENDING OFFLINE status of the rollback segment so I can already drop the undotablespace and so
    that the alert log will stop prompting for that corrupted datafile in that UNDOTABLESPACE.
    Can i Just alter the tablespace's datafiles to offline drop then just drop it. Then I drop the tablespace?

  • Drop Undo Tablespace taking more than 1 hr

    Hi,
    To give you background, I had given an "insert into .. select" command which was inserting 3 millions of rows of rowidth approx 5000 bytes. The window on which it was given, was closed by mistake.
    After sometime when I checked the size of undo_tablespace, it was 5.5GB. I decided to create a new one and drop the old undo_tbsp.
    I have successfully created new undo tablespace and changed the same in spfile also.
    now when i am dropping the old undo tablespace, its taking long time. its almost an hour, but the tablespace has not been dropped yet.
    I have given following command
    drop tablespace undotbs_01 including contents;
    Any idea, why is it taking so much time, and how long should I wait?
    If someone can give me any other idea on how can I drop the tablespace, that will be great.
    Regards,
    Archana.

    To give you background, I had given an "insert into .. select" command which was inserting 3 millions of rows of rowidth approx 5000 bytes. The window on which it was given, was closed by mistake.This could be the cause.
    I wonder the killed/closed session doesn't hangup with a latch or lock.
    Since the old undo tbs had active transaction, it might have to pending offline status. If so, you can drop it.
    Jaffar

  • Drop Normal Tablespace Taking several hours

    Hi,
    In my 1TB database there is one tablespace size (38.5 GB / used 4 GB) which we used for objects backup purpose and i am trying to drop this tablespace using every option like bring tablespace offline and drop with DROP TABLESPACE TBS_NAME INCLUDING CONTENTS AND DATAFILES CASCADE CONSTRAINTS
    but Drop Tablespace Taking several hours (24 + hrs)
    I tried with drop objects from the tablespace but that is also taking lot of time to drop and then i tried to drop empty tablespace and again it is taking several hours.
    Database version :- 10.2.0.3 and 10.2.0.4
    Operation System Version :- Solaris 5.10
    ERP 11.5.10
    Please suggest what could be the problem.

    So, till now you have done these steps,
    1) dropped all database objects from that tablespace. Checked if any objects are there in this tablespace and there were none
    2) take tbs offline
    3) drop tablespace
    4) While drop tablespace command is hanging, monitored segments in the tbs from another session. Segments were reducing very slowly
    Out of first 3 steps, which step took longer? drop tablespace ?
    Logically, when you are able to drop objects, then there should be no issue of locks or anything like that.
    Dictionary updates should not take 24 hours!!!
    What else is going on, on the disk/file-system where this tbs is housed?
    Do you have all locally managed tablespaces?

  • Drop huge Tablespace

    Hi Everybody,
    Here there are some steps that leaded me into a dead end, where I would like and greatly appreciate some help.
    1. We have a tablespace FONC, dictionary managed, 136Gb spliced in 11 datafiles
    FONC1 to FONC11.
    2. There it is a huge table in this tblsp, T1, 70GB, having BLOBs.
    3. Some other tables are in it also.
    My plan is to move all objects in this tblsp in a 2 new tblsp, one for the
    BLOBS, one for the rest. And to drop this tablespace at the end.
    I do not have enough disk space in order to have both tablespaces present in the
    same time.
    What I did.
    0. ArchiveLog off.
    1. Export the T1 table, the huge one (splitting the export in 24 files, placed
    in all free spaces I found).
    2. alter table move tablespace for the other tables.
    3. start the Drop table T1.
    4. after 6 hours, I stopped the drop, being short in time.
    5. start drop tablespace FONC.
    6. after another 5 hours, I cancelled this drop also.
    7. tblsp FONC contains nothing else but a 67GB temporary segment.
    8. took the tblsp FONC offline.
    9. shutdown db abort.
    10. delete datafiles FONC1 to FONC11.
    11. startup db - no errors except a message in SMON Log - timeout waiting for a
    tablespace management resource.
    12. Create new tablespace.
    13. Import table T1.
    14. Archivelog ON - error ORA-265 - instance needs recovery.
    15. Shutdown Abort.
    16. Startup Open.
    17. Shutdown Immediate.
    18. startup mount.
    19. ALter database datafile fonc1...11 offline drop.
    20. Recover database - everything ok.
    21. Alter ... ARCHIVELOG - same error.
    22. Other trials - same results ...
    No indications in any oracle log that SMON did an instance recovery, or other
    error message.
    Finally, the DB is operational, but ARCHIVELOG is OFF.
    My problem is how to get rid of the FONC tablespace without loosing another xxxx
    hours. A normal DROP tablsp including contents did not finished after 24 hours.
    I need a way just to invalidate the temporary segment in the FONC tblsp, to get
    rid of it, to be able to get rid of the tblsp FONC also. I guess that the
    missing datafiles impede the instance recovery. An solution to be done when the
    DB is online and in use is of course the most desirable one ...
    using DBMS_SPACE_ADMIN can be more helpfull ?
    Manually edit the controlfiles ?
    Using RMAN ?
    Thanks in advance, I appreciate what you are doing,
    Dan

    No I did not tried with Nologging.
    On the other hand, what I see that takes long are the updates on the tables fet$ and uet$. More than that, a system session is issuing all the time blocking locks on this tables, that makes the drop to take so much time. Releasing 67GB in extents is quite challenging ...
    So I need a way to lead only to delete on the fet$ and uet$ tables, and, a way to avoid the blocking locks. I thought that using DBMS_SPACE_ADMIN and invalidating the temporary segment first can be a solution.
    The real problem here is that I can not do try-and-see, I can not stop the exploitation of the DB so I was hoping that somebody went through the same experience and has a working solution.
    Thanks,
    Dan

  • Drop a tablespace and datafile when database is mounted

    I tried to import data in my oracle 11g. It failed midway. I presumed that i did not size the redolog properly. Now my database cannot go beyound the mounted mode.
    ORA-01157: cannot identify/lock data file 7 – see DBWR trace file
    ORA-01110: data file 7: ‘ /data1/owprojects/xxxxx.dbf ‘
    Its a new oracle installation and i do not need the corrupt datafile.
    I cant take the tablespace offline neither can i drop the tablespace including its contents.
    Do i drop from the Linux OS. If yes which other file to i edit to remove the pointer to this tablespace.
    Thanks and Best Regards
    J

    Try:
    alter database datafile 7 offline for drop;Example:
    SQL> startup mount;
    ORACLE instance started.
    Total System Global Area 1071333376 bytes
    Fixed Size                  1388352 bytes
    Variable Size             658505920 bytes
    Database Buffers          406847488 bytes
    Redo Buffers                4591616 bytes
    Database mounted.
    SQL>
    SQL> alter database open;
    alter database open
    ERROR at line 1:
    ORA-01157: cannot identify/lock data file 5 - see DBWR trace file
    ORA-01110: data file 5: 'C:\TEMP\TEST01.DBF'
    SQL> alter database datafile 5 offline for drop;
    Database altered.
    SQL> alter database open;
    Database altered.
    SQL> archive log list;
    Database log mode              Archive Mode
    Automatic archival             Enabled
    Archive destination            USE_DB_RECOVERY_FILE_DEST
    Oldest online log sequence     396
    Next log sequence to archive   397
    Current log sequence           397
    SQL> alter tablespace test drop datafile 5;
    alter tablespace test drop datafile 5
    ERROR at line 1:
    ORA-03261: the tablespace TEST has only one file
    SQL> drop tablespace test;
    Tablespace dropped.
    SQL>Please read http://docs.oracle.com/cd/E11882_01/server.112/e25494/dfiles004.htm#ADMIN11428.
    Edited by: P. Forstmann on 19 mars 2012 18:53

Maybe you are looking for

  • Is there a way to output multiple waves to soundboard

    Working on two projects that could benefit from multiple sounds being played at once. 1st is a C64 SID emulator. The SID has 3 voices Each with there own ADSR and waveform. I can generate a single waveform with attack and decay and get decent sounds

  • Ghost lines in Pdf version 1.3

    Using InDesign CS3 In a document with type that has a drop shadow applied, when I make a pdf for print, PDF/X-1a:2001, there are white lines that appear around the type box in the pdf. These do not print on my inkjet printer. When I make a pdf with a

  • CONNECT BY LOV - includes join to another table

    I am trying to create a LOV that displays a dynamic list of clerks. I need the list to show everyone underneath the person logged in. I have been able to get a CONNECT BY statement to work that shows this for the organizations, but I need to link thi

  • Using global data in actionPerformed function

    i am giving the code snipet and want to know how is it possible to use an integer array in the actionPerformed function. If i use in the it as in the code following error is generated. Exception in thread "AWT-EventQueue-0" java.lang.NullPointerExcep

  • RSS Feed in Maverick Mail

    Before I updated to Maverick, I was able to get rss feeds. Now I can't. Any help or insight?