Releasing Cloned Blocks

While investigating a severe performance issue of buffer busy waits and latch free - cache buffer chains, I noticed that for a particular 1-row table with the majority of the BBW, there was a large number of cloned blocks. (same latch, many entries w/ touch count=1). I also noticed that fairly quickly after the wait contention subsided, that the number of tcn=1 blocks were basically gone.
Is there a function/command/etc. that I could force/"request" Oracle cleanup up any cloned blocks no longer being used?

metalink document suggests Bug 5387030: AUTOMATIC TUNING OF UNDO_RETENTION CAUSING SPACE PROBLEMS, as per the documents there are 3 workarounds & one of them I opted for was Set the autoextend and maxsize attribute of each datafile in the undo ts so it is autoextensible and its maxsize is equal to its current size so the undo tablespace now has the autoextend attribute but does not autoend:
alter database datafile '<datafile_flename>' autoextend on maxsize <current_size>;
With this setting, v$undostat.tuned_undoretention is not calculated based on a percentage of the undo tablespace size, instead v$undostat.tuned_undoretention is set to the maximum of: maxquerylen secs + 300 undo_retention specified in init.ora
As I monitor the undo tablespace, the same query now returns
SQL> select sum(bytes)/1024/1024/1024 Gb, status from dba_undo_extents group by status;
GB STATUS
42.399292 EXPIRED
.0625 ACTIVE
SQL> select begin_time, end_time, undoblks, tuned_undoretention, maxquerylen from v$undostat ;
this is a partial output
BEGIN_TIM END_TIME UNDOBLKS T UNED_UNDORETENTION MAXQUERYLEN
11-APR- 11 11-APR-11 4 900 0
11-APR-11 11-APR-11 9 900 0
11-APR-11 11-APR-11 11 900 0
11-APR-11 11-APR-11 7 900 0
11-APR-11 11-APR-11 106 900 0
previously the same query had given different values for tuned_undoretention
SQL> select begin_time, end_time, undoblks, tuned_undoretention, maxquerylen, maxqueryid from v$undostat;
BEGIN_TIM END_TIME UNDOBLKS TUNED_UNDORETENTION MAXQUERYLEN
11-APR-11 11-APR-11 1 900 0
*11-APR-11 11-APR-11 1 900 0--------------------> This is where the workaround started to effect*
11-APR-11 11-APR-11 3580 345600 0
11-APR-11 11-APR-11 1 345600 0
11-APR-11 11-APR-11 40 345600 0
11-APR-11 11-APR-11 1 345600 0
11-APR-11 11-APR-11 1 345600 0
Any suggestions on how the tuned_undoretention works?

