Compressed table using oracle advanced compression but space is not release

Dear Experts,
I am using oracle 11.2.0.2 with sap as application
I have compressed one of my largest indetified table "SWWCNTP0" as per below statement
Alter table sapsr3.SWWCNTP0 compress for oltp;
After this i have performed reorg for the above table but it doesnt released the space
before reorg 39gb
after reorg 39g
Please advice
Regards
Navin Somal

906078 wrote:
Dear Experts,
I am using oracle 11.2.0.2 with sap as application
I have compressed one of my largest indetified table "SWWCNTP0" as per below statement
Alter table sapsr3.SWWCNTP0 compress for oltp;
After this i have performed reorg for the above table but it doesnt released the space
before reorg 39gb
after reorg 39g
Please advice
Regards
Navin SomalHow did you go about doing the reorg?
He's a simple working example ...
ME_ORCL?create table to_compress as
  2  select * from all_objects
  3  union all
  4  select * from all_objects
  5  union all
  6  select * from all_objects
  7  union all
  8  select * from all_objects
  9  union all
10  select * from all_objects;
Table created.
Elapsed: 00:00:16.74
ME_ORCL?select bytes
  2  from dba_segments
  3  where segment_name = 'TO_COMPRESS';
             BYTES
          44040192
1 row selected.
Elapsed: 00:00:00.06
ME_ORCL?alter table to_compress compress for oltp;
Table altered.
Elapsed: 00:00:00.09
--we don't expect any change here, because this only affects subsequent operations on the table, we need to MOVE the table to see any benefits in the existing data
ME_ORCL?select bytes
  2  from dba_segments
  3  where segment_name = 'TO_COMPRESS';
             BYTES
          44040192
1 row selected.
Elapsed: 00:00:00.08
ME_ORCL?alter table to_compress move compress for oltp;
Table altered.
Elapsed: 00:00:01.08
ME_ORCL?select bytes
  2  from dba_segments
  3  where segment_name = 'TO_COMPRESS';
             BYTES
          14680064
1 row selected.
Elapsed: 00:00:00.02
ME_ORCL?

