TABLESPACE cleanup not happening after table data delete

Hi all
I have a partitioned table with 4 partitions all residing in a single tablespace. I populated the table with sample data and then deleted all with a simple delete statement followed by a commit. But the tablespace is still showing data from the 4 partitions under the bytes column in query below:
select segment_name, partition_name, tablespace_name, bytes
from dba_segments
where tablespace_name='tb_name'
Am I missing something here? Do I need to run some other command after delete and commit to fully flush out the data?
FYI, my system specs are:
Windows 2008 Server Standard (32-bit)
ORACLE 11.1.0.7.0

HI,
LMT is Locally Managed Tablespace.
+Moreover, when you say the blocks will not be available immediately when do you reckon they will be available? How do I go about automating this to free up space as soon as data is deleted?+
You cannot automate this job, this is already automated by Oracle.
+FYI, both pct_free and pct_used come up as empty values for my table.+
reason for a NULL-value for PCT_USED is that the tablespace where the table resides uses automatic segments space management (ASSM). With ASSM there is no need for PCT_USED only for PCT_FREE. Oracle manages blocks automatically.
You dont worry about releasing the space, Oracle will take care of it automatically.
Go through the below link
[http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/tspaces.htm#ADMIN10065]
[http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/schema.htm#sthref2100]
[http://www.dba-oracle.com/art_builder_assm.htm]
This is an extract form Oracle docs
Understanding Reclaimable Unused Space
Over time, updates and deletes on objects within a tablespace can create pockets of empty space that individually are not large enough to be reused for new data. This type of empty space is referred to as fragmented free space.
Objects with fragmented free space can result in much wasted space, and can impact database performance. The preferred way to defragment and reclaim this space is to perform an online segment shrink. This process consolidates fragmented free space below the high water mark and compacts the segment. After compaction, the high water mark is moved, resulting in new free space above the high water mark. That space above the high water mark is then deallocated. The segment remains available for queries and DML during most of the operation, and no extra disk space need be allocated.
You use the Segment Advisor to identify segments that would benefit from online segment shrink. Only segments in locally managed tablespaces with automatic segment space management (ASSM) are eligible. Other restrictions on segment type exist. For more information, see "Shrinking Database Segments Online".
If a table with reclaimable space is not eligible for online segment shrink, or if you want to make changes to logical or physical attributes of the table while reclaiming space, you can use online table redefinition as an alternative to segment shrink. Online redefinition is also referred to as reorganization. Unlike online segment shrink, it requires extra disk space to be allocated. See "Redefining Tables Online" for more information.Regards,
Vijayaraghavan K

Similar Messages

  • Overhead calculation not happening after using Overhead key and orgin group

    overhead calculation not happening after using Overhead key and orgin group.
    There was a runtime error earlier related to u201Cdefine credit u201C IMG node under costing sheet component and we have applied SAP note 769946 and that error was gone out of the way
    We want to apply/add Overhead to SFG/FG materials.
    We are using PP order with PCC(product cost collector) as the cost object , i.e costing by period.(system ECC 6)
    But our problem is with material standard cost estimate process.
    We have assigned overhead keys to the percentage rates in costing sheet for material standard costing and assigned the origin groups to the credits of costing sheet. But after running the cost estimate overhead is not taking into account for standard cost calculation.
    In the define credit entry table key field is valid to date strangly and actually system should allow one than one entry with same valid to date and same sec.Cost element(type-41) for different cost centers.
    But if we without using overhead key and origin group, the entire cost in that supporting cost center will come to all materials (SFG/FG) and we can not distinguish between different product materials(SFG /FG).
    We have checked all things as mentined below.
    Firstly that the correct costing sheet is assigned to the valuation
    variant.
    That the costing sheet is entered for the appropriate material type:
    Finished and semi finished or material components.
    All of the above can be checked and verified via transaction OKKN.
    In addition make sure that the base value maintained is present in the
    costing, for example the base may include an Origin group, is that
    origin group part of the materials being costed?
    Similarly if the base is found and values exist how is the overhead
    rate of the costing sheet set up, is it valid etc.
    And finally do a similar check for the credit.
    we doubt this as a programm error...
    So, request all experts to have ur feedback..

    Dear,
    Check your origin group & material unit of mesaurement is same.
    some time in costing sheet origin group is maintain in different unit & for materail it's maitain in other unit of mesaurement.
    You can see unit of measure for material in Additional data - unit of measure.
    Check BOM component material unit also.
    Check same  unit of measure is maintain in KZS2
    I hope above will useful.
    GOPAN

  • Overhead calculation not happening after using orgin group.

    overhead calculation not happening after using orgin group.
    There was a runtime error earlier related to u201Cdefine credit u201C IMG node under costing sheet component and we have applied SAP note 769946 and that error was gone out of the way
    We want to apply/add Overhead to SFG/FG materials.
    We are using PP order with PCC(product cost collector) as the cost object , i.e costing by period.(system ECC 6)
    But our problem is with material standard cost estimate process.
    We have assigned overhead keys to the percentage rates in costing sheet for material standard costing and assigned the origin groups to the credits of costing sheet. But after running the cost estimate overhead is not taking into account for standard cost calculation.
    In the define credit entry table key field is valid to date strangly and actually system should allow one than one entry with same valid to date and same sec.Cost element(type-41) for different cost centers.
    But if we without using overhead key and origin group, the entire cost in that supporting cost center will come to all materials (SFG/FG) and we can not distinguish between different product materials(SFG /FG).
    We have checked all things as mentined below.
    Firstly that the correct costing sheet is assigned to the valuation
    variant.
    That the costing sheet is entered for the appropriate material type:
    Finished and semi finished or material components.
    All of the above can be checked and verified via transaction OKKN.
    In addition make sure that the base value maintained is present in the
    costing, for example the base may include an Origin group, is that
    origin group part of the materials being costed?
    Similarly if the base is found and values exist how is the overhead
    rate of the costing sheet set up, is it valid etc.
    And finally do a similar check for the credit.
    we doubt this as a programm error...
    So, request all experts to have ur feedback..

    Dear,
    Check your origin group & material unit of mesaurement is same.
    some time in costing sheet origin group is maintain in different unit & for materail it's maitain in other unit of mesaurement.
    You can see unit of measure for material in Additional data - unit of measure.
    Check BOM component material unit also.
    Check same  unit of measure is maintain in KZS2
    I hope above will useful.
    GOPAN

  • Management Studio 2008 does not refresh after table create / alter

    hello
    Management Studio 2008 does not refresh after table create / alter, why?
    f5 / refresh button does not work in "Object Explorer".... i always need the restart the whole application to see any changes, this is strange...
    regards, jan

    Hi jm,
    I’m writing to follow up with you on this post. Was the problem resolved after performing Vishal ‘s steps? If you are satisfied with our solution, I’d like to mark this issue as "Answered". Please also feel free to unmark the issue, with any new findings
    or concerns you may have.
    Thanks,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Data Error in the Query/Report after selective data deletion for infocube

    Hi Experts,
    Please advise what i was missing and what went wrong...
    I got a Query (Forecast) on a Multicube...which is based on 2 Infocubes with Aggregates...
    As i identified some data discrepency..yesteraday i performed selective data deleation on one of the Infocube
    and executed report yesteraday and the results in the query are correct...
    When today i executed the same report i am getting different results..
    When i compared the results of the report with that of data in cube they are not matching
    The report is not displaying the data in cube..for some rows it is displaying the data in the cube but for some rows it is just displaying same as the above row
    there is no data loaded into info cube after selective deleation
    Do i need to perform request compression and fill the aggregated after selective deleation
    Please advise what went wrong

    Hi Venkat,
    No i haven't done anything on aggregates before or after selective delete
    As there is not data load after the selective delete according to SAP Manual we don't need to perform any thing on aggregates...as selective data deletion on cube will delete data from aggregates as well
    Please update how to identify error

  • Missing secondary index after TDMS data deletion

    We have done a TDTIM transfer to a single client system. The deletion technique used by TDMS is Drop-insert technique.
    During our initial analysis, we found that many of the secondary indices are not re-created by TDMS at database level. For many few tables the secondary indices are re-created at the database level.
    Will TDMS delete and re-create the secondary index for re-created (droped & created) tables during data deletion in receiver system ?
    Why did TDMS re-create secondary indices for few tables and why it didnot re-create secondary indices for few other tables?
    Thanks
    Praven

    Indexes are deleted from the receiver only in cases when they were not present at the DB level in the receiver system
    prior to TDMS run. This is to avoid any kind of error/exceptions when records are inserted into the table.
    You need to create these indexes manually.
    In order to do so, you can follow the steps below:
    1. Execute transaction DB02.
    2. Select the button "missing indexes". A list of 1091 is shown
    3. Place the cursor on the line "secondary indexes" and hit F9
    4. Now hit "create on DB".
    5. A popup will ask if you want to do a mass select. Press "Yes"
    6. A further Popup will then ask for background processing. Say "Yes".
    Best Regards,
    Rupam

  • Chart does not update after table changes

    Simple X-Y chart using a data series from a table. The chart will not update after changing the table, for example after applying a filter. The chart will update if you close and reopen the file or go to Select Data on the chart.  I use named ranges
    because you can't use table nomenclature directly in the chart series definition.

    Seems to update for me OK. You need to apply the entire unfiltered range to the chart before filtering. Did you do this or filter first and only apply the visible range?
    If not the answer to you query then maybe I am not understanding the problem correctly so can you upload an example workbook?
    Guidelines to post a workbook on OneDrive
    Zip your workbooks. I prefer that you do not just save to OneDrive. (To Zip a file, in Windows Explorer  Right click on the selected file and select Send to -> Compressed (zipped) folder.)
    Go to this link.  https://onedrive.live.com
    Use the same login Id and Password that you use for this forum.
    Select Upload in the blue bar across the top and browse to the zipped folder to be uploaded and select Open (or just double click). (Be patient and give it time to display the file after initially seeing the popup indicating it is done.)
    Right click the file on OneDrive and select Share.
    Do NOT fill in the form; "Select Get a Link" on the left side.
    Click the button "Create a Link"
    Click in the box where the link is created and it will highlight.
    Copy the link and paste into your reply on this forum.
    Regards, OssieMac

  • PGI not happening after creation of shipment

    Hi Gurus,
    I created shipment document after the creation of delivery but my concern is PGI is not happening automatically I need to go for T-code VL02N to do the PGI manually.
    So can anyone help me out in this regard how can the PGI triggered automatically as soon as the shipment document is created.
    Points rewarded.
    Cheers,
    Krishna

    Hi,
    THis can be get it throught activity profiles.
    Note 740989 will help you  about how to handle report RV56ABST.
    I hope it helps.
    David

  • User not disabled after end date (9i)

    Hi All,
    The Disable after end date schedule task disabled 7 users but did not disable 1 user.
    Any know issue around this.
    Thanks
    Don

    Hi Gyanprakash,
    i can not try disable manually, its in production. The log for disable user is commented in log.properties. Can not change that .
    Just need to analyze, why this user was left out.
    Regards
    Don

  • Infostructure S502 not updated after certain date

    There is an infostructure S502. It is not updated after a certain date.
    It should be updated after saving in C011N.
    This problem seems to have propped up after upgrade to ECC 6.0. Before that it was working fine.

    I have tried a lot but still S502 is not properly updated. Basically the field for date i.e SPTAG is empty. Due to this when we try to select from MCRQ based on dates, no data is selected.
    Is it because of some setting in MC23?

  • What happens after: "Erase data after ten failed passcode attempts"  ?

    What happens after data is erased from the iPhone after ten passcode attempts?
    Is it the same thing as Settings->General->Erase all content and settings ?
    Does the iPhone essentially becomes a permanent brick, or does the iPhone appear as a fresh device that just awaits reactivating?
    Thanks~!

    All the user data on your phone is encrypted. When 10 failed attempt occur, the phone just securely erases the encryption key (overwrites it multiple times), then reboots. Without the encryption key present, even though all the data is still there, it cannot be decrypted and read anymore. Its just a load of random bits, and useless. The phone will just go through it's 'factory default' setup and quick format the flash ready to be used again as if it was a completely blank brand-new phone. At no point during any of this process is the system partition (the area that stores ios4) touched, so there is no danger of the phone being "bricked".
    And even if the system partition was erased, you could still restore the phone using DFU mode. It's quite difficult to permanently brick an iPhone, you can recover from most problems.

  • Availibility check not happening after credit block is removed for order

    Hi All,
    When  we are removing the credit block on  a sales order through report RVKRED09, the availibility check is not performed again because the qty in sales order is not confirmed.
    As per my understanding when the report RVKRED09 is run, the sales order is called in background and the credit status is changed  and then subsequently, the user exit MV45AFZF is called. In this exit, the values in wa-ybuk-cmgst is compared against wa-xbuk-cmgst. if  i think wa-ybuk-cmgst is A and wa-xbuk-cmgst is B, then it means the credit blocked is removed and the return code is 8 which means availibility check is to be performed.
    However in our case availibility check is not happening since the values of wa-ybuk-cmgst and wa-xbuk-cmgst  are same which is B i..e the credit block is not removed...but however the report RVKRED09 shows that cedit status is changed.
    Something is happening somwhere  which is causing this. could any one guide. Also what is the program name which confirms the availibility check in sales order and also what is the program name  which changes the credit status  for a sales order in VBUK table.
    regards
    sachin

    Hi
    So as per your query , you have gone with the user exit in the program MV45AFZF , so check wheather any subprogram has been included where availability check wont happen.So just take the help of ABAP;er and then check wheather any program has been included related to availability check.
    Regards
    Srinath

  • Redundacy Not happening after interface goes down.

    Dear All,
    I have the set up which I have attached. To brief, I have 2 CSS 11501 in two different locations connected each other via fibre and running redundnacy protocol on the link as heartbeat.
    The problem I am facing is if the interface through which the services are running fails the redundancy is not happening the master remains the master and the standby is standby and we have a services unavailable.
    the configuration is given below
    CSS_ACTIVE# sh run
    !Generated on 03/07/2010 22:26:21
    !Active version: sg0810106
    configure
    !*************************** GLOBAL ***************************
      username admin des-password lcof1eugqece2afd superuser
      bridge spanning-tree disabled
      arp timeout 1400
      no restrict web-mgmt
      ip redundancy master
      app
      app session 10.90.1.2
      ip route 10.50.3.0 255.255.255.0 10.50.9.1 1
    !************************* INTERFACE *************************
    interface e1
      trunk
      vlan 11
        default-vlan
      vlan 20
      vlan 21
    interface e9
      description "REDUNDANCY - CSS-STANDBY PORT 9"
      bridge vlan 23
    !************************** CIRCUIT **************************
    circuit VLAN11
      description "MANAGEMENT IP ADDRESS"
      ip address 10.7.10.20 255.255.255.0
    circuit VLAN20
      description "CSS_SERVER_VLAN"
      redundancy
      ip address 10.50.7.4 255.255.255.0
    circuit VLAN21
      description "CSS_CLIENT_VLAN"
      redundancy
      ip address 10.50.9.7 255.255.255.0
    circuit VLAN23
      description "REDUNDANT LINK TO CSS-STANDBY"
      ip address 10.90.1.1 255.255.255.0
        redundancy-protocol
    !************************** SERVICE **************************
    service Web1
      ip address 10.50.7.5
      active
    service Web2
      ip address 10.50.7.6
      active
    !*************************** OWNER ***************************
    owner KIM
      content web
        add service Web1
        add service Web2
        vip address 10.50.9.2
        advanced-balance sticky-srcip
        active
    CSS_ACTIVE#  
    CSS_STANDBY# sh run
    !Generated on 03/07/2010 22:31:42
    !Active version: sg0810106
    configure
    !*************************** GLOBAL ***************************
      ip redundancy
      bridge spanning-tree disabled
      arp timeout 1400
      no restrict web-mgmt
      app
      app session 10.90.1.1
      ip route 10.50.3.0 255.255.255.0 10.50.9.1 1
    !************************* INTERFACE *************************
    interface e1
      description "TRUNK "
      trunk
      vlan 11
        default-vlan
      vlan 20
      vlan 21
    interface e9
      description "REDUNDANCY - CSS-STANDY PORT 9"
      bridge vlan 23
    interface Ethernet-Mgmt
      phy 10Mbits-FD
      admin-shutdown
    !************************** CIRCUIT **************************
    circuit VLAN11
      description "MANAGEMENT IP ADDRESS"
      ip address 10.7.10.21 255.255.255.0
    circuit VLAN20
      description "CSS_SERVER_VLAN"
      redundancy
      ip address 10.50.7.4 255.255.255.0
    circuit VLAN21
      description "CSS_CLIENT_VLAN"
      redundancy
      ip address 10.50.9.7 255.255.255.0
    circuit VLAN23
      description "REDUNDANT LINK TO CSS-STANDBY"
      ip address 10.90.1.2 255.255.255.0
        redundancy-protocol
    !************************** SERVICE **************************
    service Web1
      ip address 10.50.7.5
      active
    service Web2
      ip address 10.50.7.6
      active
    !*************************** OWNER ***************************
    owner KIM
      content web
        add service Web1
        add service Web2
        vip address 10.50.9.2
        advanced-balance sticky-srcip
        active
    CSS_STANDBY#
    If the interface e1 fails on active the redundancy is not shifting to standby.

    You have setup box-to-box redundancy.
    This mechanism is very basic and only detects a box failure.  So, as long as the master can send heartbeat through the 'redundancy protocol' interface it will stay master.
    You should use interface/vip redundancy.
    A little bit more complex to configure but much more robust and with more features including interface failure detection.
    http://www.cisco.com/en/US/docs/app_ntwk_services/data_center_app_services/css11500series/v8.20_v8.10/configuration/redundancy/guide/VIPRedun.html
    Gilles.

  • Table Data delete not working

    Hi,
    I m trying to simply delete all records in a Z table. I insert data into this table from another program. Until 1/2 hr ago both insertions and deletions were working fine. But now suddently the delete program is hanging on statement
    DELETE FROM SAPR3.ZMYTABLE.
    The table has no lock objects, nor m I explicitly locking the table in the insert program. Please help at the earliest, points will be given to right answer. Thank you for reading.

    Hi Srikrishna,
    Please try to use standard program RADCVBTC to delete all records from your custom program.
    OBJ_NAME = <custom table>
    OBJ_TYPE = 'TABL'
    FCT      = 'MDF'
    Hope this will help.
    Regards,
    Ferry Lianto

  • Numbering not continuing after table

    I have a strange thing happening with a numbered list.
    First, I created a style named "List number 1" and entered information as follows:
    1. Step 1
    2. Step 2
    Between step 2 and what SHOULD be step 3, I added a table with one row and one column. When I go to number the next step, I get Step 4.
    e.g.
    1. Step 1
    2. Step 2
    Header 1
    Header 2
    4. Step
    I made sure that the table is not style "List number 1" so I'm a little confused on why this is happening.
    Any suggestions??

    I'm not really sure why its happening, but I can tell you how to recreate it and how to get rid of it.
    Make a paragraph style that has numbering on (I just made a new one that was identical to the Basic but changed it to a numbered list)
    Make a text frame
    Type a few characters then a return
    Repeat step 3 a few times (I made three paragraphs in total)
    Insert a table after the third paragraph return (doesn't matter how many cells), click below the table to move the cursor from the first cell in the table to after the table and hit return
    Repeat step 3 a few more times
    At this point, I have paragraphs 1-3, a table, and tparagraphs 4-6, with the table not being numbered.
    Now, if you place the cursor after the last keystroke in the third paragraph (you may want to show Hidden Characters in the Type menu at this point) and hit the right arrow button, it will place the cursor just before the table in the 4th paragraph. If you insert a character (I used a spaceband), the table will jump down a line and a #4  with a space will appear above it. If you hit the delete key to remove the character, the table will jump back up but still be numbered 4. But, if you hit delete again (placing the table in the third paragraph, or sort of, an inline object would be in the third paragraph, but tables seem to act a little differently) then hit return, it will place the table back into the 4th paragraph, and it won't be numbered (the paragraph after the table will be numbered 4 instead of 5).
    If anyone can explain why this happens, I'd be interested.

Maybe you are looking for

  • Sharepoint 2010 Site Web Analytics and Site Collection Web Analytics reports

    Hello, On our existing MS CMS 2002 site, we use Google Analytics to track file views, e.g., PDF, DOC, etc.  This is very important for us as we need to know who is looking at the files we provide, how often, referrer, from what location, etc.  Google

  • Need help in learning XML in the context of ABAP

    Experts, I am wondering if you can help me. I know abap (up to SAP 4.6c versions) but I know nothing about XML ( I am literally zero on XML). I want to learn XML in the contexts of ABAP programs in SAP Netweaver versions. I tied to google XML tutoria

  • Java.nio, FileChannel, FileLock conundrum...

    Hey all-- I want to have multiple java machines on multiple clients to access a singe file. I want the first java machine to access it to lock the file so only it can write to the file. Other machines may come in later and read it. Here's the trouble

  • EMET installed - Error DEP

    when trying to activate DEP (Data Execution Prevention) I get error :   system cannot find requested data file how to go on ? thanks for help. H.H.

  • Forecast timeframe change

    Hi gurus I am trying to change cost center validity period using OKEON and I get an error message: new validity time period 01.01.2000-31.12.2008 outside of forecast timeframe. I did this before with some other cost center in another company. What is