Similar Messages

  • Release Orders Blocked for Delivery

    Hello Experts!!
    We have V.23, release orders blocked for billing.. is there a similar transaction where we can release orders blocked for delivery??
    Help is greatly appreciated.

    Hello Carla,
    Yes in the T-code "V.23", you can release the billing block for SALES ORDER in one single click. While releasing the delivery block for the Sales order the following T-code are useful:
    1. VDBLOCK
    2. V.14
    3. VA14L
    When you are using these T-codes, you get the list of all the Sales order which are blocked for Delivery. Then you can select the document for which you want to remove the delivery block and do the required updation.
    Regards,
    SARTHAK

  • Error while releasing credit block for the order

    Hi all,
    I am getting follwing error while releasing credit block for the order in VKM1
    Incorrect index structure for table IVBEP1
    Text
    Incorrect index structure for table IVBEP1
    Diagnosis
    Internal error.
    Procedure
    Repeat the transaction.
    If the error occurs and you have a CRM System connected to your SAP R/3 System, the document may have been archived in the CRM System.
    If the error occurs again, inform your system administrator. If the error cannot be corrected, call the SAP Hotline directly. Describe which steps preceeded the error.
    But we are not transfering any orders to CRM.The order can be only seen in R/3
    Please assist
    Regards
    Mano

    Hi
    KIndly check the oss note 505876 in may help you
    Regards
    Damu

  • Automatic release of blocked Invoices

    Note - Posted this qns in Financial forum & the user suggested to post the same question in this forum.
    Hi All,
    Scenario - A PO is placed with GR based IV unchecked. The vendor is sending the material & invoice to us. But the material is to arrive from overseas & hence there is a delay, but in the meantime i have posted the invoice in the system & the system blocks this invoice. I can check the blocked invoices in MRBR. At the moment to release it, i would have to use transaction MRBR, but I would like to know is there anyway, that the system can be configured to automatically release this blocked invoice, once the GR for that material is done, without me having to use any t-code?
    Vivek

    Hi Steve,
       There are 3 blocking reasons in MRBR,
    1. Blocked due to variances
    2. Manual Payment Block
    3. Stochastically blocked
       In this case, what is the reason for blocking?. If it is reason 1, then if i schedule a MRBR with automatic release, then would it release all those invoices as well which have been blocked due to price variation? or would it only release those Invoices which have been blocked due to non-receipt of GR?
       Also would like to know, is there anything in customizing, where i can define, say if the Purchase Order has got a Shipping Notification control key entered, then release this invoice?
       In customizing Financial Accouting -> Accounts Receivable & Accnts Payable -> Business Transaction -> Release payment
        Would this be of any help to me for resolving the issue at hand?
    Vivek

  • Payment release for blocked invoices.

    Dear Fi Gurus,
    How to  release payment block. Not through MRBR. Through workflow i want release. please advice
    Ex invoive is having 1 lakh. we want to relase payment one invoice 50%like partially
    Regards

    Hi,
    You can do that by F-53. Use Partial Payment or Residual Payment.
    Partial Payment: You will generate debit memo on vendor Invoice.
    Residual Payment: Clear Invoice and create another with remain amount.
    Hope it help

  • Release of Blocked invoices

    MRBR is a transaction which is used for releasing blocked invoices.
    However, MRBR releases the entire items of an invoices.  In our case, for certain invoices, some portion is 'retention amount' which should not be paid to the vendors. 
    How can we achieve the release of blocked invoices without releasing the retention part ? (We cannot allow FB02 to remove the block from the items..)

    If you need to pay "Partial payment to the Vendor, there are two ways.
    1. F-58 or F-53, Manual payment - Partial or Residual
    2. OBB9, configure the Payment term with Instalment amount and pay it through F110
    Hope it  helps
    Thanks
    Edited by: nkonnipati on Jan 9, 2012 7:28 AM
    Edited by: nkonnipati on Jan 9, 2012 7:34 AM

  • Vendor already released from block,but showing block while creating pr-help

    dear friends,
    my client is facing a problem in blocking of vendors.
    my client actually blocked the vendor in XK05 t-code. after some days again he want the same vendor. so they release the block, that is they removed the tick mark for block (for purchase organization, company code) and again they take the vendor for the usage.when they are creating PR by using this vendor. it is giving error: stating that :VENDOR xxxxxx BLOCKED FOR PURCHASE ORGANIZATION xxxx.
    so we have blocked the vendor and again released the block and take the vendor for usage.but again it is giving the same error when creating PR.
    What is the solution for this ?
    we have checked is there any blockage on financial side.we used the t-code FK04.
    IN T-CODE FK04, it is showing new and old fields. in new field it is showing blocked state of vendor (denoted by symbol :-X )
    kindly give your valuable solution for this.
    thanks in advance.
    regards,
    FLEMMINGS

    Hi Flemmings,
    this posting in which I explained about subrange, would help you:
    Hi,
    (Note, in purchasing data view of vendor master, you can see Alternative Data)...When this is activated with plant, it activates vendor data maintainable at Plant Level...Which means, you can mark a vendor to be blocked at plant level ...select check box for plant level purchasing data....then when you hit enter, it shows you vendor master at porg and plant level!!! then you can see a new meanu activated under extras--> Purchasing Block...You can never see this before, without doing this step....
    Try if some one played around...
    In standard SAP it is not possible to block a vendor at plant level. However, I have extensively researched on vendor sub-range functionality and I could make it possible.
    When you go to XK02 or MK02, maintain vendor subrange. When you select plant level data there, it allows you to maintain purchasing data at plant level. Using this, you can maintain purchasing data for the vendor at a plant level. When you are in this view at plant level, select the menu path, Extras-->Purchasing Block (you will never see this menu except in the subrange activated plant level view) it gives a pop-up on which there will be a check box to activate "Purchasing Block". If you select this, vendor is blocked at the plant level for that P Org. When you create a PO using this subrange (caution! it works only for that subrange) (subrange value can be entered at the Item details (material data tab) of the PO, system gives an error message" : Vendor 1046971 blocked for purch. org. 0150, vendor sub-range 1, and plant 0353
    Message no. ME008
    Diagnosis
    The indicator Purchasing block has been set in this vendor's master record.
    Procedure
    Choose a different vendor.
    Its a very impressive solution; If you can somehow get the subrange defaulted (and not changeable) for this vendor in the PO whenever the POrg and Plant matches your details, it becomes a standard functionality. Perhaps, a little bit of ABAP would make it.
    Reward if it helps!
    Regards
    Message was edited by:
            Gopala Turaga

  • How to Release the blocked Sales orders?

    Hi Gurus,
      Requirement: To Release the Blocked Salesorders
      problem: find out  any Tables  and procedure  to release blocked SO(allow to creating delivery for SO).
    how to Customer CreditLimit  and  Tables  of Theses...............
    Thanks in Advance..
    sivakumar.kasa

    Hi..
    AS per i knew......
    how to know cutomer CreditLimit?
    FD32,FD33...tcodes
    how to release blocked Sales order?
    VKM3
    Wait for some other views

  • Is there are BAPI to release the blocked business parter ?

    Is there are BAPI to release the blocked business parter . ?
    thanks ,
    naval Bhatt

    Hi,
    Then create a subtype of that BO.
    Write a custom method. In that method use a BDC program.
    First develop the BDC program and save it as a FM.
    Then call this FM in your custom method and pass the data from workflow.
    Make this method as background processing.
    I think this should do the rest job.
    Regards,
    Raj

  • Release Credit Blocked SO Automatically

    Hi Expert,
    I've just changed the credit control setting in OVA8. Before this change, there are a lot of sales orders were being blocked due to the previous setting. After the changes done (change "Deviation in %" from 0% to 50% & change "Days oldest item" from 1 day to 2 days). There should have many blocked SOs which are not fulfils this new rule anymore.
    May I know any t-code/program can be run to automatically release those blocked SOs which are not fulfil the new rule after the changes done?
    Many thanks & regards,
    Poi Yoke

    Dear Aw Poi Yoke ,
    The list of sales order in VKM3 will be those which are blocked due to the current OVA8 setting.
    What you can do is run the credit re-organisation programs for those  sales order which were created before making the configuration changes. (you can get the list by considering the document creation date)
    Now check the programs
    http://help.sap.com/saphelp_470/helpdata/en/93/743861546011d1a7020000e829fd11/content.htm
    You will find the option of entering the document no in one of the above program.
    Do it and so the new check will be applicable for the sales orders already created before the configuration changes.
    Check in testing server and revert back.
    Thanks & Regards,
    Hegal K Charles
    Edited by: Hegal . K . Charles on Feb 10, 2012 10:34 AM

  • Credit Management - In delivery process released document blocked

    Hello SD Experts,
    This is regarding credit management.  we have configured Delivery level credit check.
    As per the settings System block the delivery  and FI credit representative release the blocked delivery documents.
    Logistics processing the delivery , Picking and Packing with out problem.
    While processing the shipping activity with combined delivery VT01n - when checking Shipment started  tab its automatically going back to credit block.
    I have configured in the Risk Category under Released documents are still unchecked as
    Deviation   -- Blank
    Number of Days as 15
    My requirement is once released from delivery no need to do credit check again - with any deivation and Number of days limit also
    Please help me to resolve this issue.
    Thanks in Advance
    Jaffar

    Hi Jaffar,
    As per your explanation this is happening because of  Number of Days as 15
    This specifies the number of days after which a changed document must be re-checked for credit.
    This function is used for checking documents that have already been released by a credit representative, but that have
    subsequently been changed. The system does NOT carry out another credit check if the following conditions are met:
    The value of the changed order is not greater than the value already approved for credit (inclusive of the deviation factor),
    AND
    The current date is not greater than the original release date plus the number of days specified here.
    As per this there might be any changes in released document or changes in delivery dates,due to this reason system
    blocking it again,try to reduce the number of days from 15 to 5 or as per your convenience and check.
    Regards
    Ram
    Edited by: Lakshmipathi on Dec 13, 2011 6:55 PM
    Instead of copy pasting from standard, it would have been better had you advised the member to press F1 against that field (Number of days).  Please dont ever try to copy paste from other source which is strictly prohibited

  • Releasing GR Blocked Stock to any unrestricted storage location

    We have some stocks in non-valuated GR blocked stock which was posted from Purchase Order with movement type 103
    Now, the decision is to dispose the material. We have dedicated scrap location in system. Before disposing physically the material need to be cleared from system under GR blocked stock, even though it does not appear in any storage location in SAP
    Our Material Planning suggested that stores shall post release of GR blocked stock with movement type 104 so it will reverse the 103 movement previously, and clear the qty from system. But this in my opinion is against control viewpoint..i.e. stores should not use this way to clear system assigned stock to clear from system
    My suggestion was to use the following steps :
    1. MIGO>> Release GR blocked stock
    2. Put Material Document number (while posting 103), material details, qty, other references will be retrieved automatically
    3. The movement type is seen to be default as 105, change it to 910 (Release GR blocked stock for warehouse)
    4. Change Stock type from QM inspection to Unrestricted
    5. Assign Storage location to desired one (in my case I assigned SCRAP location)
    5. Select Item OK indicator to activate
    6. Check & Post
    Since the item has PO reference, my question to my expert friends is that will the above release from GR blocked stock post qty only to SCRP location or will it post Qty + value ?????
    I don't want Value to be posted to the scrap location.
    If the above process to move the stock qty (only) from GR Blocked stock to Scrap is success, I can ask accounts to post adjustment to clear scrap qty by 702 movement type.
    Thanks, Sunil

    Just set this que is complete so no one will try to open

  • Release MM blocked invoice (after adjustment MM)

    Hello,
    I am currently testing how I can release a blocked invoice with blocking indicator Blocked by SAP-MM.
    A blocking indicator R was set, because on PO level flag Goods receipt was enabled and no GR was performed yet.
    The invoice appeared in MRBR, so far so good.
    Then I performed a GR on that PO, so I assumed that the blocking indicator would disappear automatically, but that is not the case.
    I don't want to perform the follow-up manually, so I was wondering if I could use the system to check if all prerequisites are fulfilled for releasing the invoice automatically.
    Thank you for your help!

    Hi,
    Probably you need to check Invoice blocking config under SPRO-MM-LIV-Incoming Invoice, check the variances settings & upper/lower variances for blocking invoices. Usually this is done by FI so as to control variances in further payment release.
    For Auto release you can schedule the background run for MRBR with specific variant.
    thanks
    Mang

  • Va02 date of releasing billing block new calculate of billing schedule

    I create sales document type with billing block
    Date of creating the sales document is also the date of calculating billing schedule
    But after a will by releasing the block reason of the document (transaction VA02)
    billing schedule is not changing
    I want update:  date of releasing billing block is the date starting of billing schedule
    Is there any other way without using userexit?
    And if not witch userexit is the best (MV45AFZB)?
    Thanks
    Rachmani Asher

    HI,
    If you want make as automatic block. you must needs to in user exit or else you make z item category for only that material and make it as incompletion log.
    Regards
    raj.

  • Release GR blocked stock 105 from 103 twice

    i received my stock to gr blocked stock 103 after that i want to release it partial with 105
    i want to release one 103 document to many 105 document (fi famous problem account  .problem is :line items which already released comes again is it possible when i release gr blocked stock  with reference to material document to retrieve unreleased line items only?

    Hi
    At my end system gives error if I try to released material document which is al;ready released before.

Maybe you are looking for

  • PC Suite not starting automatically after re-boot.

    Running the latest version of PC Suite in 32bit Vista. Every time I re-boot my PC, PC Suite refuses to start automatically, and there is no icon in the tray. I have to go into start, programs, etc..,then 'click to connect a phone' every time. Very an

  • How to set default size for .chm window?

    I know there is an answer at grainge.org, but it seems to be referring only to a .chm using skins, which I am not. Anybody know how to make the default size of the .chm larger? thanks, Leisa

  • Rename PDF retains original file name?

    I'm doing a forensic analysis of a PDF file sent from a multi-function printer. The PDF was renamed in Windows by the user but I need to determine the original PDF name as it was sent from the printer. I have used a PDF parsing tool to try and determ

  • UCCX CAD Multiple Language Support

    When installing UCCX 8.5 I am prompted with the option to choose the CAD/CSD Language Configuration.  This install is for a customer with offices in Quebec (French) and the rest of Canada (English).  It would appear that I can choose only one languag

  • Implementi​ng PLL in FPGA LabVIEW

    Hello, I want to implement PLL in FPGA by refering to the example(the file is attached). I've modified the example, so that it can work in single phase PLL (the file is attached). However, it is not working. To be honest, I'm new in LabVIEW, so just