Similar Messages

  • Clob temporary table space is not released

    In our java web application, it uses datasource to call oralce stored procedure and get back data in Clob data type. The oracle version is 8.1.7.4. After the database call, the database connection is closed. But I found that the tablespace for Clob data is not released. Right now it becomes a critical issue of our production database. Anybody has any clue? Really appreciate.

    Team,
    We have a table of size 550gigs in size and we truncated the table , truncated sucessfully but space is not released in os level, what action we can take to release the space and this table has only one row and contains the binary data.
    Thanks
    PGR
    Hello,
    Yes space wont be released immediately .If large extents are in picture which I assume is your case it goes into deferred drop a background process which will execute after some time( time may vary).See below link for details.
    As per BOL if extents are more than 128 it goes in deferred drop.
    http://msdn.microsoft.com/en-us/library/ms177495.aspx
    You should wait for some time .keep checking the free space
    Below discussion will surely help you in understanding.See Jonathan's reply
    http://social.msdn.microsoft.com/Forums/en-US/4aa2537e-246b-4bfe-818d-3482531d9149/sql-server-2005-massive-400gb-table-dropped-space-not-released
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Space is not released after truncating the table

    Team,
    We have a table of size 550gigs in size and we truncated the table , truncated sucessfully but space is not released in os level, what action we can take to release the space and this table has only one row and contains the binary data.
    Thanks
    PGR

    Team,
    We have a table of size 550gigs in size and we truncated the table , truncated sucessfully but space is not released in os level, what action we can take to release the space and this table has only one row and contains the binary data.
    Thanks
    PGR
    Hello,
    Yes space wont be released immediately .If large extents are in picture which I assume is your case it goes into deferred drop a background process which will execute after some time( time may vary).See below link for details.
    As per BOL if extents are more than 128 it goes in deferred drop.
    http://msdn.microsoft.com/en-us/library/ms177495.aspx
    You should wait for some time .keep checking the free space
    Below discussion will surely help you in understanding.See Jonathan's reply
    http://social.msdn.microsoft.com/Forums/en-US/4aa2537e-246b-4bfe-818d-3482531d9149/sql-server-2005-massive-400gb-table-dropped-space-not-released
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Deleted photos space is not released

    Delete all photos, delete also recently eliminated. But when I enter phone information photographs still occupy almost a gig and says I have 680 photos on the device. If I look at using iTunes tells me the same. How can I do to free that memory space?
    Thank You.

    Team,
    We have a table of size 550gigs in size and we truncated the table , truncated sucessfully but space is not released in os level, what action we can take to release the space and this table has only one row and contains the binary data.
    Thanks
    PGR
    Hello,
    Yes space wont be released immediately .If large extents are in picture which I assume is your case it goes into deferred drop a background process which will execute after some time( time may vary).See below link for details.
    As per BOL if extents are more than 128 it goes in deferred drop.
    http://msdn.microsoft.com/en-us/library/ms177495.aspx
    You should wait for some time .keep checking the free space
    Below discussion will surely help you in understanding.See Jonathan's reply
    http://social.msdn.microsoft.com/Forums/en-US/4aa2537e-246b-4bfe-818d-3482531d9149/sql-server-2005-massive-400gb-table-dropped-space-not-released
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Tables used for Advanced Product Catalog

    Hi All,
    Can i get the tables used for Advanced Product Catalog. i.e. Catalog group and its attributes and peoples assigned and items assigned to that catalog.
    Its a bit urjent. Please help me.
    Thanks in advance.
    Regards,
    Pavitra.

    Check Note: 372415.1 - What Table Do I Use to Query For User Defined Attributes
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=372415.1
    Electronic Technical Reference Manual (eTRM) should be also helpful
    http://etrm.oracle.com/

  • Sample Message Driven Bean using Oracle Advance Queuing

    Hi,
    Can someone please provide me with sample MDB using Oracle Advance Queuing to Enqueue & Dequeue messages?
    Thanks

    Write your email Id .....I have got a test case which basically enqueus and dequeues the messages using Oracle9i AQ..
    --Venky                                                                                                                                                                                                                                                                   

  • I have used F4IF_FIELD_VALUE_REQUEST function module.but i am not getting t

    Hi friends,
    I have 2 screen fields EQUNR & EQKTX.i have attached custom help to EQUNR.when i select value from f4 help  then i want corresponding value from search help should get populated in the EQKTX field.
    I have used F4IF_FIELD_VALUE_REQUEST function module.but i am not getting the result.
    DATA: lt_return_tab      TYPE TABLE OF ddshretval.
      DATA: lw_return_tab      TYPE ddshretval.
      DATA: lv_equnr LIKE eqkt-equnr,
            lv_eqktx LIKE eqkt-eqktx.
      CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
        EXPORTING
          tabname                   = 'EQKT'
          fieldname                 = 'EQUNR'
          searchhelp                = 'Z_EQKT'
          SHLPPARAM                 = ' '
         dynpprog                  = sy-repid
           dynpnr                    = sy-dynnr
         dynprofield               = 'GW_SCREEN-WPTXT'
          STEPL                     = 0
          VALUE                     = ' '
          MULTIPLE_CHOICE           = 'X'
          DISPLAY                   = ' '
          SUPPRESS_RECORDLIST       = ' '
          CALLBACK_PROGRAM          = ' '
          CALLBACK_FORM             = ' '
          SELECTION_SCREEN          = ' '
        IMPORTING
          USER_RESET                =
       TABLES
         return_tab                = lt_return_tab
        EXCEPTIONS
          FIELD_NOT_FOUND           = 1
          NO_HELP_FOR_FIELD         = 2
          INCONSISTENT_HELP         = 3
          NO_VALUES_FOUND           = 4
          OTHERS                    = 5
      IF sy-subrc = 0.
        READ TABLE lt_return_tab INTO lw_return_tab INDEX 1.
        IF sy-subrc = 0.
         MOVE lw_return_tab-fieldval TO lv_equnr.
          CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
            EXPORTING
              input  = lw_return_tab-fieldval
            IMPORTING
              output = lv_equnr.
          SELECT SINGLE eqktx
            INTO lv_eqktx
            FROM eqkt
            WHERE equnr = lv_equnr AND
                  spras = sy-langu.
          IF sy-subrc = 0.
            gw_screen-wptxt = lv_eqktx.
            gw_screen-equnr = lv_equnr.
          ENDIF.
        ENDIF.
      ENDIF.
    Please provide the solution.

    I have written the same code as you said but still its not giving me the equnr value.
    DATA :  lt_dynpread1        TYPE STANDARD TABLE OF dynpread,
              lt_dynpread11       TYPE STANDARD TABLE OF dynpread,
              lw_dynpread1        LIKE LINE  OF lt_dynpread1,
              lw_dynpread11       LIKE LINE  OF lt_dynpread11,
              lt_return_tab1      TYPE TABLE OF ddshretval,
              lw_return_tab1      TYPE ddshretval,
              lv_equnr1           LIKE eqkt-equnr,
              lv_eqktx1           LIKE eqkt-eqktx,
             lt_eqkt            TYPE STANDARD TABLE OF eqkt,
              li_dselc       TYPE STANDARD TABLE OF dselc,
               lwa_dselc      TYPE dselc.
      TYPES: BEGIN OF lty_eqkt,
            equnr TYPE eqkt-equnr,
            eqktx TYPE eqkt-eqktx,
            END OF lty_eqkt.
      DATA: lt_eqkt TYPE TABLE OF lty_eqkt,
            li_dynpread    TYPE STANDARD TABLE OF dynpread,
            lwa_dynpread   TYPE dynpread.
      DATA:
            lg_condition    TYPE string.
      TYPES: BEGIN OF lty_eqktx,
               sign(1)   TYPE c,
               option(2) TYPE c,
               low       TYPE eqkt-eqktx,
               high      TYPE eqkt-eqktx,
              END OF lty_eqktx.
      DATA: lt_eqktx TYPE STANDARD TABLE OF lty_eqktx.
      DATA:lw_eqktx TYPE lty_eqktx.
      lwa_dynpread-fieldname = 'GW_SCREEN-WPTXT'.
      APPEND lwa_dynpread TO li_dynpread.
      CLEAR lwa_dynpread.
    Read Screen Field Values.
      CALL FUNCTION 'DYNP_VALUES_READ'
        EXPORTING
          dyname     = sy-repid
          dynumb     = sy-dynnr
        TABLES
          dynpfields = li_dynpread.
    Read the first record as only one record will be present
      READ TABLE li_dynpread INTO lwa_dynpread INDEX 1.
      gw_screen-wptxt = lwa_dynpread-fieldvalue.
      CLEAR lw_eqktx.
      lw_eqktx-sign = 'I'.
      lw_eqktx-option = 'CP'.
      lw_eqktx-low = gw_screen-wptxt.
      APPEND lw_eqktx TO lt_eqktx.
      CLEAR lw_eqktx.
      IF gw_screen-wptxt IS INITIAL.
        SELECT equnr eqktx
             INTO TABLE lt_eqkt
             FROM eqkt.
      ELSE.
       MOVE 'EQKTX CP GW_SCREEN-WPTXT' TO lg_condition.
    *lg_condition = GW_SCREEN-WPTXT.
        SELECT  equnr eqktx
             INTO TABLE lt_eqkt
             FROM eqkt
          WHERE eqktx IN lt_eqktx.
      ENDIF.
      lwa_dselc-fldname = 'F0002'.
      lwa_dselc-dyfldname = 'GW_SCREEN-WPTXT'.
      APPEND lwa_dselc TO li_dselc.
      CLEAR lwa_dselc.
      lwa_dselc-fldname = 'F0003'.
      lwa_dselc-dyfldname = 'GW_SCREEN-EQUNR'.
      APPEND lwa_dselc TO li_dselc.
      CLEAR lwa_dselc.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
      DDIC_STRUCTURE         = ' '
          retfield               = 'GW_SCREEN-WPTXT'
      PVALKEY                = ' '
          dynpprog          = sy-repid
          dynpnr            = sy-dynnr
          dynprofield            = 'GW_SCREEN-WPTXT'
      STEPL                  = 0
      WINDOW_TITLE           =
      VALUE                  = ' '
          value_org              = 'S'
      MULTIPLE_CHOICE        = ' '
      DISPLAY                = ' '
      CALLBACK_PROGRAM       = ' '
      CALLBACK_FORM          = ' '
      MARK_TAB               =
    IMPORTING
      USER_RESET             =
        TABLES
          value_tab              = lt_eqkt
      FIELD_TAB              =
          return_tab             = lt_return_tab1
          dynpfld_mapping        = li_dselc
    EXCEPTIONS
       parameter_error        = 1
       no_values_found        = 2
       OTHERS                 = 3

  • I have bought itunes songs on an ipad with my daughter apple id. i would like to back them up on the same computer I sync my iphone with using my apple id but they will not transfer. Both iphone and ipad have only been synced on the computer mentione

    I have bought itunes songs on an ipad with my daughter apple id. i would like to back them up on the same computer I sync my iphone with using my apple id but they will not transfer. Both iphone and ipad have only been synced on the computer mentioned since they were purchased. Is there any way to get the ipad music transferred to the computer?

    And they were definitely purchased from the iTunes store, they show on the account's purchase history (Store > View Account on a computer's iTunes, or you can view the last 90 days purchases via http://reportaproblem.apple.com) ?
    You could potentially log into the account on that computer's iTunes (Store > Sign Out to log out of your account, that will then change to a Store > Sign In option) and redownload them by clicking on the id towards the top right of the iTunes screen and Purchased on the popup :
    But that will potentially tie that computer to that account for 90 days : Manage your associated devices in iTunes - Apple Support
    Or do you have a different computer that you could redownload them on and then copy them over to that computer via a flash drive or memory card, and then add them to its iTunes via File > Add To Library ?

  • I have downloaded the 30 day free trial using Adobe Download Assistant but I do not know how to open it and start using it.

    I have downloaded the 30 day free trial using Adobe Download Assistant but I do not know how to open it and start using it.

    This was so annoying!! It took me a good couple of hours but i figured it out, you need to do the following: Go to the folder where you saved the download (in my case i saved it in My Downloads) -> click on 'Adobe Photoshop Elements 12' -> click on 'PSE 12' -> click on 'Setup' (select the icon which is a box with a shield) -> follow instructions and....voila! You will need to restart when it suggests so save anything else first, then when it reboots you should see the icon on your desktop....hpe this helps!

  • HT201320 I have ne iphone 5, i been setting my email using AT&T global but it is not working, please help me on the correct configuration

    I have ne iphone 5, i been setting my email using AT&T global but it is not working, please help me on the correct configuration

    Contact the email provider and obtain the correct setup information.

  • I sent e-mail photos from iPhoto using my @me account but I do not find the history of sent e-mails in my new iCloud account. Where can I find the history of sent e-mails?

    I sent e-mail photos from iPhoto using my @me account but I do not find the history of sent e-mails in my new iCloud account. Where can I find the history of sent e-mails?

    Using iPhoto as the email client in iPhoto does not creatge a sent copy.  iPhoto indicates in the Info drawer if a photo was emailed by iPhoto (under the Sharing section):
    There's no easy way to search for photos that have been emailed. Each photo has to be inspected via the Info tray.
    One could add a keyword to emailed photos which would let a smart album keep track of those photos.
    A better solution, IMO, is to set Mail as the email client (in iPhoto's General preference pane) and use it.  That will give you an sent copy, better access to your contacts and, if you want a theme, numerous photo themes under the Stationary section of Mail.
    OT

  • I am running Office 2013.  Trying to sync my reminders with my iphone using icloud for windows, but it is not working.  Can anyone please help?

    I am running Office 2013.  Trying to sync my reminders with my iPhone 5c version 7.1.2 using icloud for windows, but it is not working.  Can anyone please help?

  • HT4623 I have tried to update my iPhone using the iTunes method but it will not work. The message "The iTunes update server could not be contacted. Please check your internet connection or try again later," appears. What do I do? The Internet is working f

    I have tried to update my iPhone using the iTunes method but it will not work. The message "The iTunes update server could not be contacted. Please check your internet connection or try again later," appears. What do I do? The Internet is working fine.

    Have you tried the following troubleshooting document?
    iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server
    If you end up using the If the iTunes Store opens successfully section of the document, and the "Automatically detect settings" checkbox is already checked, try unchecking and rechecking it and clicking OK.

  • HT201269 Hi I purchased iphone5 in uk..Now am in India before coming I unlocked my iphone using my mail id.but now its not activating they telling now this mail id is not used to unlock this iphone.what can i do now?please anyone tel me the answers

    Hi I purchased iphone5 in uk..Now am in India before coming I unlocked my iphone using my mail id.but now its not activating they telling now this mail id is not used to unlock this iphone.what can i do now?please anyone tel me the answers

    Only the Carrier it is Locked to can Unlock it.
    Contact the Carrier.

  • HT1454 I have a speaker with I phone 30 pin dock, it use to work fine but i am not getting error saying accessory not supported,how i can determine what could be the problem

    I have a speaker with I phone 30 pin dock, it use to work fine but i am not getting error saying accessory not supported,how i can determine what could be the problem
    i am getting the same error with my rf transmitter that i use in my car

    - Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
    - Did this start happening after an iOS update? Sometimes an iOS update will break compatibility.
    Sometimes this works:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up                             
    - Restore to factory settings/new iOS device.

Maybe you are looking for

  • Is it possible to sort songs after using iTunes Match?

    When I used iTunes to sync my songs previously, everything's fine because I can do all in iTunes then press sync. But with the use of iTunes Match, everything seems automatically done through the "cloud". I can't even rearrange the order of my songs,

  • Enter verification code from iPhone

    When renting a movie on AppleTV, it's asks for a verification code. I'm using my iphone as a remote.  My code is 3 digits but there are 4 boxes. There is no way to navigate to "submit" from my iPhone (using as remote). I tried entering 0 and then my

  • I am trying to make a Shell call to Firefox in the C:\Program Files (x86)\Mozilla FireFox\ directory and LabView shell call gives an error.

    I am trying to make a Shell call to Firefox in the C:\Program Files (x86)\Mozilla FireFox\ directory and LabView shell call gives an errors. I can go to the DOS shell and make the call fine, but Labview Shell gives several errors. Anyone know how to

  • PC software on a mac mini

    I am installing mac minis in school because I want to run the music and digital software. In addition I want to run pc educational software for theatrecrafts none of which are designed to run on macs. I understand that a new patch exists so that macs

  • Can somebody explain what happens here??

    Hi everyone. I was just wondering if someone could explain the following piece of code to me. Thanks a lot. Transform3D t3d = new Transform3D(); Transform3D ct3d = new Transform3D(); Matrix4d matrix = new Matrix4d(); t3d.rotY(angle); viewingPlatformT