Table space not reduce after deletion in oracle 11G

Hi team,

I have a DB 11.1.0.7 on unix.


I run deleting on the tablespace tables, but this does not diminish.

Thank you

There are three ways.

You can create another table in select * from the existing table (after deletions), truncate the table, insert into the table to the new table, drop new table purge. See Procedure of MOS to truncate, delete or purge the lines of the Table of Audit AUD$ [73408.1 ID] trail

Or, you can use the new documented package from DBMS_AUDIT_MGMT to http://docs.oracle.com/cd/E11062_01/admin.1023/e11059/avadm_app_d_audit_mgmt.htm#BABIEABE but I have not used it myself, so I don't know if it can shrink. See the new MOS DBMS_AUDIT_MGMT feature to manage and purge Audit information [ID 731908.1]

The simplest way is to be alter table aud$ move;

Once you have made the table smaller, you can reduce the data files. See http://www.oracle-base.com/articles/misc/reclaiming-unused-space.php

Tags: Database

Similar Questions

  • Table space not reduce after deletion in oracle 10g

    Hello..

    Based on my system, I found that my oracle table space has not reduced after the deletion request. Why?... Could someone help me. As your info, I use oracle 10g.

    Thank you
    Balleur

    After you delete the table space will not be scheduled free. high tide are not reset. to find the space you want to recognize objects that you have deleted the data. This can be done in many ways.

    (1) move the objects.
    ALTER table move temp--> possibly the tablespace clause may be used. After that, you must rebuild the indexes of the tables.

    (2) with 10 g table can be shrunken or reorganize to free up space.

    change the movement line of table mytable enable;
    change the table mytable retractable;

    (3) import/export

    export the objects and delete and recreate with import.

  • Windows 7 Ultimate: Explorer is not refreshed after deleting a file, the deleted file still appears in the window, on the manual "Refresh" the file is deleted

    Windows 7 Ultimate: Explorer is not refreshed after deleting a file, the deleted file still appears in the window, on the manual "Refresh" the file is deleted.

    I have also changed the CLASSID HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\ {BDEADE7F-C265-11D0-BCED-00A0C90AB50F} / instance DontRefresh value to 0

    Hello

    (1) have you made changes before the start of this issue?

    (2) what happens when you try to start in safe mode?

    To start your computer in safe mode, you can see the link below:

    http://windowshelp.Microsoft.com/Windows/en-us/help/323ef48f-7b93-4079-a48a-5c58eec904a11033.mspx

    I suggest you to place the computer in a clean boot state and check if the problem is resolved:

    1. sign the computer by using an account with administrator rights.

    2. click on Start, type msconfig.exe in the Start Search box and press ENTER to start The System Configuration utility. If you are prompted for an administrator password or for confirmation, type your password, or click continue.

    3. on the general tab, click Selective startup, and then click on to clear the load startup items check box. (The check box use the file Boot is not available.)

    4. on the Services tab, click to select the hide all Microsoft services check box, and then all disable.

    5. click OKand then click restart.

    6. check if you still have the problem.

    See the link below for more details:

    How to troubleshoot a problem by performing a clean boot in Windows Vista

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

    Reset the computer to start as usual after you have finished troubleshooting, follow these steps to reset the computer to start as usual:

    Click Start , type msconfig.exe in the Start Search box and press ENTER.

    1. If you are prompted for an administrator password or for confirmation, type your password or click on continue.

    2. on the general tab, click the Normal startup option, and then click OK.

    3. When you are prompted to restart the computer, click restart.

    If this does not work, try to run a SFC scan. To do a SFC scan follow the steps below:

    Use the System File Checker tool, which is also called scan SFC.

    File system (CFS) auditor verifies that all Vista system files are where they should be as they are by default and not corrupted, changed or damaged.

    1. click on Start, click principally made programs, Accessories, right-click on command promptand select Run as Administrator.

    2. click on continue or provide administrator credentials if prompted.

    3. in the command prompt window , type the following, and then press ENTER:

    sfc/scannow

    4. you should see messages on the screen the following:

    From the analysis of the system. This process will take time.

    Start of the phase of verification of the scanning system.

    % Of verification complete.

    5. once scanning is complete, check to see if the problem you are experiencing is resolved or not.

    Hope the helps of information.

  • folder view is not refresh after deleting file

    Win7 64

    Folder view is not updated after deleting the file.

    Needs of F5 update or change directory...

    Erraticly appear.

    It's just impossible to give such a system a simple user.

    Apparently a problem experienced in years...

    Just thinking about moving to Linux entire PC fleet.

    Hello

    Step 1:

    You can check if the problem continues in a new user account. To create a new user account:

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

    Step 2:

    If the new user account works fine then the old account has been corrupted, you can follow the link given below to fix the corrupted user profile.

    http://Windows.Microsoft.com/en-us/Windows7/fix-a-corrupted-user-profile

    Hope that information was useful

  • 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

  • Why have I not storage after deleting everything on my iPad Air?

    Help, please! My iPad Air said have no storage. I tried to delete all my games even photos and videos, and it is still saying that I have no storage. There he gives me storage after deleting all my photos and my videos. Also where to find the recently deleted? Thanks in advance.

    The message refers to no space on your iPad or in the cloud for your backups?

    In the Photos app recently deleted album is in the Albums tab in the app - if you view the Photos tab (Moments / Collections) and then press Middle Albums at the bottom of the application.

    After draining and so settings > general > topic > available does not increase, you can try a soft-reset/reboot to see if it's update: press and hold buttons sleep and home for 10-15 seconds (ignore the "slide to turn off"), then the Apple logo should appear and the iPad should restart.

  • VMDK is not afraid after deleting files

    I have a Windows 2003 Server VM on ESXI 4, which seems to have a disk space issue.

    The VMDK is not afraid after that I have remove the files from the WIndows disks.

    The VMDK is now about 160GB when I look in the data store.

    vSphere said that the storage used is 159 GB. This does not change when I click on "Refresh the use of storage" or when I right click on the data store and select "Refresh".

    Storage provisioned is 180 GB because the discs are thin provisioned.

    I restarted the VM, but also the entire server.

    When I look at Windows via the console there are 3 disks about 30 GB, 130 GB and 15 GB, with 10 GB, 90GB and 13 GB free space respectively.

    So, according to my calculations, I should 20 + 40 GB + 2 GB used space or 62GB total.

    So, where is my 100 GB?

    CHKDSK displays no problem. The 130GB partision was almost full at the same time and after that I deleted the files, the VMDK never shrunk!

    Any ideas?

    TIA-

    -Michael

    Even if you have deleted files, the disc was written for and there are still old data on the disk. In fact, you must remove the old raw data of the disc (sdelete in Windows) and then the fret.

  • regarding the space not vacated after rm congratulate on root

    Hello guys

    in fact, I am faced with an unexpected problem

    I have a file /archivelog which is mounted on ocfs.daily I used to store my file of export here. But yesterday I started taking exp between two terminals with leader = 28june.dmp and after starting it removed before export to another terminal with file = 27june.dmp.

    But I saw something different.
    I pulled rm - rf 27june.dmp he returned the root prompt immediately if every day to remove a file taken 60 GB 30-40 seconds.
    also, it has not released the spcae of /archivelog and also deleted the file

    means do not enter the file as well as space is not released... .i also fired command updatedb... but always the space is not released.

    Hoe could it be possible... someone has an idea well meant

    There is a bug with ocfs2 if you manually remove newspapers to archive some time will be freee not the space that is used. So, for the future to avoid this use rman case to remove the archive logs.

    now to free the necessary space ocfs2 partition to delete and recreate with ocfs2. becarefull with that.

    Thank you

  • 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

  • Disk space reduced after deleting and creating SATA data warehouses

    I was experimenting with measurement feature multiple with a host ESXi 5.0 (build 515841), which has two 2 TB SATA drives connected to the motherboard SATA controller. For the test, the first hard drive was installed with a VMFS5 data store and the second disc was added as an additional measure. The ability to store data went up 3.62 to as expected (individual drives show up 1.81 TB in VMware). After the test, I deleted the data store to configure the drives as of separate data warehouses. The second disc correctly displays a 1.81 TB of available space, but the first drive shows only a maximum of 256 GB of available space. The structure of the disc shown before creating the data store on the first hard disk shows 1.81 TB of free space. Additional free space can be recovered without having to reinstall ESXi? Thank you.

    I didn't not experiment a lot with VMFS-5 me yet, but I have had a few discussions with other users. What they say, you can be able to increate the VMFS partition of size (in stages) by using partedUtil, and then run vmkfstools to cultivate the datatore. See for example Re: cannot increase the capacity of VMFS 5.54 data store

    With your layout of the partition, it would be s.th. as these two commands:

    partedUtil resize "/vmfs/devices/disks/vml.01000000002020202020204d4e313232304633304d41553544486974616368" 3 10229760 3907029167
    vmkfstools --growfs "/vmfs/devices/disks/vml.01000000002020202020204d4e313232304633304d41553544486974616368:3" "/vmfs/devices/disks/vml.01000000002020202020204d4e313232304633304d41553544486974616368:3"
    

    André

  • 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?

  • "Hard drive - (3F0) BootDevice not found" after deleting Windows

    Hello.

    I have a ProBook s 4530 accompanying pre-installed Windows 7 Home Premium. I'm a Linux user for a long time, so the first step that I took after the purchase was reducing the OS partition and install Arch Linux on the free space created. I used the laptop in this configuration for something like a year now, but since I rarely even start on Windows, I decided to save free space by deleting them entirely. You use cfdisk, I deleted their partitions.

    After a short time (about a day), I got off the machine, and I found a few old labelless CD I wanted to inspect. I started the calculated and inserted in the drive. It was obvious that it was a Windows XP installation CD, so I turned off the computer (before it has completed the phase of loading drivers).

    (It is likely that the previous paragraph is unrelated to the error message, because the installation should not even touch the disk at this stage.) I also do not restart often, so I'm not sure that makes the computer startup between the removal of the partition and start the Windows XP CD.)

    The next time I tried to start the PC, I was greeted with "Hard Disk - BootDevice (3F0) not found." All HP diagnostics were OK, and when I loaded GRUB on a live Ubuntu CD to my hard drive, it starts normally.

    I admit the BIOS could be confused in some way by the partition table I, it starts with lots of free space and has no NTFS partitions, but I think that BIOS should not depend on the OS that I run. So, I have a few questions:

    1. The HP BIOS is trying to detect Windows, and it doesn't do anything differently if it does not find Windows hard disk? I googled around and did not find anyone with experience running as Linux on my laptop (just dual-boot).
    2. If so, is there some way I could convince them to begin the hard drive even through it is not Windows on it?

    Thank you.

    Then he turns the laptop was confused because no partition has been marked as active. My bad.

  • 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

  • I'm having a problem with the tabs is not responding after deleting localstore.rdf

    After the 4.0 update b7, I had a problem with my toolbar to reset and (a little), I corrected by deleting localstore.rdf. Now, however, my tabs do not respond when you click them, and Firefox is essentially locked on the first tab ideas?

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of your modules is causing your problem (switch to the DEFAULT theme: Tools > Modules > themes).

    • Makes no changes on the start safe mode window.

    See the extensions, themes and problems of hardware acceleration to resolve common troubleshooting Firefox problems and troubleshooting questions with plugins like Flash or Java to solve common Firefox problems

    Create a new profile as a test to see if your profile is the source of the problems.
    See basic troubleshooting: a new profile

  • I got messages saying the my windows is not genuine after deleting records

    I deleted accidentally deleted all the files of s-x-x-xx under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
    After the reboot, I got messages saying that my windows is not genuine. What can I do now?

    Use the system to a date before you restore damaged registry.

    http://Windows.Microsoft.com/en-us/Windows7/products/features/system-restore

Maybe you are looking for