Unable to release space from table

Hi all,
We are unable to release space from a table called TST03 even after deletion of records.
Followings are the information.
Database     : 9.2
Table Name      : TST03
Tablespace     : LOCALY MANAGED.
Previously there were lots of rows.
At Present only 9 No of Rows.
Space allocated     : 41 GB
PCT_INCREASE     : Null
One of the column is of LONG RAW type.
Since the table is in LMTS, we were expecting that the space allocated will be released automaticaly after deletion of records.
Now, what are the option left with us to release 41GB of space ?
A. Is there any effect of "Drop storage" option of 'Truncate table' command ?
B. If yes , can i copy all the 9 rows to a new table, then use "Truncate table TST03 drop storage", check if space is released and then copy back all the 9 rows to this table.
C. Do you have any other easy solution apart from export/import ?
D. Checked all the relevant Note(646681,48400,10551), could not find an easy solution. I  want to avoid offline export/import option.
Thanks .
Naba J Neog

> Hi all,
Hi !
> We are unable to release space from a table called
> TST03 even after deletion of records.
>
> Followings are the information.
> Database     : 9.2
> Table Name      : TST03
> Tablespace     : LOCALY MANAGED.
> Previously there were lots of rows.
> At Present only 9 No of Rows.
> Space allocated     : 41 GB
> PCT_INCREASE     : Null
> One of the column is of LONG RAW type.
>
> Since the table is in LMTS, we were expecting that
> the space allocated will be released automaticaly
> after deletion of records.
Sorry, but that is not what LMTS is for. Wrong assumption.
MaxDB e.g. returns space immediately - Oracle does not.
> Now, what are the option left with us to release 41GB
> of space ?
> A. Is there any effect of "Drop storage" option of
> 'Truncate table' command ?
Yes, the effect is, that after the truncate the table is empty and  only one extent is allocated - the rest is returned to freespace. That's the DEFAULT behaviour of TRUNCATE TABLE.
> B. If yes , can i copy all the 9 rows to a new table,
> then use "Truncate table TST03 drop storage", check
> if space is released and then copy back all the 9
> rows to this table.
Nope - you would have to copy the LONG RAW columns as well and this cannot be done easily from sqlplus.
> C. Do you have any other easy solution apart from
> export/import ?
Nope again - you'd have to use this offline reorganisation as long as you're not on Oracle 10g and the long raw fields got converted into LOBs. With 10g you might also use the SHRINK table command. But with Oracle 9i - sorry: exp and imp (will be pretty fast for 9 rows...)
> D. Checked all the relevant Note(646681,48400,10551),
> could not find an easy solution. I  want to avoid
> offline export/import option.
Sorry - no way to avoid it and still get the free space back.
Anyhow you might want to take actions to prevent this situtation from reoccuring.
These kinds of questions are covered in the notes
<a href="http://service.sap.com/sap/support/notes/48400">#48400</a>
<a href="http://service.sap.com/sap/support/notes/66290">#66290</a>
>
> Thanks .
> Naba J Neog
You're welcome.
Lars

