Delete with extent returning to the tablespace

When I delete all the rows from the table I can use:
'truncate table mytable drop storage'
and the extents are returned to the tablespace that table resides in.
Is something like this possible with the delete statement? If not - or if I just didn't use it - when the delete makes many extents empty, does Oracle automatically reclaim them?
Thx.

>>
when the delete makes many extents empty, does Oracle automatically reclaim them?
<<
Inserts into the table can and will refill the empty blocks given enough activity and over time but even if every block in an extent is empty Oracle does not release the extent back to the tablespace as freespace at least through 10g.
If you need to release the extents to the tablepsace for reuse due to space requirements then you would need to reorganize the table and its indexes. The alter table move statement can be used if enough free space exists in the tablespace to support the operation or exp/truncate/imp ignore=y can be used.
The question is how much space would be freed? How badly do you need it for other objects? And how long before the table would need to re-extend if you take the space away (or how long before the table would reuse the extents)?
You do not want to perform reorganizations just to do them. There needs to be a real benefit to yourself or your application from the work.
HTH -- Mark D Powell --

Similar Messages

  • Computer deletes installed programs at will, will not delete others, they return at the next log-in

    Computer deletes installed programs at will, will not delete others, they return at the next log-in. Some programs or hardware continue to operate even though you can't locate the programs or files on the computer. Will not disable some features when asked to.

    hello Ebenholmes, is this affecting your whole pc (in this case the problem is probably beyond the capabilities of the forum - you might have to install & setup your operating system from scratch again) - or is it only a problem within firefox? in the latter case please refer to [[How to fix preferences that won't save]], especially the part about the user.js file within your profile folder....

  • Deleted undo datafile before dropping the tablespace.

    i had accidently deleted a undo datafile which was no more needed before dropping the tablespace.
    i started up the database in mount stage by making that datafile offline.
    now while dropping the database it is giving an error.
    SQL> drop tablespace UNDOTBS1 ;
    drop tablespace UNDOTBS1
    ERROR at line 1:
    ORA-01548: active rollback segment '_SYSSMU1$' found, terminate dropping tablespace
    Do someone have a resolution. I dnt need this tablespace anymore.

    http://www.my-whiteboard.com/oracle-dba/how-to-drop-and-recreate-oracle-undo-tablespace-and-its-data-files.html may be helpful to you.

  • Field validation with cursor returning on the field in error.

    Hi,
    Is there a way to return the cursor to a specific INPUT field on an alv grid after a validation return an error on it?
    Thanks.

    Hi,
    Try using the method SET_CURRENT_CELL_VIA_ID..
    Please check this thread..
    Re: Can we scroll to the last page of an alv grid?
    Thanks
    Naren

  • Multiple issues with 14-f088CA over the last year

    Note I would like to have sent this as an email direct to HP support but could not find an address to send it to and so have not provided the serial number - this can be provided on request
    Ref: product # EOK29UA#ABL, windows 8.1
    I purchased a 14-f088CA laptop at future shop,  20 July 2013.  All worked well until Feburary 2014 when the touch screen stopped working.  At that time we carried out a system restore which did not fix the issue.  We therefore took the laptop back to Future shop who, following their diagnosis returned it to HP under warranty.  HP replaced the touch screen and the laptop was then returned to us.
    In June again the touch screen failed and so following another attempted system restore we again returned it to Future shop who sent it back to HP who again replaced the touchscreen (we received this back on 30 June).  At the time, having had the touchscreen fail on us twice we asked for a replacement or refund however this was denied us.
    The laptop worked on return but since it being returned the fan can be heard all the time (quite loudly).  In addition, the laptop, which has not had much actvity on it (hence only getting in touch now!), has frozen a number of times when it has been used.  The unit therefore clearly still has problems.  
    I note now that the 1 year warranty is complete and so Future shop will not progress this issue, however with two returns within the year and now a new problem that presumably developed with the latest  repair I would ask for your guidance on how to proceed with getting this fixed.  
    Although I understand that these things can happen with computers I will be severely dissappointed if HP beleive that the level of unreliability this unit has given us is to be considered reasonable and any issues are not their responsibility once out of warranty.
    I look forward to HP's response

    I have sent you a Private Message regarding this matter.
    eric-g
    I no longer work for HP.

  • Is there a setting to return to the inbox after deleting/filing an open email?

    Hi all,
    I'm running iPhone 4s. Is there a setting to have the mail client return to the inbox after deleting/filing an open email? It currently just opens the next email.
    Any help is greatly appreciated.
    Thanks.

    Hi,
    You could try is to '''Disable''' the Foxit, Adobe and Office '''Plugins''' in '''Tools '''('''Alt '''+ '''T''') > '''Add-ons''' and use the normal Firefox Open with (when you click on a link) to browse/open it in the required application.
    [https://support.mozilla.org/en-US/kb/Using%20plugins%20with%20Firefox Using plugins]

  • I have an error when installing apps on my mac from the apple store. It says "return to the purchase page and try again"... I think it is something to do with the installation process itself. I have tried to clear apple store cache, restarted apple s

    I have an error when installing apps on my mac from the apple store. It says "return to the purchase page and try again"... I think it is something to do with the installation process itself. I have tried to clear apple store cache, restarted apple store from debug menu, double checked my apple id account and etc..but doesn't work anyway.

    I'm having the same problem and went as far as to delete and reinstall the AppStore and still no dice.

  • TS1702 My garage band app has crashed & keeps returning to the main screen when I try to open it... I've tried most of the trouble shooting options with the exception of re-installing the app, because I fear I will lose a number of recent projects I have

    My garage band app has crashed &amp; keeps returning to the main screen when I try to open it... I've tried most of the trouble shooting chart (no updates available, tried restarting app, restarted device) all I have left is to re-install the app... My main fear is that if I do this I will lose a load of recent projects that are saved to the app that I've spent the last few days creating... Help...

    I have tried all those things I even updated the software to the new iOS system and it still did fix my problem.
    What happened is that my garage band looks like it will open then it shuts down.
    I have lot of important things on my garage band and I'm afraid that if I uninstall it deleting it then reinstalling it all my work on it will be gone and I can't have that happen.
    Everyday I am hoping that when i go to open the app that is will work but it doesn't it gets ready to turn on then it shuts off , the app doesn't even open all the way and turns off.
    I really hope I don't have to erase it.
    It'll say it's ,lading my songs then it shuts down .
    If I waited for the App Store to come up with an update for garage band should I wait till then to update my app so it doesn't get damaged . I don't want to erase it and all my data get erased . I figured if I wait for an update then my garage band will reset itself but won't delete my data. I'm not sure if that will help. Is there anything you or anyone else might know that can help me with this matter ?
    Thank you
    Simachyahi

  • Emails sent to me are sometime returned to the sender with the message "Inbox full" even though I have maybe less than 100 emails in the Inbox and I regularly compact them. How can I increase the storage space?

    Question
    Emails sent to me are sometime returned to the sender with the message "Inbox full" even though I have maybe less than 100 emails in the Inbox and I regularly compact them. I delete emails from the Inbox and the Sent and Trash boxes to overcome this. How can I increase the storage space to stop this happening?

    Hi terrybohle1938,
    Firefox is a web browser. It provides access to online content. Things like your email are handled by the content provider. Who is your email provider? You'll have better luck consulting their documentation.
    That being said, deleting only email is a great way to free up space. Another option would be to purchase a "Premium" account if your email provider offers this service. Many times more storage space is offered as part of paid subscription.
    Hopefully this helps!

  • IPad2 hangs during eBay search. goes to middle of page and will not allow you to go forward or back, but returns to the middle of the page. mouse can move cursor, but it goes back to the middle of the page. deleting app no good. only during search.

    Ipad2 hangs during ebay search and only during ebay search. goes to middle of page and you can move the mouse anywhere but the page returns to the middle of the page it jammed on. you can do other ebay things and no problem, just hangs during item search. deleted ebay app and reinstalled. same thing occurred again. can search with Safari. can go to other shopping pages and search is unhindered. this one has stumped the pros. need help. thanks.

    How are you using a mouse with an iPad?

  • Since upgrading to ios7.02 both safari and chrome browsers crash when I go to a page with the html5 music player on it.  It did not in the older system.  It is too bad I cannot return to the older system.

    What can be done?  Can I return to the older system? Bob

    The "MySearchDial" app needs to be removed in 4 places.
    1) Go to "add / remove programs" in your windows control panel select mysearchdial and remove it.
    2) Open your Firefox browser then click the Firefox tab at the top left and select options. You will need to change the start page settings back to your preferred start page.
    3) Again under the Firefox tab select "add-ons". In the add-ons manager you will need to remove mysearchdial from both "plugins" and "extensions"
    4) In your search bar (top right of address bar" use the drop down menu and select "manage search engines". You can restore your preferred search engine and remove mysearchdial from the menu.
    This should remove all the components of the nuisance hijacker and restore your browser back to your preferred settings. If you are comfortable with a more in depth removal I would also suggest going to your "programs" folder within the "C" drive of your machine and deleting the "MySearchDial" folder altogether. However, only do this AFTER you have uninstalled it from your system and if you are familiar with this type of removal.

  • Is ePrint email name returned to the pool of addresses if deleted or removed?

    Just want to know if I delete my ePrinter name from the web site, will that name be returned to the pool of available names or it that name now be blown for good? 
    Example:   Printer name - [email protected]
    If I delete this printer will the name - printerdownstairs be put back in for use so I can use it again with a new printer?  Or is printerdownstairs gone for good?
    Say thanks by clicking the Kudos Thumbs Up to the right in the post.
    If my post resolved your problem, please mark it as an Accepted Solution ...
    I worked for HP but now I'm retired!
    This question was solved.
    View Solution.

    Hello nastehu.
    The ePrint email address would be available again after 6 months.
    Cheers!
    Wixma.
    I am an HP employee.
    Say thanks by clicking the Kudos star in the post.
    If my reply resolved your problem, please mark it as as Accepted Solution so that it can be found easier by other people.

  • Delete data from DSO only with a part of the key

    Hi experts,
    I have a DSO with 9 key fields and i want to delete some entrys. Our source system only provides 2 fields of the key. My problem is, that the BI is not able to delete from DSO unless I have the full key.
    Now I want to get the rest of the key fields from the active table of the DSO. Can sombody help me please with the ABAP Code? Or is there another possibility?
    I already found this thred in SDN but this is for BW 3.5:
    Delete data from ODS with only part of the key
    Thanks
    Ralf

    Ralf,
    the thread pointed out by you is for passing deletion entries to the DSO / target using the deletion entries .. namely recordmode = D.
    Are you looking at deleting data from the DSO as a one time activity or you want to handle the same using a start / end routine ...? and pass deletion entries to other data targets which get the data from this DSO ?
    Arun

  • After updating I ended up with 4 icons on my desktop - I cannot delete any of them. The error message reads; "Cannot read from the source file or disk".

    I updated from the original version to 6.0.1 and when I re-started FF there were 4 icons on my desktop. I managed to delete one of them, but I cannot delete the other two - to leave me with just one.
    I get the error message of "Cannot delete file: Cannot read from the source fie or disk".

    Here's the meaning of the error that you received.
    "An error has occurred. ERROR :10-FC06-0002" -- may be caused by damaged recovery media or faulty hard drive"
    Possible that the problem is on the recovery also.
    Hope this helps.

  • I want to sync my I phone user name (my current e-mail address) with my iPad, PC user name (old e-mail address.) If I delete that current address in the iPhone, won't I also be deleting it in my other devices? They are synced. I don't want to lose it

    I want to sync my I phone user name (my current e-mail address) with my iPad, PC user name (old e-mail address.) If I delete that current address in the iPhone, won't I also be deleting it in my other devices? They are synced. I don't want to lose it. I just want to get it out of the way on my iphone so it doesn't confuse the transfer of ID names and then I want it back again..      I tried deleting the cloud account, being told the current e-mails would be spared. But all it did was pop up a prompt asking me for the password to my still current email ID. So I assume now that I have to go to mail and get rid of the e-mail account. But I'm scared I'll lose everything in my other devices too.

    You can change the email address you use as your apple ID. this doesn't mean you have to delete the old email address as email.
    When you delete an email from your device, it is only removed from the device, it does not delete your emails or the email account.

Maybe you are looking for

  • Question about storing music in iTunes

    I currently use iTunes in windows and everytime I put music into my itunes library and then delete it from My Music file in my computer, it doesn't delete the song from iTunes, but it doesn't allow me to play the song anymore on my computer. Why is t

  • I can't install weblogic server 10.3 found error

    I have install to 65% and found error. i want to know why i can't install weblogic server 10.3 (may be error was create by jdk or anything else Please tell me! ) and how many  problem  that can happen when install weblogic server 10.3 ps. - OS that i

  • Deployment question moving from VS2012 to VS2013

    If you already have a working VS2012 production app deployed, and you upgrade the app to VS2013, what do you need to do to the deployment server to get it to work?  The upgraded app will use the same external database, so the database does not need t

  • How can I download Podcast app for iOS5?

    My old iPod Touch that has iOS5.1.1 cannot install the latest Podcasts app (as well as loads of others like Gmail, YouTube etc). I found this after restoring the iPod and attempting to re-install the apps I want on it (which is just for listening to

  • Attendant Console in Multitenant Environment

    Hi Hopefully a quick question. A customer trades under multiple company names. They wish to have all four of the main DIDs coming to one Receptionist, using Attendant Console. Apparently, they have been told from someone at Cisco that it is possible