Free space/table space

Hi all,
I have deleted some millions of records from a table and comitted it. but did not see the expected space savings (expected over 10GM)
Kindly advice me on this.
Regards,
Jaggyam

You did save space in the table. If you now insert a load of rows into it, they will go in the space you freed up by the delete (assuming conventional path rather than direct path insert).
MOVE as mentioned above would go like:
ALTER TABLE yourtable MOVE;then rebuild the indexes.
(See ALTER TABLE, MOVE clause for full syntax.)

Similar Messages

  • Free the database space

    Hi,
    i have deleted the unnecessary data from the table but after deleting also not able vacate the space is there any option for the that i think there is shrink option to do that any error free solution for that
    and will analyze table option free the table space
    thanks

    896398 wrote:
    Hi,
    database is 11g please help me with the solution to delete\remove the data from 2009 as archive and reuse it once again at the same time wanted reduce database size against that
    Please don't mix two different things . You have already asked this in another thread of yours,
    Data Archive_help
    If you are on 11g, you can use shrink so try to execute it and let's see the output.
    HTH
    Aman....

  • Table space not getting cleaned after using free method (permanent delete)

    Hi ,
    We are using the free method of the LIB OBJ, to permanently delete the objects. As per documentation, the ContentGarbageCollectionAgent will be cleaning the database which runs in a scheduled mode. But the log of that ContentGargabageCollectionAsgent shows, all zero for objects without reference, objects cleared,etc. I.e the table space remains the same before and after deleteing all the contents in the cmsdk database. But the agent is running as per the schedule but just comes out doing nothing.
    Can anbody put some light on this issue.
    thanks
    Raj.

    Hi Matt,
    Thanks for replying. It's been a very long time waiting for you ;)
    ---"Are you running the 9.2.0.1, 9.2.0.2, or 9.2.0.3 version of the Database?"
    we are using 9.2.0.1
    ---"If you installed the CM SDK schema in the "users" tablespace ......."
    Yes we are using USERS tablespace for our Development.
    I ran the query. The result is:
    SYSTEM MANUAL NOT AFFECTED
    USERS MANUAL NOT AFFECTED
    CTXSYS_DATA MANUAL NOT AFFECTED
    CMSDK1_DATA MANUAL NOT AFFECTED
    (USERS belongs to develpoment cmsdk schema. And CMSDK1 for Prod CMSDK schema)
    From the results I see only "Manual", but still I don't see the tablespace size being coming down. Both table space sizes (USER and CMSDK1) always grows higher and higher.
    Also to let you know, We use ORACLE EM Console (Standalone) application to see the oracle databse information online. Will there be any thing to do with the tool we use to see the table space sizes. We make sure we always refresh it before making a note.
    So is there anything else I can see. Once I saw the ContentGarbageCollection agent to free 1025 objects and deleted 0 objects. But I don't see any change in the table space size. I am little confused b/w freed and deleted.
    thanks once again for your response Matt.
    -Raj.

  • Free space showing in Table space but not updated on os file system.

    Hi Support,
    I am using oracle 10.2.0.4.0 in ECC6.0. OS is Solaris 10 (Linux).
    We deleted all xml messages from my PI/XI server. its successfully deleted even table space showing free space almost 400GB in DB02 and from brtools also. But from OS side OS file system not showing free space,
    Is any body know about this issue????  do i need to reboot system or any other solution.
    Thanks,
    Kazi Faizan.

    Try to set it up as new device and restore again from the backup:
    How to erase your iOS device and then set it up as a new device or restore it from backups

  • Free table space

    Hi,
    is there a way to free blocks of deleted record?
    I mean: I have a table of 50Gb and I delete 5Gb; those 5Gb are still part of the table size looking at the dba_segment view.
    And is there a way to completely free those blocks without export and import the table?
    My enviroment is:
    Oracle Database 11g Release 11.1.0.6.0 - 64bit Production With the Real Application Clusters option, on Redhat.
    Thanks in advance,
    Samuel

    Hello,
    When we move the table within the same tablespace, do we need more space in that tablespace or in the temp tablespace? If you move the Table within the same Tablespace it will use space in that Tablespace during the MOVE (during this step the Tablespace may extend ). Afterwards, the new Segment will use less space as the data will be reorganized. So finally space will be released to the Tablespace.
    The TEMP Tablespace will be used when you REBUILD the Indexes (sort operations are done).
    When we move table within the same tablespace, it tries to eliminate the fragmentation and move the table to the biggest free space chunk available and frees >the space from the end of the data file, so that we could shrink the data file by doing alter databases data file command. Is that true? With LMT the Extents size are among 64K, 1M, 8M and 64M, it depends on the size of the Table. So the first Extents (64K) may be located in any free spaces of 64K (or more) inside the Tablespace. Also, for larger Extents (1M, ...) enough contiguous free space must be found. If this contiguous free space is not available, the Tablespace will need to extend one of its Datafiles.
    So, except if you have a lot of free (and contiguous) spaces inside your Tablespace, you'll likely have Extents at the end of the Datafile and you couldn't reduce its size later.
    This is the reason why the safest way to reorganized a Table without extending the Datafiles of its Tablespace is to create a new Tablespace. Then you move the Table inside it and move back to its original Tablespace.
    As the Table is likely to become smaller, the original Tablespace could house it without needing any extension.
    But, except if this Table had originally Extents at the end of the Datafiles (which is free up by the operation), you couldn't resize your Datafiles.
    In general a Table is not alone in the Tablespace. If you want to resize the Datafiles you need to move all the Segments inside the Tablespace to a new one. Then, for instance, you may DROP the old and empty Tablespace and RENAME the new Tablespace so as to give it the same name as the old one.
    Depending on the size of the Tablespace it may become a heavy operation and, with LMT (and its internal Extent / Space management) it's not really useful, except if you want to reduce the total size of your database.
    Hope this help.
    Best regards,
    Jean-Valentin
    Edited by: Lubiez Jean-Valentin on Apr 10, 2010 5:16 PM

  • Table space not reduce after delete in oracle 10g

    Hi..
    Based on my system, i have found that my oracle table space did not reduce after the deletion query. Why ?.. Could somebody help me. As your info, I am using oracle 10g.
    Thank you,
    Baharin

    After Delete the table space will not be set free. high water mark will not be reset. to regain the space you need to recognize the objects from which you deleted the data. This can be done in many ways.
    1) Move the objects.
    Alter table temp move --> optionally tablespace clause can be used. After this you need to rebuild table indexes.
    2) With 10g table can be shrinked or reorganize to free the space.
    alter table mytable enable row movement;
    alter table mytable shrink space;
    3) Export/Import
    export the objects and drop and recreate with import.

  • Information about table spaces.

    Hi!
    I have a requirement to   create a Bex by which I can display the  list of table spaces available and status of  those  table spaces like memory free, Used. Though we can get this information from  DB02  I need to generate a  report and  broadcast that to users.
    Can anyone help me in telling me the table name  where you can get the list of table spaces  and infomation or any function module which lists the  table spaces name and  status of them. 
    Regards
    Venkat

    Hello,
    Could you please share more information about this? We need to do the same thing. How did you create your generic datasource? what table/Function module did you used?
    Thank you
    Ramona

  • Table space and recollection of released space after client deletion

    Dear All,
    I have two questions:
    1.Can any1 tell me how to determine the fastest growing table and how to reorganize table space.
    2. Is there any way by which we can recollect the space released:say after client deletion. I had deleted one client two  weeks back and when I saw the SAP/user drive I fow free space available remains the same.
    I searched but found no relevant clue.
    regards,
    Ashutosh

    1.- You can see the largest table report in ST04 (as far as i remember)...
    2.- You can reorganize your db using brtools - brspace...
    Read,
    http://help.sap.com/saphelp_erp2004/helpdata/en/32/0d0c888839164ba4245b3ff7969c59/frameset.htm
    Regards
    Juan

  • How to verify reused table space in oracle 10g ?

    Hi..
    From my system, i have seen that the table size keep increasing event the delete query is running. Due to that, I would to check either the oracle allowed to reuse the table space or not ? if not then how could i enable it ?
    Please help me..
    Thank you,
    Baharin

    You can use dbms_space.space_usage to check the for free space.
    Space reuse will depend on whether you are using MSSM or ASSM, PCT_FREE, PCT_USED, and how new data is inserted ?
    You can shrink or move the table and rebuild indexes to reclaim space.

  • Percentage of used table space not reduce after deletion

    Hi..
    This is my query to delete data from database:-
    delete from $tb_data where to_char(partition_dt,'MON') = '$mm';
    The $tb_data and $mm is variable and the $tb_data will be read input table name (as example backup_nx160, backup_ngn and etc) and the $mm will be capture the input month.
    My question is why the percentage of used table space is not reduce after delete query was executed. Could somebody help me..
    Please help me..
    Thank you,
    Baharin

    baharin wrote:
    Hi..
    Is it the deleted space will be reused by the system ?Yes.
    .. How could i check the real free tablespace or real usage table space ?If you have gathered statistics on the schema recently, then sum (avg_row_len*num_rows) should give you the exact number of bytes that are being consumed - assuming all tables are in a single tablespace under consideration. You can subtract this value from sum (dba_data_files.bytes) figure for the tablespace, to know exact free space.

  • Unable to extend the table space

    Hi Experts
    When i am extending the table space i am getting this error
    BR1059E Not enough free space in /oracle/SHD/sapdata3/sr3700_20 for maximum size
    of file /oracle/SHD/sapdata3/sr3700_20/sr3700.data20, missing at least 491.556
    MB
    but when i checked the space, space is available
    /dev/vg01/lvol16   41943040 34863437 6637129   84% /oracle/SHD/sapdata4
    /dev/vg01/lvol15   41943040 37013805 4621160   89% /oracle/SHD/sapdata3
    /dev/vg01/lvol14   41943040 31803117 9506180   77% /oracle/SHD/sapdata2
    /dev/vg01/lvol13   31457280 28486427 2785176   91% /oracle/SHD/sapdata1
    i am unable to extend the table space. Please help me
    Thanks & Regards
    Venkat

    Hi Venkat,
    Please try to disable the autoextend, in the brspace screen first you make off for autoextend  then you try to extend the space.
    Definetly it will work. I have faced same problem earlier.
    Please let me know still if you have any problem for extending.
    Thanks
    Kishore

  • Table space

    Hi
    We have ARFCSSTATE table size as 20 gig
    I have removed the entries in ARFCSSTATE table using a report
    now ARFCSSTATE table is empty
    But its not showing up
    I know for this we need to use brtools
    Can anyone tell me what options should I select in BRTOOLS
    thanks
    Jameel

    Hi Jameel,
    1) If you have deleted all the table entries of ARFCSSTATE then you can use TRUNCATE table command to free up the space.
    2) If you have not deleted all the entries then you can Reorganize table online by brtools pls follow link http://help.sap.com/saphelp_nw70/helpdata/en/1b/4e8f0d38a8f4419436d608a36b6581/frameset.htm
    If table contains the LONG or RAW fields then refer note no 646681.
    This will free up the space and you can see it in %free space in DB02.
    also you can see the reduced table size
    3) If you want to reduce the Database size then you need to offline reorganize Tablespace by sapdba/brtools.
    Hope this is helpful
    Regads
    Umesh

  • Table space is full

    Hi
    tablespace(PSAPHOD)  is used 99%, how can i increase, there is any option for auto ext
    Tablespace                   Size (kb)      Free (kb)      Used (%)   Tab/ind    Extents    AutoExt (kb)   Used (%)   Status     Backup                                                                               
    PSAPHOD                     30,670,848         15,680         99    100,449    143,618    122.880.000         25    ONLINE     NOT ACTIVE

    To add data file to the Tablspace.
    1.     Logon to the systems as ora<sid>
    2.     Execute  brtools
    3.     Select u201C2 u2013 Space managementu201D
    4.     Select u201C1 u2013 Extend tablespaceu201D
    5.     Select u201C3 u2013 tablespace name 
    6.     Select u201Cc u2013 Continue
    7.     Select u201C3 u2013 give the path for the new file to be added
    8.     Select u201C5 u2013 Size of the new file in MB
    9.     To continue select u201Ccu201D
    10.     Select continue and confirm the return to BRTOOLS menu.
    11.     Exit from the u201CSpace managementu201D menu using b (back)
    12.     Now it is possible to exit from BRTOOLS using option u201C9 u2013 Exit programu201D.
    (a)  BR*Tools main menu:
    1 = Instance management
    2 - Space management
    3 - Segment management
    4 - Backup and database copy
    5 - Restore and recovery
    6 - Check and verification
    7 - Database statistics
    8 - Additional functions
    9 - Exit program
    (b) BR0662I Enter your choice: 2
    Database space management
    1 = Extend tablespace
    2 - Create tablespace
    3 - Drop tablespace
    4 - Alter tablespace
    5 - Alter data file
    6 - Move data file
    7 - Additional space functions
    8 - Reset program status
    (c) BR0662I Enter your choice:   1
    (d) BR0662I Enter your choice:   3
    Give the tablespace name :
    BR0662I Enter your choice:   c, c
    (f) BR0662I Enter your choice:   3
    Select the correct path i.e. where you want to create the data file (must be in sapdata folder)
    (g) BR0662I Enter your choice:   5
    Select the size of the new data file.
    (h) BR0662I Enter your choice:   c, c, c
    END----
    I guess adding 4 GB to PSAPHOD table space is more than sufficient.
    Regards
    Vivek Hegde

  • Rapid growth of table space APPLSYSX e APPLSYSD

    When I launch the program "account generator" from Fixed Assets (FA) I note a rapid growth of table APPLSYSX e APPLSYSD; so I have to increase tablespace size, but the hard disk space is not enough. How can I purge this tables? Why this rapid growth of table APPLSYS?
    Thank you, Matteo

    take some time in the weekend and try to reorganise all the tables that that belong to this tablespace and rebuild the index. that should free up some space.
    Regards

  • What is difference between table space and shchema

    what is difference between table space and shchema ?

    784633 wrote:
    so each user has it own space of tables - schema ?yes, but let's clarify a bit ....
    The "schema" is the collection of all objects owned by a particular user. So if user SCOTT creates two tables, EMP and DEPT, and a view EMP_RPT, and a procedure GET_MY_EMP, those objects (tables, views, procedures) collectively make up the SCOTT schema.
    Those objects will be physically stored in a tablespace.
    A tablespace is a named collection of data files. So tablespace USERS will be made up of one or more data files. A specific datafile can belong to one and only one tablespace. If a tablespace has more than one data file, oracle will manage those files as a collection invisible to the application - much like the OS or disk subsystem handles striping across multiple physical disks.
    A specific object in the SCOTT schema can exist in only one tablespace, but not all objects of the schema have to be in the same tablespace. Likewise a tablespace can contain objects from multiple schemas.
    and can one user to access tables of other users?As others have said - FRED can access tables belonging to SCOTT as long has SCOTT has granted that access to FRED.

Maybe you are looking for