How to gain space after Delete

Hi All,
Oracle 9208
I have one table space which is 90% full. I know a table which can give me 10% space if I delete 50% of old data in table. I cannot truncate the table as users are always using the table.
If I delete the rows in TEST env. The tablespace is still 90%, as deleting doesn't release the space. How can we gain the space?
Thanks,

It's allocated space and that can't quite be released, since the table is still fragmented at the extent level. Export/import of the table will solve the problem after specifying 'deallocate unused'
Message was edited by:
FeNiCrC_Neil

Similar Messages

  • Release of space after delete/truncate table

    Hello,
    How does release of space after delete/truncate table works? Is the space used before deletion released once delete is complete or not? Will I see the space occupied by deleted table as free in dba_segments or will I need to reorganize the table (drop and recreate again?). Reason why I am asking is that I can see table with 0 rows, but in dba_segment I can see it is occupying few gigabytes....
    Thank you

    Here is a little illustration for you;
    SQL> conn ogan/password
    Connected.
    SQL> create table ogan_deneme as select * from all_objects;
    Table created.
    SQL> select count(*) from ogan_deneme;
      COUNT(*)
        228470
    SQL> set line 1000
    SQL> set pagesize 1000
    SQL> select * from dba_segments where owner='OGAN';
    OWNER    SEGMENT_NAME        PARTITION_NAME           SEGMENT_TYPE       TABLESPACE_NAME                HEADER_FILE HEADER_BLOCK      BYTES     BLOCKS    EXTENTS INITIAL_EXTENT NEXT_EXTENT MIN_EXTENTS MAX_EXTENTS PCT_INCREASE  FREELISTS FREELIST_GROUPS RELATIVE_FNO BUFFER_
    OGAN      OGAN_DENEME          TABLE              SYSTEM                                 854       319981   *30408704*       *1856*         *44*          65536                       1  2147483645                       1               1          854 DEFAULT
    SQL> truncate table ogan_deneme;
    Table truncated.
    SQL> select * from dba_segments where owner='OGAN';
    OWNER    SEGMENT_NAME        PARTITION_NAME           SEGMENT_TYPE       TABLESPACE_NAME                HEADER_FILE HEADER_BLOCK      BYTES     BLOCKS    EXTENTS INITIAL_EXTENT NEXT_EXTENT MIN_EXTENTS MAX_EXTENTS PCT_INCREASE  FREELISTS FREELIST_GROUPS RELATIVE_FNO BUFFER_
    OGAN      OGAN_DENEME           TABLE              SYSTEM                                 854       319981      *65536*          *4*          *1*          65536                       1  2147483645                       1               1          854 DEFAULT
    SQL>Hope it Helps,
    Ogan

  • How to remove space after paragrph in pages on ipad

    Can't figure out how to remove space after each paragraph in Pages for Ipad

    Settings > General > International > Region Format
    Set it to your country to format numbers and dates in the way your country does.

  • External HD won't free-up space after deleting files

    Hello. My old Maxtor 500 Gb external hard-drive won't free-up any space after deleting many, many files. I'm using a late 2009 iMac i5 desktop with Snow Leopard. I had 6 Time Machine backups of my old MacBook Pro on the drive - each taking up roughly 70-80 Gb of space. I deleted 3 of the Time Machine backups as they were close enough in date to other backups so I wasn't going to lose any data. This should have freed up more than 200 Gb of space on the external hard drive. However, the hard drive still shows having only 10 Gb of space available. I deleted the Trash from the Dock. The Trash is empty. I unmounted the hard drive, turned it off and reconnected it. I restarted the computer. Still no change. Please help me. Thanks!

    Welcome to Apple Discussions-
    Are you using FileVault? If so, you have to log out or restart in order for the disk space to be reclaimed.

  • Exfat drive does not free up space after deleting files

    My external exfat formatted drive does not free up space after deleting files using a mac....however if I delete files using a PC, it will free up space.
    I've even tried the *erase free space* using Disk Utility, but nothing.....
    Thoughts/Suggestions??

    Thanks for the suggestion.
    I ran WhatSize and here is the result. Oddly, it says there is 40.2 GB used (in the top-left) which conflicts with the information directly below it: "Capacity 108 GB, Used 103GB, Available 4.27 GB". Not so helpful.
    Disk Inventory X solved the problem, however. Much thanks! I wasted most of my weekend troubleshooting this sad issue. Anyway, Disk Inventory X revealed a bug where my external hard drive for photos was still appearing as a mounted volume, even though the HD was no longer connected. Freaky.
    After moving it to the trash and deleting it, I've recovered the space.
    Again, thanks! Contact me if you're curious about the details, as this might help you diagnose similar problems in the future.
    - Mike

  • Freeing space after deleting files

    Has anyone tried to free the LOB space after deleting a file? We've been using the aging feature but none of the space utilized by files that have been migrated to disk was freed after the file was moved to BFILE.

    Hi,
    there is old posting from you,
    Questions with Third-Party Access Management Systems
    I am trying integration of Oracle SSO and Oracle EBS but headers are not reaching in custom java file. Would be very thankful if you could help
    thanks in advance.
    prakash

  • Nas drive does not recalculating space after deleting files on Nas Drive??

    Greetings to Respected expert,
    Actually we have configure Window server 20082 Storage server.We have NAS drive configured which have 300GB quota limit. The actual data in the folder is 185 GB but it shows only 15 GB free and shows a warning .Please assist me why NAS server does not re-calculate
      the space after deleting files or does not leave space. Pardon me if I am not able to clear you my problems.this is very urgent for me.
    Thanks And Regards
    Rajnish Singh

    Hi Rajnish,
    As you mentioned "quota limit", it is set via FSRM or specific function on NAS?
    Meanwhile could you confirm the number 185GB is accurate? Sometimes a part of used space is just not calculated. You can confirm with checking the total space on NAS locally.
    If the number is correct and quota is set via FSRM, check if it is the Disk Quota which not re-calculated the released space. Try to clear the Quota setting and reconfig with 300GB limitation and see if issue still exists.
    If you have any feedback on our support, please send to [email protected]

  • How to reclaim the space after delete

    Hi All,
    Today we deleted large number of rows from one table, but we didn't get free space after that. So for testing purpose, I have created one test tablespace with 5mb size .Created a table and inserted n number of rows in that table and made the tablespace full.I checked in dba_segments(5mb) and dba_free_space tables.It shows perfectly.After that I deleted all the records and try to create a simple table,but it returns (ORA-01658: unable to create INITIAL extent for segment).I read some time back in tom's forum that delete willn't reclaim the space ,instead it will go to freelist of table..Is there any way to reclaim the space?(after delete)
    and also I used to see the tablesize by using dba_segments table.but now it shows 5mb of size for the empty table.Is there any query to get the exact table size?Please help me to understand the concept.
    Thanks,Jvel

    880401 wrote:
    Hi All,
    Today we deleted large number of rows from one table, but we didn't get free space after that. So for testing purpose, I have created one test tablespace with 5mb size .Created a table and inserted n number of rows in that table and made the tablespace full.I checked in dba_segments(5mb) and dba_free_space tables.It shows perfectly.After that I deleted all the records and try to create a simple table,but it returns (ORA-01658: unable to create INITIAL extent for segment).I read some time back in tom's forum that delete willn't reclaim the space ,instead it will go to freelist of table..Is there any way to reclaim the space?(after delete)
    and also I used to see the tablesize by using dba_segments table.but now it shows 5mb of size for the empty table.Is there any query to get the exact table size?Please help me to understand the concept.
    Thanks,JvelDELETE simply deletes the specified rows. The blocks/extetents that were allocated to hold those rows remain allocated. The theory is that if the table once needed sufficient blocks/extents to hold 'x' rows, it may need so again at some time in the future. Allocating and de-allocating extents is a pretty expensive operation, so oracle is not going to waste time and resources constantly doing that just because you delete rows, which is a perfectly normal DML operation. Unless you don't expect that table to grow again, I'd not waste my time trying to reclaim the space.

  • Reuse of freed space after DELETE statement (ASSM)

    Dear Members,
    After DELETE of records in tables, the USED SPACE in tablespace still grows when new records are inserted. So the freed space is apparently not reused!
    DB is Oracle 9.2. and ASSM is used.
    Does anyone knows how to solve this problem?

    1) Table (heap) space will continue to grow after deletes if the new rows are appended (APPEND HINT). Appending rows does not reuse free space in existing blocks.
    2) Index space will continue to grow after deletes if the leaf blocks could not be reused. Index leaf blocks will be reused only if a) new data index keys will fit in on of the existing leaf blocks that still has entries after the delete completes; b) all of the entries in the leaf block were deleted and a new leaf block needs to be added to the index. It is possible to shrink/coalesce or rebuild an index to cure this phenomenon.

  • Reclaim disk space after delete an index

    Hi ,
    I have deleted unused indexes from a history table to reclaim the disk space was allocated for these indexes , yet the size on the disk is the same , any steps I can follow to achieve this would be greatly appreciated..
    indexes size is 70 GB
    table size is 45 GB , # of rows is above 200 Million
    Thanks in advance

    in order to reclaim space after your big delete.  Don't shrink your data files unless you have no other choice.
    The space will automatically go back to SQL server. You don't have to do anything.
    The database size will be the same plus the growth of your log file due to logging the transactions. However, internally, SQL server knows that it still has that space to play with.
    Other wise you can go for  update the statistics and rebuild indexes . but I think it would be the part of your normal weekend nightly maintenance plan
    Please click "Propose
    As Answer" if a post solves your problem, or "Vote
    As Helpful" if a post has been useful to you

  • How to remove spaces after description.

    hi all,
    i need to supress spaces after writing material description and i want to keep comma after description.
    but it displays comma after field length (i e after  40 chars).But i need to keep comma after description it self.
    example like this.
    GR Number- 4900000400,
    Batch Number-            ,
    Material number- P0001016,
    Material description- Returnable Pallet,
    Vendor:            ,
    GR Date: 16.02.2010 ;
    Not Like this...
    GR Number- 4900000400 ,
    Batch Number-            ,
    Material number- P0001016           ,
    Material description- Returnable Pallet                        ,
    Vendor:            ,
    GR Date: 16.02.2010 ;
    after  posting message the comma comes after desc in both the cases...but it wont in SAP
    Appriciate your help.

    Hi,
       Use condense statement.
    Regards,
    Srini.

  • How do I "space after" every other line?

    I am trying to set up a listing of names and dollars like this...
    name
    dollar amount
    name
    dollar amount
    name
    dollar amount
    name
    dollar amount
    After the dollar amount I need to it have a space of 0.625, I am creating this list as text which I have converted from a table. Right now I have to just click on the line a and manual hit the "space After" option to put the 0.625 spacing in there. Is there a way to do this all at once because there will be at least 300 names every time I do this? So i need to be able to have the spacing on every other line...
    Thanks,
    Sam

    I use a body text style with Space Before and have a Bullets_FirstLine style with space before. I have the Next Style of BulletsFirstLine as as Bullets, which does not have any Space Before. This means that I can automatically apply the styles to the bullets when either typing directly or, more frequenty by highlighting all the paragraphs to be bulleted and right clicking on BulletsFirstLine and selecting "Apply Style then Next Style". I cannot remember the exact wording - I don't have InDesign open at the moment.

  • How do i recover disk space after deleting windows partition?

    I have a macbook pro running on maverick. I removed the windows partition using bootcamp assistant, but I did not gain the disk space back. The disk space is 500gb but it's still showing 250gb?

    Yes, that matters. So your partition map looks something like this:
    You see one single space surrounded in blue with the disk name in the center, sort of like the above. But, you say that this space is only 250 GBs of your 500 GB drive. In other words the space in the Size field reads 250 GBs, mol? Am I correct in my understanding?
    I suggest you might give this a try: repair the hard drive using Disk Utility. Then restart the computer. See if that recovers the space. It would also help if you could send me a screen image like mine but of your Disk Utility display on the same settings.

  • Problem regaining memory space after deleting photos

    While on vacation, I copied 9 mb photos, in iPhoto albums, from a family member's Mac to my iPad 2 . Once back home, I deleted the albums and photos using my own computer.
    Even though the photos are now gone, my iPad still shows that I have 9 mb of photos.  So, even though the photos are not showing up on my iPad, the disk space is still reserved for the deleted photos.  How do I get it to give me the disk space back?  I no longer have access to the other Mac (that uploaded the photos).
    It was difficult to delete those photos as there were several thousand in a variety of folders.  I ended up syncing to my own iPhoto which had very few photos. That did remove the albums & photos, but did not give back the 9 mb of memory they resided in.
    Any ideas?
    Thanks.

    Not related ... but may be related ...  Here's my problems:
    Okay ... so, because I had less than a 1 Gig left (as reported by iTunes) on my 64Gig iPad, and the majority of the space was being used by "Photos" ... I decided to not keep my PC photos directory in sync with my iPad (Windows 7). So, in iTunes, I unchecked the option to sync computer photos to the iPad. I got the standard popup warning message that my iPad would not contain those albums after the next sync. I clicked OK and proceeded to sync expecting to have lots of space freed up.
    But weird things happened after syncing.
    (1) I still have all my photos on my iPad .... nothing disappeared at all. (And performed multiple syncs to try to force the change ... still nothing has been removed from my iPad.)
    (2) Somehow, I gained 20 Gigs of free space, as reported by both iTunes and my iPad as well.
    Anyone know what's going on here?
    I do have iMovie and another movie making app, Avid. Both of these contain projects that refer to photos in albums that were supposed to be removed after the sync ... but I can't imagine that would keep them there. Anyone have any ideas?
    I also installed the iPad app, iPhoto. I noticed that it build a directory listing and continuously want to update that listing from time to time.
    Would any of these things cause the iTunes photo sync changes to be ignored? And, how did I get free space to report back with an additional 19Gig or so, when there's no change at all.
    Unsure what's going on ...

  • Why Oracle Linux 5 cannot recover disk space after delete files ?

    Folks,
    Hello. When I create a Virtual Machine for Oracle Linux 5 to install EBS R12, I allocate 300GB to the VM. I download EBS R12 Source Files (45.7GB) and unzip the files (46GB). Total size of stage area directory(EBS_R12) is 91.7GB.
    Because some files are corrupted and cannot install, I move the folder EBS_R12 into trash but cannot empty trash. I move EBS_R12 from trash back to the directory. Then at root user, use command "rm -rf " to delete EBS_R12 completely.
    I shut down Oracle Linux 5 and restart it, 91.7GB disk space cannot recover.
    I download some other files into Oracle Linux files and then delete those files, but disk space cannot be recovered either.
    It seems that OEL5 virtual disk only can expand but cannot be reduced. The VM disk space is less than 200GB now and not enough to install EBS R12.
    Can any folks tell me how to make 91.7GB disk space and some more disk space come up ?

    Folks,
    Hello. Thanks a lot for replying.
    Host OS is Windows 7, Guest OS is Oracle Linux 5 on the top of VMPlayer 3. The VM of Oracle Linux 5 is created on the external USB drive and not on the local hard disk.
    There is a directory /tmp/VMwareDnd/376c7cae/EBS_R12 in Oracle Linux 5 file system. I copy/Paste the folder of EBS_R12 from Windows 7 into Oracle Linux 5. All of zip files and unzipped files are placed in the folder of EBS_R12.
    After EBS_R12 is deleted, the external USB drive(F:) doesn't come up 91.7GB disk space.
    My question is:
    Where to run "boot>linux rescue" command ?
    Does this command work correctly in the external USB drive ?

Maybe you are looking for

  • Apache FOP

    I am trying to install Apache FOP. I have downloaded from the Oracle website. I have then saved the file in c:\program files\java\oc4j. When I change directory I can locate the file but can not start oc4j? All of the related files mentioned in the in

  • Bug in form based authorization ( url-patter /* and loginform in /*)

    Try this: examples\weapp\security default web.xml file for this webapp has url-pattern = <url-pattern>/admin/*</url-pattern> try to register this web application as default webApplication ( this can be done only by editing config.xml manualy - this i

  • SWF in Catalyst

    I might sound ignorant, as I am still trying to teach myself Catalyst 5.5, but I want to start my site with a full frame SWF movie. WQhen the 6 seconfd movie finishes a button to navigate to another state (or page) will appear. My problem is the movi

  • Advanced search in Ovi Contacts

    Hello. Is any chance do add to Ovi Contacts possibility to advanced search in contacts? I want to search by phone number, but it doesn't work, it only work with name.

  • Network printing problems using an iMac as the server

    I am running an iMac OS 9 computer as a server. There are three computers (an iMac, an iBook both running OS 9, and a Powerbook G4, running OS 10.4) connected to the server via ethernet. Here is the problem: all three computers have been printing fro