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?

Similar Messages

  • 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

  • When I rent a movie using Apple TV, it takes several hours to load and then I select watch later. When I go to my rented movies and try to watch it , it starts loading all over again. This can't be normal. Is there something that I am doing wrong?

    When I rent a movie using Apple TV,it takes several hours to load. At this point, I opt to watch later. When I try to watch the movie, it starts loading again and tells me that it will be ready to watch in one hour forty four minutes. This can't be normal. Is there something I am doing wrong? Any suggestions.

    If it's taking several hours then that is likely due to your internet connection. You can verify at speedtest.net
    6mbps required for instant 720P
    8mbps for 1080P
    You can switch to SD in the settings (which only requires 3mbps)
    You can also check istumbler or netstumbler for interference
    Make sure you are on your ISPs DNS
    The reloading is normal. There is no accessible storage on ATV. The small flash is used for caching streamed content, if you access other things or turn the device off it will be flushed.

  • DROP Tablespace - Taking long time.

    Hi Team,
    I am trying to drop the tablespace its taking too much time .. around half an hour..!!
    We have allocated that tablespace to the perticular user I am tring to kill the sessions for that user nut sessions are marking for kill but not releasing ..Please help..!
    TS is having only one datafile which is 500 MB
    DB version 10g RAC
    Thanks Mano.

    Hello,
    I am trying to drop the tablespace its taking too much time .. around half an hour..!!
    We have allocated that tablespace to the perticular user I am tring to kill the sessions for that user nut sessions are marking for kill but not releasing ..Please help..!I think you should wait for the Tablespace to be released and let the statement running.
    You may check from time to time the Alert.log and also check for the v$session_wait view:
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28320/dynviews_3023.htm
    Best regards,
    Jean-Valentin

  • My "big Mac" desktop iMac's fan occasionally runs rather loudy and the computer gets kind of hot.  This may last for several hours.  Is that normal and OK?

    My "big Mac" desktop's fan occasionally runs rather loudly and the top of the computer gets pretty warm.  This may last for several hours.  Is that normal and OK?

    Please check the article below for details on finding activities that are using a high percentage of the CPU. You may need to check when the computer is actually running hot to catch the culprit.
    Runaway applications can shorten battery runtime, affect performance, and increase heat and fan activity

  • 'Erase All Content and Settings' i selected it and it's taking too long it's not even loading! Is it really tooks a several hours ? is there any problem how can i fix it. Please tell me

    'Erase All Content and Settings' i selected it and it's taking too long it's not even loading! Is it really tooks a several hours ? is there any problem how can i fix it. Please tell me

    Likewise bro... atleast mine has the Apple logo... and the circular thing... I saw this online and i'll be trying it ASAP... http://support.apple.com/kb/HT1808

  • 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 Temporary Tablespace!

    Hi All,
    I have tried dropping my old temporary tablespace TEMP after making new TEMP2 as default.
    All the users (checked in dba_users) are using TEMP2 as default temporary tablespace.
    Now, issue is when I am trying to take TEMP offline and dropping it some of the users are not able to open the forms.
    Please suggest, is it necessary that I must do this activity after taking a proper downtime or I can do it in business hours.
    Thanks,
    Anchorage

    It's done now!!!
    Actually issue was
    You cannot drop a tablespace if it contains any rollback segments holding active transactions.*
    Try to check whether any one using the temp segments or not on query "v$sort_usage"*
    If it returns the rows, the sessions are using the temp tablespace. Once the Sessions Closes then the the command execution will be completed, else you and go head and kill the session with respect to session Id.*
    Which was been explained to me by Pavan in General Database Forum!
    I have killed the active session and it was success!
    Anchorage

  • Drop Temp Tablespace

    DB 10.2.0.4
    AIX 5.2
    PROD
    I am trying to drop temp tablespace as below command. It is running since nine hours I am not understand why it is taking too much time. FYI I have created a new temp and assigned to default temporary tablespace. Even I connected with new session and run “drop tablespace temp” it is also running since one hour. Suggest me.
    DROP TABLESPACE temp INCLUDING CONTENTS AND DATAFILES;
    Thanks

    user11969485 wrote:
    FYI Holder session is "oracle@devdb (SMON)"
    Edited by: user11969485 on Jan 7, 2012 12:49 AMYes, Looks like you hitting a BUG.
    Check this note Bug 3833893: SMON GETS "TT ENQUEUE" OF TEMP IF DATEFILE OF TEMP DOESN'T EXIST
    It saying to drop files from mount status. Lets try :)
    Keep Close the Threads, So it meaningful as those answered.
    user11969485      Newbie
    Handle:      user11969485
    Status Level:      Newbie (10)
    Registered:      Oct 27, 2009
    Total Posts:      302
    Total Questions:      66 (57 unresolved)
    Edited by: CKPT on Jan 7, 2012 2:36 PM

  • Erasing all content and settings from my iPad is taking 8+ hours...

    I wanted to erase all content and settings from my iPad. I started the process at 2pm and it is now 10:20pm. It has been stuck on the loading circle going round and round for more than 8 hours now... is this normal? What should I do? and is there anything that can fasten up the process. My iPad is an iPad mini 16GB WIFI white, on either iOS 7.1.1 or iOS 7.1.2 and most of the storage was taken up, is that why its taking too long?

    Hello ceburton,
    After reviewing your post, it sounds like Erase All Content and Settings is taking a while to finish. I would recommend that you read this article, it may be able to help the issue.
    iOS: Understanding 'Erase All Content and Settings' - Apple Support
    When you select to "Erase All Content and Settings," the process can take from a few minutes to several hours. The time this process takes will vary by iOS device:
    Thanks for using Apple Support Communities.
    Have a nice day,
    Mario

  • Sending through JavaMail starts to fail after several hours

    I have a strange problem send messages through JM.
    I have two applications, running on Jboss, regularly sending messages to external domains through javamail. On application startup, both work absolutely fine, for several hours.
    However, after a certain amount of time (have not been able to determine if this is fixed period of time, or certain number of sent messages), both applications cease successfully sending email, giving the exception (every time):
    Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 550 relay not permitted
    at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1047)
    at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:584)
    at javax.mail.Transport.send0(Transport.java:169)
    at javax.mail.Transport.send(Transport.java:98)
    The mail server is postfix, running locally - so this is not the normal "not configured as relay" issue. When everything is working fine, the postfix logs contain mailing information, but once the failures begin, nothing is in the postfix logs at all. This leads me to think that the problem is in the java. Especially as restarting (or redeploying) the applications resolves the problem for another few hours.
    Any ideas?
    cheers
    phil

    The error message you're getting is the error message the
    server is sending. You need to figure out why the server
    is sending that error message.
    One thing that might help debug the problem is to keep
    the debug log files for every session, at least until you
    know the send is successful. If a send fails, save the
    debug log file for later examination. Then you can see
    the entire protocol trace with the server.
    See the Session.setDebugOut method.
    One possibility here is that you're running into a bug in
    your application that, after some time, causes it to lose
    your session configuration properties, which could cause
    it to fail to authenticate, or even cause it to connect to the
    wrong server. Look for race conditions in your application.

  • IMac very slow after several hours of use, esp. when using Photoshop

    Hi all,
    I have a fairly new iMac (mid-2008 20" model) with a 2.4ghz Intel processor. I am a web designer and use this machine every day for my work. Several months after installing Adobe Creative Suite 3, I noticed that Photoshop was causing the cursor to jump and/or become jerky, as if the video card or processor were not keeping up with what's going on. This tends to happen after the computer's been in use for several hours or days after a restart. I have been following this in Leopard's Activity Monitor, and I noticed that Photoshop (being memory- and processor- hungry) taxes the processor more heavily than many other programs, which I expected. The strange thing, though, is that over time the Activity Monitor shows the "System" as taking up more and more processor capacity. I.E. when I first start up, the system is using 0-20% of the processor, the rest being available for the user; but after awhile, the system is requiring 50-90% of processor capacity, the result being that as soon as I switch into Photoshop from another program, the system is immediately overtaxed and starts moving very slowly (especially the cursor, as I said).
    Now, here's the really strange part. As I said, this began happening a few months after I first installed Adobe CS3. I re-installed the software at Adobe's recommendation, and it was fine for another few months, but it began happening a few days ago, which is exactly the same time I shared a jump drive with a friend's worm-infected Windows XP machine. I know Macs don't get Windows worms, but is it possible that this thing has lodged itself on my system somehow and is causing it to run generally more slowly?
    I appreciate any help you can give,
    Nathan

    Hi Nathan,
    How much free disk space is available? Right or control click the MacintoshHD icon on your Desktop, then click: Get Info. In the Get Info window, click the discovery triangle so it's facing down. You will see; Capacity and Available Make sure you have 10% available disk space, 15% is way better.
    Not enough disks space could certainly slow your Mac down.
    " but it began happening a few days ago, which is exactly the same time I shared a jump drive with a friend's worm-infected Windows XP machine. I know Macs don't get Windows worms, but is it possible that this thing has lodged itself on my system somehow and is causing it to run generally more slowly"
    Mac can't read Windows files, so a file from the jump drive shouldn't be an issue unless you are running Windows on your Mac? via Boot Camp?
    If you don't have a disk utility that can clear log and caches files, get TinkerTool available here;
    http://www.versiontracker.com/dyn/moreinfo/macosx/11967
    Check your boot disk for errors: Open Disk Utility, in the Utilities folder in the Applications folder.
    Select your disk, and click First Aid.
    Click Verify Disk.
    If the disk needs repairs, do one of the following:
    Insert your Mac OS X Install disc in your computer’s optical drive or an optical drive connected to your computer, and then restart your computer. When you hear the startup tone, hold down the C key until you see the progress indicator, which looks like a spinning gear.
    Follow the onscreen instructions until the menu bar appears with the Utilities menu in it, choose Utilities > Disk Utility, click First Aid, and then click Repair Disk.
    Restart your computer using Remote Install Mac OS X. Follow the onscreen instructions until the menu bar appears with the Utilities menu in it, choose Utilities > Disk Utility, click First Aid, and then click Repair Disk.
    Carolyn

  • I bought download Adobe Premier elements last year. It is on my old computer which is not powerful enough.  I have a new computer that is, I bought and upgrade for $69 but have got no where after several hours.  what do I do

    I bought download Adobe Premier elements last year. It is on my old computer which is not powerful enough.  I have a new computer that is, I bought and upgrade for $69 but have got no where after several hours.  what do I do?

    What are you trying to do?  What actions are you taking?  What happens when you try?

  • Dropping Undo Tablespace 9i

    Hey Folks,
    I really need some help here.
    I'm trying to drop/recreate the undo tablespace (currently 25gig) Oracle 9i
    When I try to drop the undo tablespace 'UNDOTBS1' I get the following error:
    “ORA-01548: active rollback segment '_SYSSMU1$' found, terminate dropping tablespace”
    Here's what I have tried so far:
    - Bounced the DB several times hoping to get rid of the reference to the active rollback segment. No luck.
    - Created a new undo table space
    - Tried 'Alter system set undo_tablespace=new_one' (noticed that 10 new rollback segs were created '_SYSMU11$..SYSMU20$' pointing to the new undo tablespace)
    - I then performed an offline drop of the undo tablespace data file. After the offline drop, the system rollback segs SYSMU01$..SYSMU10$ went offline as would be expected.
    - Even with the new undo tablespace, all other application tablespaces still use the old undo which due to the offline drop, no inserts, deletes, etc. will work.
    After all the above, I still get the same error when trying to drop the undo tablespace.
    Any ideas? Ideally I would like to be able to drop the undo tablespace and recreate it, but at this point I'd be happy to bring back the undo tablespace datafile so we can at least use the database again.
    Thanks in advance!!
    Colin

    SQL> show parameters undo
    undo_retention integer
    10800
    undo_suppress_errors boolean
    FALSE
    undo_tablespace string
    UNDOTBS03
    r.- The undo tablespace which the database is looking for is this one ( UNDOTBS03 )
    What is strange about the lines above is that I have
    all those params above commented out in my
    \pfile\init.ora file (and have bounced the db).
    I’m not sure why they are still showing up.
    r.- Perhaps your instance is started with the spfile instead of the init file
    Here's what we did after the UNDOTBS1 tablespace
    caused the disk to run out of space during a large
    import (from now on we are going to use commit = y):
    1. Created a new undo tablespace UNDOTBS03 - got
    errors so instead we to created it as a temp
    tablespace UNDOTBS03 which worked. r.- Yes, but that tablespace was created as a UNDO TABLESPACE ?
    2. Tried to drop UNDOTBS1 got the following error
    msg:
    ORA-01548: active rollback segment '_SYSSMU1$' found,
    terminate dropping tablespacer.- Of course, the database did not allow to drop it beacause there were pending transactions
    3. SQL> alter system set undo_tablespace =
    'UNDOTBS03' scope = both. Tried dropping UNDOTBS1.
    Same error as in #2 above.r.- There were still pending transactions with the older undo tablespace
    4. We then offline dropped the datafile associated
    with UNDOTBS1 hoping that would then allow us to drop
    UNDOTBS1. Same error as #2.r.- That was the worst you did. You can not drop a tablespace so...
    5. Then tried creating a undo tablespace again:
    Create UNDO tablespace undo_temp
    datafile 'D:\oracle\oradata\usbperf\undo_temp.DBF'
    size 25m autoextend on;
    Error on line 0
    Create UNDO Tablespace undo_temp
    datafile 'D:\oracle\oradata\usbperf\undo_temp.
    ORA-00604: error occurred at recursive SQL level 1
    ORA-00376: file 2 cannot be read at this time
    ORA-01110: data file 2:
    'D:\ORACLE\ORADATA\USBPERF\UNDOTBS01.DBF'
    So that’s where we are. I'm guessing that the
    original undo tablespace corrupted when it tried to
    extend and ran of disk space?
    Thanks again for the help.
    Colin ok I can guide to solve this but you have to do what I am going to tell you step by step. Is this a production database ?
    Joel Pérez
    http://www.oracle.com/technology/experts

  • Messages taking 2 hours to process .

    Hi
    our system is getting very slow with below warning every second
    The adapter failed to transmit message going to send port "SendPort" with URL
     "". It will be retransmitted after the retry interval specified for this Send Port.
    Details:"System.Transactions.TransactionException: The operation is not
    valid for the state of the transaction. ---> System.TimeoutException: Transaction Timeout
    a single file is taking 2 hours to process .
    probem got resolved by restart the host instance but i want permanent solution .
    Regards,

    Hi Mohit,
    If this happens for all the message in your BizTalk farm, then this issue is due to general health of the server but if it happens to a specific processing then this issue
    is due to transaction between BizTalk and your destination system. I feel it’s more to do with second case –between BizTalk and a specific destination system.
    Seems like you’re using some transactional adapter..may be WCF-SQL or SAP etc..anyway.
    This issue normally occurs if the transaction handshake between BizTalk and destination has not happened on time. You can review you send port’s adapter’s time out property
    (it different for adapter used). Check the status of the transaction/message at the destination systems.
    Ideally, if a transaction takes longer time, it shall timeout and fail,check your timeout setting for timeout. One option on this to update machine.config file which will
    change timeout setting for entire System.Transactions Namespace as mentioned in the following blog (this article not specific to WCF-SAP adapter, this discuss about
    transaction timeout):http://blogs.msdn.com/b/biztalknotes/archive/2013/05/03/timeout-issue-with-wcf-sap-biztalk-adapter.aspx
    If this happens for the entire message (or atleast to 
    most, find th
    e pattern)
     in your BizTalk farm, then this issue is due to general health of the server try running the messagebox viewer as you know and check the performance monitor.
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

Maybe you are looking for

  • TV Episodes playing in 4:3

    Hi Everyone! First off, apologies if someone has asked this before! I'm a new mac user, and bought myself a Mac Mini yesterday. I hooked it up to my TV, when I play Itunes downloaded movies, they play in the regular widescreen format, but all the tv

  • HT5622 We have 3 PCs, 2 iPads, 1 iPhone, a MacBook (and a partrige in a pear tree), how do set up 1 itunes library?

    I have an individual appleID (2 PCs, 1 iPad, 1 iPhone), my son has an individual appleID (1 iPad, 1 MacBook), and my daughter has an individual appleID (1 iPad, 1 PC).  I would like for us to have 1 itunes library that we sync to network attached sto

  • How to get files of a dmg thats not recognized after a drive recovery

    I just had to recover my hard drive I managed to recover my .dmg files that I created with a pass word using disk Image. Now when I go to open the dmg it ask me for the pass word I type it in and get this message ....Unable to attach "C-00055.dmg."(n

  • How to bind manually created recordsets in DW bindings tab..??

    I've got a little problem where I'm working with XML web services to get product data to my web site. I'm actually parsing all of the XML data and feeding it into an ASP recordset in my page manually. I have a 3rd party shopping cart (Web Assist eCar

  • Cannot distribute secured form.

    Hi Everyone, Using Livecycle Designer ES2 9, with Acrobat Pro 10.0.3. Standalone implementation. When attempting to distribute a secured form, Acrobat displays "Acrobat is unable to distribute this form because of the form's security settings." The f