Similar Messages

  • PDE-PLI031 Unable to fetch record from table tool_modulre

    Dear ALL
    I am creating PL/SQL Libraries in report builder.
    but When I try to save the Library to database, a error
    PDE-PLI031 Unable to fetch record from table tool_modulre.
    Would you please tell me how to solve this problem
    and why it coming
    thankyou very much
    pritam singh

    Hi ,
    Saving a library (.pll) to database would store the object inside specific tables that are to be created.
    If you are using 6i, then you should find toolbild & toolgrnt.sql files which you have to run in the order specified. The above scripts creates the necessary tables and henceforth you won't get those errors while saving.
    Hope this helps.
    Thanks,
    Vinod.

  • " unable to allocate space from the buffer cache" Message

    Hi
    I am trying to delete a large volume or records from a BTREE database. I have used the DB_SET_RANGE with a cursor to locate the desired records. After that the Dbc::get() with DB_NEXT is called. After deleting a considerable amount of records I am receiving a message in the error callback function as "unable to allocate space from the buffer cache".
    What might be the reason for such a message.
    Regards
    Nisam

    Nisam,
    This means that the cache is full and there are no pages that BDB can evict to make space. Are you running with the default cache size? You can increase the cache size by calling: dbenv->set_cachesize or db->set_cachesize.
    Related docs:
    Selecting a cache size: http://www.oracle.com/technology/documentation/berkeley-db/db/ref/am_conf/cachesize.html
    Bogdan Coman

  • How to download values of any field having spaces from table ?

    Hi Experts,
    I have one requirement. From table but000, I have to download some values for field name1 based on partner values. The problem is the names are having spaces after it, i need to download completely including extra spaces after name.
    I have searched many threads , but coudnt find any useful information.
    i am just dowloading form edit, download options.
    Regards,
    Gaurav.

    Hello,
    In my opinion, you need to download the data as a text file. Then import it in excel. While importing you can do some settings to keep the spaces, leading zeroes etc.
    Hope this helps,
    Regards,
    Himanshu

  • I have a 16 GB ipad2, and the "others" memory usage is in 2,8Gb. Does somebody know what is this about? How can I release space from that "others" issue?

    Please help me to use better the available memory of my iPad2

    Yeah, that's high.
    First, try a system reset.  I don't have too much confidence that it will help but it does cure many ills and it's quick, easy and harmless...
    Hold down the on/off switch and the Home button simultaneously until you see the Apple logo.  Ignore the "Slide to power off" text if it appears.  You will not lose any apps, data, music, movies, settings, etc.
    If the Reset doesn't work, try a Restore.  Note that it's nowhere near as quick as a Reset.  Connect via cable to the computer that you use for sync.  From iTunes, select the iPad/iPod and then select the Summary tab.  Follow directions for Restore and be sure to say "yes" to the backup.  You will be warned that all data (apps, music, movies, etc.) will be erased but, as the Restore finishes, you will be asked if you wish the contents of the backup to be copied to the iPad/iPod.  Again, say "yes."
    At the end of the basic Restore, you will be asked if you wish to sync the iPad/iPod.  As before, say "yes."  Note that that sync selection will disappear and the Restore will end if you do not respond within a reasonable time.  If that happens, only the apps that are part of the IOS will appear on your device.  Corrective action is simple -  choose manual "Sync" from the bottom right of iTunes.
    If you're unable to do the Restore, go into Recovery Mode per the instructions here.

  • Unable to release to accounting on VF02 - Inconsistency on posting tables

    Hi Everyone,
    We are unable to release a billing document on VF02. IF we check on SM13, it generates an error on FM RV_INVOICE_POST.
    Error details is "V2 030: Inconsistency in the posting tables for document XXXXXXXX"
    We have checked the ABAP editor but we are unable to interpret the code:
    On subroutine PERFORM VBPA_BEARBEITEN from RV_INVOICE_POST, program passes value of xvbfa-vbeln to structure beleg, because of that beleg-id changes from '$' to 0 because xvbfa-vbeln already has a value.
    LOOP AT xvbfa WHERE updkz EQ updkz_new.
        beleg = xvbfa-vbeln.
        PERFORM vbrk_belegnummer_ermitteln.
        xvbfa-vbeln = xvbrk-vbeln.
        MODIFY xvbfa.
      ENDLOOP.
    But on subroutine vbrk_belegnummer_ermitteln there is a condition on beleg-id which is cause of the error:
      IF beleg-id NE '$'.
        MESSAGE a030 WITH beleg.
      ENDIF.
    Please advise. Thanks.

    sorry i have to correct my post, the code should be:
    LOOP AT xvbpa WHERE updkz = updkz_new.
        beleg = xvbpa-vbeln.
        PERFORM vbrk_belegnummer_ermitteln.
        xvbpa-vbeln = xvbrk-vbeln.
        MODIFY xvbpa.
      ENDLOOP.
    NOT vbfa.
    I will look on OSS note that you said, see if it works.

  • Z report from table VBRK - Release to Accounting indicater

    Hello,
    Creating a Zreport from table VBRK, and only want to pick billing documnets which are released to Accounting. Is there an indicater in table VBRK, VBRP, or KONV, or somewhere else where i can filter these records.
    Thanks

    Hi
    You can use the table VBUK field BUCHK, ie, if VBUK-BUCHK = 'A'.
    The best manner is the view M_VMCFA. If you see in SE11 you can see as works for the field VBRK-RFBSK.
    Regards
    Eduardo
    Edited by: E_Hinojosa on Sep 7, 2011 4:18 PM

  • Delete L.H.S spaces from field in database table but not for Report

    Dear Experts
    I m facing a problem...actaually i have replaced 999 by blank in a field of database table record.
    Like :     999 abcde
                 999999 hjklmn
                 9999 klplmj
                 99999 hjsfhh
    I have replaced 9 by blank. and using CONDENSE statement i have avoid the left hand side spaces of 9 in the database table.
    Means the data is updated in database table following below using Condense.
    Like:     abcde
                hjklmn
                klplmj
                hjsfhh
    Now,  the problem is that these spaces is showing in the Report. The left hand side spaces is not deleting from the Report. But these spaces is not showing in the databse table.
    Plz tell me wat is the reason and wat is the solution to avoid these space from the Report.
    Note: That field is Character Field.   KNA1-STRAS
    Thanks and Regards,
    Swapnika

    Hello
    Try to use
    SHIFT c LEFT  DELETING LEADING SPACE.
    instead of
    CONDENSE...

  • Simple:How is Copying table space from instance to other?

    Please .. Can u give me the complete way to Copy table space from instance to other using imp/exp???

    Given you didn't post a version you seem to assume there is only one way ... there are at least four I know of so you need to look up the answer for your version yourself.
    http://tahiti.oracle.com
    look up transportable tablespaces
    http://www.psoug.org/library.html
    Working demos under Transportable Tablespaces
    http://www.caleb.com
    look under the DBA scripts

  • I recently re-loaded iphoto, and now am unable to upload photos from my camera - saying there is insufficient disk space

    I recently re-loaded iphoto, and now am unable to upload photos from my camera - saying there is insufficient disk space. does anyone have a solution?

    Assuming you have space on your disk, then it could be a symptom of a damaged Library.
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
    Regards
    TD

  • Unable to release planned order for single line from MRP workbench

    Hi
    We are unable to release planned order for single line from MRP Planner workbench,but Select All For Release is working for all the lines for the item
    User want to release a specific line but no new requisition is generated
    It is highly appreciable if anyone could help to resolve this issue
    Appreciate the Help
    Regards
    VKPK

    It sounds like the release goes through in the workbench but the requisition does not show up in source - is this correct? If so I would check item attributes / flags for purchasing and buy. also have found some items require a purchase price to be populated in master and org

  • Unable to wipe ZFS partition table from the disk

    I used an SD card as part of a zfs zpool made of three SD cards, without partition table. ZFS was managing the entire devices, not just partitions.
    I subsequently retired this zpool but did not run “zpool destroy”. This worked for two of the cards, but it seems as if one of the SD cards just can’t shake the zfs_member marker, no matter what I do.
    So far I tried multiple times, on several different machines (including two without ZOL installed, so zfs cache file is not an issue here):
    1. dd the entire device with zeros. Four times.
    2. zpool labelclear -f /dev/sdc
    3. create new msdos partition table in gparted and fdisk
    4.
    $ mkfs.btrfs -f /dev/sdc
    $ mount /dev/sdc /mnt/usb
    mount: unknown filesystem type 'zfs_member'
    Unable to wipe ZFS partition table from the disk
    5. Windows format and Partition Minitools windows equivalent of gparted.
    As you can see, none of those methods wrote over the zfs data. It remains intact and invulnerable to anything I tried.
    I am out of ideas. It looks like google is out of ideas, too.

    Yeah, somehow while writing the first post I missed that wipefs also does absolutely nothing.
    # wipefs /dev/sdc
    offset type
    0x23000 zfs_member [raid]
    LABEL: SD
    UUID: 9662645799256520897
    # wipefs /dev/sdc -o 0x23000
    /dev/sdc: 8 bytes were erased at offset 0x00023000 (zfs_member): 0c b1 ba 00 00 00 00 00
    # wipefs /dev/sdc
    offset type
    0x23000 zfs_member [raid]
    LABEL: SD
    UUID: 9662645799256520897

  • Delete extra spaces in table column

    hi how can i delete extra spaces in table column for example if table column value is store as 'ÄAAAAA ' how can i delete that extra space
    this is the column i what to delete extra spaces
    select SUBTYPES  from tablesubtype;am in
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE 11.2.0.3.0 Production
    TNS for Solaris: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production
    Edited by: adf0994 on 2012/12/03 11:30 AM
    Edited by: adf0994 on 2012/12/03 11:42 AM

    UPDATE tablesubtype
       SET SUBTYPES  = TRIM (SUBTYPES);Doing RTRIM alone will not suffice coz it'll only remove Right Spaces and NOT Left ones.
    I guess, in your case doing a TRIM will be more beneficial to be safe and prevent any left spaces in future.
    For intermediate spaces... try this.
    UPDATE tablesubtype
       SET SUBTYPES  = REGEXP_REPLACE (SUBTYPES, ' ', '');Hope this Helps,
    Ranit B.
    Edited by: ranit B on Dec 3, 2012 2:33 PM
    -- added regexp

  • Unable to capture data from drop down list in custom added field in migo tcode at item level

    Hi guys,
    need bit help in resolving query related to custom added field in Tcode migo.
    i have added a field in migo at item level ,in this i have used drop down list
    to get data but unable to capture data from drop down list.gown through
    many blogs in scn but unable to resolve.
    Please help me out in this.
    Thanks,
    Umakant.

    Hi,
    U can use following code to fill the list box
    write this code in PBO
    In layout editor please select listbox in dropdown attribute of input field and put some fctcode attribute
    TYPE-POOLS vrm.
      DATA values TYPE vrm_values WITH HEADER LINE.
      TABLES: <ur custom Database table>.
      clear values, values[].
      SELECT * FROM <ur custom Database table>.
        values-text = <TABLE FIELD TO DISPLAY IN DROPDOWN> .
        values-key = <TABLE KEY FIELD TO DISPLAY IN DROPDOWN>.
        APPEND values.
      ENDSELECT.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id              = '<SCREEN INPUT FIELD NAME>'
          values          = values[]
        EXCEPTIONS
          id_illegal_name = 1
          OTHERS          = 2.
    Also please define the following before accessing the listbox value
    data: <listbox input field name> type <table field name>,
            <inputfield name where text to display> type string  in top include
    In PAI, select the text from the table into <inputfield name where text to display>  depending on value selected which will be called when enter key is pressed or any vale is selected

  • Online Rebuild Index Vs Shrinking With Compact Segment with Release space

    Hi All,
    I want to know which is the better option from these as far as availabiltiy of index
    is concerned
    I have been doing online INdex rebuild and haven't faced much problems but new to Shrinking
    What Grid COntrol says about shrinking is
    "This will first compact the segments and then release the recovered space to the tablespace.
    During the short space release phase, any cursors referencing this segment may be
    invalidated and queries on the segment could be affected"
    I dont know how much is that affect...Can anybody share their experience and knowledge
    about shrinking .....
    My Idea is to reclaim the space from the INdexes
    Thanks
    Gagan

    It depends on many factors of which you have mentioned none.
    The affect of cursor invalidation, for example, might be different on Monday than on Tuesday.
    You should test this in as real a simulated environment as you can but likely any issues will be minimal.
    Just don't be surprised by a surprise or two.

Maybe you are looking for

  • MSI 870a-G54 Hard drive problem.

    About a week ago i reinstalled Windows because it started to slow down (virusses and what not) And as soon as i reinstalled everything (programs games etc etc) One of my harddrives used for games did not show up at the bios and at My computer. So thi

  • My hp430 does not start

    hi yesterday when i tried to start my laptop it does not start and i also tried to connect adapter it also does not charge.can you help me how to solve this problem.

  • Plant and Location in SRM

    Hi I keep getting a strange Eroor in SRM called: "Select a location to which a plant has been assigned". I have a plant assigned, but I have no storage locations defined in R3 to feed off. Is it the Storage Location that it is referring to ? Greeting

  • +++           Info needed about a drive for our [very] old floppies.

    I guess what I need is a USB, external floppy drive. does anyone know of such an animal ? especially one that reads both the 3" hard and the very oldest 5" soft discs. G4 tower, OS 9 I'm asking this question here, cos the 'very old hardware' column o

  • Bapi error messages, explainations

    Hi All, I am working on implementing a Bapi and we are getting a number of different error message returned. for instance one code we are getting is 'SAP Error Code #E-M8-074' = 'Quantity entered larger than quantity to be debited' but we can post th