Tablespace does not release after deletion

Hi all

When I delete table records using delete statement that space in the tablespace is not free.

Can anyone please suggest what could go wrong, that all I can check to find the root cause.

Once we find the cause I also need help with its solution.



Thanks in advance.
Shivam Goel

user4198564 wrote:
Hi all

When I delete table records using delete statement that space in the tablespace is not free.

Can anyone please suggest what could go wrong, that all I can check to find the root cause.

Once we find the cause I also need help with its solution.

Thanks in advance.
Shivam Goel

This is how it works.

http://download.Oracle.com/docs/CD/E11882_01/server.112/e10592/statements_8005.htm#i2117787
"
Any table or space index released by the deleted rows is retained by the table and the index.
"

And a good discussion on the subject:
http://asktom.Oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:1336002638218

If you need to reclaim space, say if you did a MASSIVE deletion and don't expect not inserted volume similar to that which had been deleted any time soon (new data will occupy the space that has been free'd to the top of this deletion) then you could look
http://download.Oracle.com/docs/CD/E11882_01/server.112/e10897/storage.htm#ADMQS12071

Tags: Database

Similar Questions

  • Memory of the computer on the Local C drive does not increase after deleting all the photos and the video.

    On my computer, the operating system is Windows Vista Home Premium. I am facing a problem, in which case, the amount of gigabytes, on the Local C drive.

    does not increase after remove/delete all the photos and video to my computer.

    I've done a disk cleanup.

    Any help will be greatly appreciated.

    Elliott R.

    Hello

    Check if the files that has been deleted and still resident in the trash, if so, empty the trash.

    http://Windows.Microsoft.com/en-us/Windows7/permanently-delete-files-from-the-Recycle-Bin

    Method 1;

    I suggest that you run the System File Checker.

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7

    http://support.Microsoft.com/kb/929833

    Method 2: Test the issue in a new user account.

    Create a user account

    http://Windows.Microsoft.com/en-us/Windows7/create-a-user-account

  • the number of the leaf_blocks does not diminish after deletion

    Hi all

    This may the example of Tom book < < expert oracle database architecture > >, can we explain why oes leaf_block does not diminish to 523 after deletion.
    DB version is 10.2.0.3, SEGMENT MANAGEMENT MANUAL of SPACE in the system tablespace
    sys@CS10G> drop table big_table purge;
    
    Table dropped.
    
    sys@CS10G> @big_table
    
    Table created.
    
    
    Table altered.
    
    Enter value for 1: 500000
    old   3:     l_rows number := &1;
    new   3:     l_rows number := 500000;
    Enter value for 1: 500000
    old   9:         where rownum <= &1;
    new   9:         where rownum <= 500000;
    
    PL/SQL procedure successfully completed.
    
    
    Table altered.
    
    
    PL/SQL procedure successfully completed.
    
    
      COUNT(*)
    ----------
        500000
    
    sys@CS10G> declare
      2  l_freelist_blocks number;
      3  begin
      4  dbms_space.free_blocks
      5  (
      6  segment_owner => user,
      7  segment_name => 'BIG_TABLE_PK',
      8  segment_type => 'INDEX',
      9  freelist_group_id => 0,
     10  free_blks => l_freelist_blocks
     11  );
     12  dbms_output.put_line(' block on freelist = ' || l_freelist_blocks);
     13  end;
     14  /
    block on freelist = 0
    
    PL/SQL procedure successfully completed.
    
    sys@CS10G> select leaf_blocks from user_indexes where index_name = 'BIG_TABLE_PK';
    
    LEAF_BLOCKS
    -----------
           1043
    
    sys@CS10G> delete  from big_table where id <= 250000;
    
    250000 rows deleted.
    
    sys@CS10G> commit;
    
    Commit complete.
    
    sys@CS10G> declare
      2  l_freelist_blocks number;
      3  begin
      4  dbms_space.free_blocks
      5  (
      6  segment_owner => user,
      7  segment_name => 'BIG_TABLE_PK',
      8  segment_type => 'INDEX',
      9  freelist_group_id => 0,
     10  free_blks => l_freelist_blocks
     11  );
     12  dbms_output.put_line(' block on freelist = ' || l_freelist_blocks);
     13  end;
     14  /
    block on freelist = 520
    
    PL/SQL procedure successfully completed.
    
    sys@CS10G>
    sys@CS10G> select leaf_blocks from user_indexes where index_name = 'BIG_TABLE_PK';
    
    LEAF_BLOCKS
    -----------
           1043
    Published by: Sidney Chen on August 15, 2009 15:10

    Sidney Chen wrote:
    Hi all

    This example from the book of Tom >, anyone can explain why oes leaf_block does not diminish to 523 after deletion.

    It's just the way it works - when a block of sheets is emptied, it is related to the non freelist, but is also related to the appropriate location in the structure of the index. It will be detached from the structure by a coalesce, or when it is necessary to use a free block to manage the new Oracle data.

    If you want a few reasonable guesses why:


      (a) it's probably easier to deal with read-consistency of the index
      (b) separate a block of the structure is expensive (you need to change the blocks to the left, right and above), Oracle takes the bet that you are likely to re - insert data in the same block in the near future.

    Concerning
    Jonathan Lewis
    http://jonathanlewis.WordPress.com
    http://www.jlcomp.demon.co.UK

    "Science is more than a body of knowledge; It's a way of thinking. "
    Carl Sagan

  • Windows Windows 8 does not properly after deleting important files to user (already tried everything I found things different from +-10)

    well, I'll start from the beginning.

    the first big mistake I did was change the permissions of the administrator until he was the same trustedinstaller (without this I wouldn't do stupid things, but I did it for a change of details in the registry)

    the strange thing that I've been in conflict with, is that this pc was my mother, so everything to his e-mail address and his name 'Nancy' after some time she gave me the pc so I made my own top user account named "maxim" (that's my name) on my email address and probably deleted the user account from my mother named Nancy so no problem until something has started to bored

    the usersection in solution under C: contained Explorer still card Nancy with some of its documents on the left and some (I have something windowsrelated files)

    so I thought why not remove that card and saw that a card with my name was there too in the usersection, these same unknown files which I think are windowsrelated (btw, these files were hidden but ofcourse to check everything I have chekced the area to see hidden files in Explorer)

    I know not the name of all the files that I have demolished within this named Nancy in user card, but as far as I know, is that files that I noticed (these hidden files) are 7 files ntuser and those who are also in the plan named maxim in this usersectionso I thought no problem and delete the files as managed (with edited permissions)

    now I certainly delete files that I wasn't allowed to, and who were required to run windows properly, I know that, because of the errors, I am when I try to start things or when I try to fix things

    now I searched a LOT on the web especially in the microsoft forums and I fount a lot of 'solutions' that did not work for me

    most of the time, it was because I get an error because I could not more process these configurations etc.

    and somethimes as the scan SFC, he said that the correction of some problems, but there are many problems left that cannot be repaired in this way

    also almost everything I'm doing atm (also when I try to fix my problem) that I have to do with a big traverse most of the time I use "this run dialog box" or the command prompt

    now, these are all the things I tried

    -each 2013 thing tuneup utilities can do (scans included registery) of course I don't know the exact names of the files important I lost so I couldn't those used with tuneup

    -do you have some full scans with Norton 2013 (did not find any problem)

    -does this scan SFC and said there are still problems and has not noticed any difference

    -tried to update my pc did not work (missing windows services)

    -a tried to restart something in the registry did not work (missing windows services)

    -tried to make a new user on my pc did not work (missing windows services)

    -also tried lots of windows, fix things program (I forgot the name of it, but he could only tell me that he had problems and could not fix their)

    I'm shure that I have tried many other things so I mentioned in any case but I forgot the

    Many thanks if someone can help me out as sorry for the great story, but I wanted to tell all I know because it's a sensitive issue and please don't mind my bad English :)

    Maxim

    Your Windows product key can be printed on a label located on the underside of your laptop, if you don't you won't have it. Using the recovery partition, it is a good idea if you have no recovery on a disk media, often there is a Windows repair option, you can try this, however if there is no data on the first partition that you interested, I recommend you just format the partition for essentially erase everything on it and reinstalling Windows on the recovery partition. This will probably not require you to reactivate Windows by using the product key.

    If you cannot use the recovery partition to reinstall Windows, then you can go to this page (on the computer that is working properly) http://windows.microsoft.com/en-us/windows-8/upgrade-product-key-only and click on install Windows 8, save the file, run it and choose Install by creating media. This you will get an ISO file that you can burn on this disc you mentioned, just put the disc in your computer, right click on the ISO file and choose burn. It should also not ask to reactivate Windows, if you did no major hardware changes to the computer.
    Again, I would like to know if you need help with any of these steps or if none of these steps work for you.
  • Time space capsule from the OLD account not released after deleting account...

    Help!  I had an old installation 'account' on the Time Capsule for tim machine backups.  The account has been using more than 2.5 TB of the available 3 TB and causing all backups to fail without space.  The machine which was supported until the account had a HDD 500 GB while it was difficult to understand how he was taking so much room so fast.  I finally understood that the .inprogress file has not been cleaned and had leftovers backups.   I tried everything to remove/reset it but nothing worked so I finally just deleted the account on the Time Capsule via airport Util expecting that all space used by that account would be released - but no, it wasn't.  Now all space is exhausted and I can't seem to find a way to connect to the root drive or to somehow be cleaned and released!

    How to solve this without losing the backups of the other accounts that share this time Capsule for their respective Time Machine backups?

    Do you mean that the hard drive Time Capsule... called 'Data', unless you changed the default name... are not accessible using the Finder... or... the Finder / order... or, you aren't sure how to access the Time Capsule disk?

    Are still using OS X (10.7.4) on your Mac, as you indicate in your profile?  If this is not the case, what operating system is currently installed?

  • After updating Firefox, Downloadhelper does not, even after deletion and reinsert. He turns and runs, but is not complete.

    I used DownloadHelper for years and have not had this problem before. He started about the time I did the update to Firefox, but I don't know which was the exact trigger. It seems you are trying a download that something is listed in the list of downloads of Firefox, but it never ends. I also tried to install video downloader 1 - click on You-tube and had the same problem.

    I did not use DownloadHelper 5, so the problem must be something else, and it also happens with 1-click YouTube Downloader.

  • Printer does not print after canceling a print job even if I deleted the queue and stop the printer and the computer.

    Re Vista - printer does not print after canceling a print job even if I deleted the queue and stop the computer and the printer and restarted.

    Hello

    ·                         try to uninstall and reinstall and use the latest printer drivers VISTA for your model of the manufacturer of the printer

    You can also track information to try to solve your problems of printer below

    read the printer correct that information the slot microsoft, including the 'fix - it' and the information of the links to the other

    Solve printer problems

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-printer-problems

    and read this microsoft tutorial too

    Introduction

    This tutorial is designed to help you identify and fix the problem printer common windows problems, including print errors, or errors, and other issues that could prevent you from printing. This tutorial does not cover printing problems related to specific programs. Printing problems can be caused by cables that are not properly connected, corrupt, drivers, incompatible drivers, the printer settings, missing updates and problems with your printer.

    How to use this tutorial

    For best results, complete each step before move you on to the next. Try to print after each step before moving on to the next step.

    http://Windows.Microsoft.com/en-us/Windows/help/printer-problems-in-Windows

  • Thunderbird does not start after upgrading 38.2.0

    There was no message that update failed - not open - does not restart after you send crash report.
    Crash report:
    AvailablePageFile: 7213977600
    AvailablePhysicalMemory: 2086785024
    AvailableVirtualMemory: 4146671616
    BlockedDllList:
    BreakpadReserveAddress: 47185920
    BreakpadReserveSize: 67108864
    BuildID: 20150813074416
    CrashTime: 1440425027
    E-mail: [email protected]
    InstallTime: 1440383185
    ProductID: {3550f703-e582-4d05-9a08-453d09bdfdc6}
    ProductName: Thunderbird
    ReleaseChannel: press release
    SecondsSinceLastCrash: 151
    StartupTime: 1440425018
    SystemMemoryUsePercentage: 75
    Ramjet: 1
    TotalPageFile: 17159360512
    TotalPhysicalMemory: 8580620288
    TotalVirtualMemory: 4294836224
    URL:
    Seller:
    Version: 38.2.0

    Thanks for posting your ID numberes accident, which can be found using https://support.mozilla.org/en-US/kb/mozilla-crash-reporter-tb#w_viewing-crash-reports

  • Https: / specific page does not load after udate to 38.05

    https://my.albertahealthservices.ca
    does not load after update of 38.05 on my desk.

    I tried it on my laptop and it will load BUT after having been undated to 38.05 also failed to load this page.

    Other secure pages (Bank) loading OK

    Works well in Chrome and IE

    Error message:
    The secure connection failed

    The connection to my.albertahealthservices.ca while the page is loading.

       The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
       Please contact the website owners to inform them of this problem.
    

    Thank you
    Brian

    The site may attempt to return to a lower version of TLS in a way that is no longer allowed in current versions or maybe use a deprecated suite of encryption.

    You can open the topic: config page through the address bar and use the search bar to locate this pref:

    • Security.TLS.insecure_fallback_hosts

    You can double-click the line to edit the prefs and add the FQDN (my.albertahealthservices.ca) to the value of this preference.
    If there are already websites (domains) in this list, then add a comma and the new domain (without space).
    There should be only areas separated by a comma in the column value (example.com,www.example.com).

    If this help you can contact this Web site and ask them to look into this and update their security.

  • Dashlane module does not work after updating firefox 33.1.1

    The add-on dashlane does not work after last update of firefox for 33.1.1. Gray Impala stays and seems to be offline. Re-install the add-in dashlane does not work, delete also en reinstall firefox does not work.
    I am running dashlane and firefox on mac 10.10.1

    Solved!
    Today there was an update of dashlane in the app store; This was the solution for this problem.

    Thank you

  • The browser does not start after you have turned off and turned on the computer

    The browser does not start after you have turned off and turned on the computer. I tried to remove the program entirely (as well as personal preferences), to create a new account, install a different browser versions. All this has not helped. (I have Windows 7). Help, please! Every day I have to reinstall Firefox!

    Hello Nastena, try a clean reinstall, some Firefox issues can be resolved by performing a clean reinstall. This means that you Remove Firefox program files and then reinstall Firefox. Please follow these steps:

    Note: You can print these steps or consult them in another browser.

    1. Download the latest version of Firefox from http://www.mozilla.org office and save the installer to your computer.
    2. Once the download is complete, close all Firefox Windows (click on quit in the file menu or Firefox).
    3. Remove the Firefox installation folder, which is located in one of these locations, by default:
      • Windows:

        • C:\Program Files\Mozilla Firefox
        • C:\Program Files (x 86) \Mozilla Firefox
      • Mac: Delete Firefox in the Applications folder.
      • Linux: If you have installed Firefox with the distribution-based package manager, you must use the same way to uninstall: see Install Firefox on Linux. If you have downloaded and installed the binary package from the Firefox download page, simply remove the folder firefox in your home directory.
    4. Now, go ahead and reinstall Firefox:
      1. Double-click on the downloaded Setup file and go through the steps in the installation wizard.
      2. Once the wizard is completed, click to open Firefox directly after clicking the Finish button.

    Please report back to see if this helped you!

    • Also check if your antivirus or other access security software (firewall, antispyware etc.) blocks firefox.

    Thank you

  • Satellite A300D-15B - Webcam does not work after upgrade to Windows 7

    My webcam does not work after upgrade to Windows 7. I installed the drivers but still having no luck

    Hey Buddy,

    What does it mean exactly when you say he won t work?
    You get an error message or only a black image? What model of laptop you have and that you use the Toshiba Windows 7 upgrade kit or a disc of Microsoft?

    At this moment I can only offers to install latest driver of the webcam of the official website of Toshiba. Make sure that this driver is released for Windows 7 and not Vista.

  • Z460, Ethernet does not work after wakes up after hibernation

    Hi, I used Ideapad Z460 for nearly 3 months. I have this problem. Ethernet does not work after wakes up to the top of hibernation. I have already updated the bios to the lates version (release date: 14/02/2011) but still this problem. Someone has an idea?

    Thanks for reading!

    try reinstalling power management, the default settings of the bios and also try this:

    Right click on my computer > manage > device management > network cards > select ethernet adapter > properties > under power management tab, clear the check box to be able to save "allow the computer to turn off this device to save power".

    Restart your computer and check if it works.

  • my dvd is battery and does not open after that I tried to install a program.

    Hello

    I started to install a program on my laptop.

    The installation did not pass. And the cd is stack on the disc and does not open.

    On my computer, it does not see the drive that reports to the Conference on disarmament.

    shows that C; and f:

    Hello Arturomaduro,

    By "stack" I assume you mean that the CD/DVD is 'stuck' in the player and you cannot get the drive to open it? The most important thing right now is to get the DVD from the drive. You have two options.

    1 / restart your PC and press the eject button on the CD/DVD drive to see if the drive open and release the CD/DVD. Normally, this should do the trick.

    2 / if my first option does not release the disc caddy, you will need a large paperclip and bend straight. Take a look at the front of your DVD drive and you should see a small hole. This is usually placed near the eject button. Make sure that your PC is off and you have removed the plug from the socket. Now insert the straigtened paper clip into the hole and the 'push' the draw caddy should now begin to open (or open completely). If it opens only paritally, then gently pull the draw caddy until it opens completely and then remove the CD/DVD. After removing the CD/DVD push the caddy draw lots to close. Be sure to gently push to clear the draw caddy.

    Maybe it's just a unique and the player will operate normally afterwards. If she keeps refusing to eject a CD/DVD, there may be something wrong with the CD/DVD unit itself.

    This forum post is my own opinion and does not necessarily reflect the opinion or the opinion of Microsoft, its employees or other MVPS.

    John Barnett MVP: Windows XP Expert associated with: Windows Expert - consumer: www.winuser.co.uk | vistasupport.mvps.org | xphelpandsupport.mvps.org | www.silversurfer-Guide.com

  • My screen goes black and the start menu does not load after start up logo and the only thing on the screen I see is my mouse pointer

    My screen goes black and the start menu does not load after start up logo and the only thing on the screen I see is my mouse pointer

    Hello

    You can access Mode safe? Repeatedly press F8 as you start? If yes you can try Control Panel - device
    Manager - graphics card - Double click on - driver tab - click on UPDATE driver - then right click
    on devices and UNINSTALL - REBOOT.

    Another method to try to get to the desktop (try in normal Windows Mode without failure)
    CTRL + ALT + DELETE and on the tab process EXPLORER.exe and COMPLETE the PROCESS on this subject - then
    on the Applications tab - lower right - new task - type in EXPLORER.exe. Safe mode is reached
    by tapping F8 as you start several times.

    First check this thread in case it is simple and if not to come back to this thread.

    http://social.answers.Microsoft.com/forums/en-us/vistaprograms/thread/50247d5e-0ae0-446c-A1bd-11287fd1478a

    Black screen problems are extremely difficult to repair and all patch is usually on a base hit or miss.
    That there is no information on a black screen as it is on a blue screen just adds to the
    Difficulty. Often using a restore point or Startup Repair will have no effect. You can try a
    Google to see the proposed repairs, whom some have worked however these cover a wide
    field efforts.

    Here's a video of one of them.

    http://www.Google.com/search?hl=en&q=black+screen+of+death+Vista&btnG=search&AQ=f&OQ=&AQI=G1

    Here's another fix
    http://blogs.PCMag.com/SecurityWatch/2008/12/the_mysterious_black_screen_of.php

    You have a Vista disk? You can try restoring the system to it. If you do not have your system disks
    manufacturer will sell them at low prices. Or try in safe mode if you can get there.

    How to make a Vista system restore
    http://www.Vistax64.com/tutorials/76905-System-Restore-how.html

    You can create a recovery disc or use someone even version (to do the system restore there only to)
    being bootable).

    How to create a Vista recovery disk
    http://www.Vistax64.com/tutorials/141820-create-recovery-disc.html

    ------------------------------------------------

    These require the correct Vista discs since you can not start safe mode.

    Try the Startup Repair tool-

    This tells you how to access the System Recovery Options and/or with a Vista disk
    http://windowshelp.Microsoft.com/Windows/en-us/help/326b756b-1601-435e-99D0-1585439470351033.mspx

    Try recovery options Startup Repair

    How to do a startup repair
    http://www.Vistax64.com/tutorials/91467-startup-repair.html

    -----------------------------------------------

    Here are a few Google searches where many have found different solutions:

    Vista black screen - check that a 1st
    http://www.Google.com/search?hl=en&source=HP&q=Vista+black+screen&AQ=f&OQ=&AQI=G10

    Vista black screen Solution
    http://www.Google.com/search?hl=en&q=Vista+black+screen+solution&AQ=f&OQ=&AQI

    Vista black screen Fix
    http://www.Google.com/search?hl=en&q=Vista+black+screen+fix&AQ=f&OQ=&AQI

    -----------------------------------------------

    If necessary and you can access all ordinary Windows.

    You can try an In-Place Upgrade (hopefully save programs and data) or a repair installation (if all goes well
    saves the data, and you need to reinstall the programs). Be sure to do a good backup or three.

    You can use another DVD that are not protected but you will need to copy you have the product key.

    On-site upgrade
    http://vistasupport.MVPs.org/repair_a_vista_installation_using_the_upgrade_option_of_the_vista_dvd.htm

    If nothing works, you can make a repair facility that must save the data but you will need to
    Reinstall the programs. This also requires correct Vista disks especially for OEM versions. You will be
    need to know your product Code.

    This tells you how to access the System Recovery Options and/or a Vista DVD
    http://windowshelp.Microsoft.com/Windows/en-us/help/326b756b-1601-435e-99D0-1585439470351033.mspx

    How to perform a repair for Vista Installation
    http://www.Vistax64.com/tutorials/88236-repair-install-Vista.html

    ---------------------------------------------------------------------------

    Another method that works sometimes: at the command prompt, type of Vista startup disk:
    (type in a single line or copy / paste a line at a time and then press enter - type no parenthesis)
    or "BOLD"
    )

    c:

    cd\

    CD c:\Windows\System32\winevt (there is a space between cd and C :)

    Ren LogsOLD Logs (there are spaces between ren and newspapers and Logsold)

    RESTART Windows

    I hope this helps.

    I hope this helps.
    Rob - bicycle - Mark Twain said it is good.

Maybe you are looking for