Delete overlapping requests runs for 5+ hours ...This is too long

We are on BW 3.5 and have a process chain that loads 3 years of data from a cube on the APO Server and AOP data from the BW server into a cube on the BW server.  Each load is in its own infopackage.  This loads happens every week.  We want to delete the loads that occurred the week before using the delete overlapping requests.  It is set up as follows:
<b>1.</b>Drop index of Cube
<b>2</b>.Load Current Year data into Cube via Infopackage #1.  Loads approximately 32 million records.  Selections on calweek: 200701 – 200752.  Infosource: InfoSource for APO-DP Cube from APO(ZAPODP_I11). Datasource: APO-DP Backup Cube(8ZAPODPC73).  Source System: APP Client 200(APPCLNT200).  The Data targets tab is set up as follows: ‘Automatic Loading of similar/identical requests from the cube’ wherein Delete Existing Requests Conditions: Infosources are the same.  Selections are overlapping.
<b>3</b>.Load Current Year + 1 data into Cube via Infopackage #2.  Loads approximately 32 million records…Selections on calweek: 200801 – 200852.  Rest is same as above #2.
<b>4.</b>Load Current Year +2 data into Cube via Infopackage #3.  Loads approximately 32 million records…Selections on calweek: 200901 – 200952. .  Rest is same as above #2.
<b>5</b>.Load AOP data into Cube via Infopackage #4.  Loads approximately 135,000 records.  Infosource: AOP Plan(8ZAOPC01). Datasource: AOP Plan(8ZAOPC01). Source System: BW Production(BWPCLNT100).  The Data targets tab is set up as follows: ‘Automatic Loading of similar/identical requests from the cube’ wherein Delete Existing Requests Conditions: Infosources are the same.  Selections are overlapping
<b>6.</b>Create index on cube
<b>7</b>.Delete overlapping requests from cube.  The process chain step is set up to ‘Use Delete Selections for Infocubes from the Infopackages’
<b>The issue is that step #7 runs for more than 5 hours.</b>  That is way too long.  When we manually delete the requests, it takes 5 minutes.  How can I fine tune this processing?  Thanks in advance!
<b></b>

What is your dbms? Does it support partitioning? If it does then deleting requests merely drops the corresponding partitions, which should be very fast.
If it does not support partitioning then you're running SQL delete statements to delete the data, which could take a long time if you're deleting tens of million of records. BTW how long does it take to load the same data?
P.S. Just saw your last point about manually deleting the requests taking only 5 minutes. Did you delete one request at a time or multiple request at once? The previous poster wanted to know whether you had background processes to run the deletion job. i.e. Did the deletion really took 5 hours, or did it wait a few hours to start the job?
Message was edited by:
        Rick Chau

Similar Messages

  • Delete overlapping requests from DSO

    Hi Everyone!
    Is there any function to delete overlapping requests from a DSO in process chain?
    For InfoCube there is one, but how about dso?
    I'm using both delta and full load method in the same dso daily and I want to delete full load requests only and keep delta
    load requests in dso.
    Does anyone have any idea?
    Thanks  in advance.
    Eduardo

    Hi..
    How could you do that since DSO has the overwrite property? For example you are loading from DSO1 or DS to DSO2.
    If u ran a load that goes into DSO2. If u ran same load again it goes into DSO 2 and overwrites the previous request. for that u can verify with display data.
    Is ur DSO additing the records????
    Delete Overlapping Requests Only for Info cubes.
    I request you to post the exact issue so that we can assist you better.
    Regards....KP

  • Reasons for "Delete Overlapping Request"

    Hi everyone,
    A simple question for you gurus out there. What is the reason for having a process in the process chains to "Delete Overlapping Requests". I am not sure what it really does. Can someone please explain in simple terms the functionality of Delete Overlapping Requests and it's need. Please use an example if possible.
    <Remoed_By_Moderator>
    Offering or asking for points is against the forum rules
    Edited by: Pravender on Aug 6, 2010 10:54 AM

    Generally we do this Delete Overlapping Requests for cubes because you have a requirement to do daily full loads(assume incremental data) to Cube from the same DS if you don't delete the previous load .. In cube values gets double which is wrong data.. to avoid duplicates we use this Delete Overlapping Requests in PC .. if you don''t use this process in PC .. everyday manual action will be required to delete previous (yesterdays)request in cube.
    Ex.
    Req1 15000 records to cube -day1
    Req2 15600 records to cube -day2
    Req3 15600 records to cube -day3
    in cube you will have 46000 records and keyfigures values gets tripple
    if you use  "Delete Overlapping Request" in PC
    always deletes the previous request from the same DS

  • I am trying to erase all contents on my iphone 4, its been running for 6 hours now, is this normal?

    I am trying to erase all contents on my phone, I am trying to get it back to factory settings,  I don't have any jailbreaks or anything like that on my phone, The circle thing has been running for six hours now, is this normal? Before I did that, I tried to do it through itunes, and it would not restore it through there either? Im at a loss?? That took only like 5 min before it says sorry it could not be restored. This is taking forever....

    Hello Stephiworld,
    Thank you for using Apple Support Communities!
    It sounds like you are trying to restore the phone to its factory defaults but the process is stalled or the phone is totally unresponsive.
    If the phone will respond to the Sleep/Wake button, I would turn it off the normal way, then turn it back on.
    iOS: Turning off and on (restarting) and resetting
    http://support.apple.com/kb/ht1430
    When it turns back on try the Erase All Content and Settings option again.
    If the iPhone is completely unresponsive and will not turn off normally, I would reset the device with this process from the above article:
    If your device stops responding, you can reset it by pressing and holding both the Sleep/Wake and Home buttons for at least ten seconds, until the Apple logo appears.
    Cheers,
    Sterling

  • Just below toolbar, Firefox is telling me "Downloading the lastest applications" - what is this and how can I stop it. It's been running for 2 hours.

    Just below the toolbar, Firefox is telling me "Downloading the latest applications" - what is this and how can I stop it. It's been running for 2 hours.
    == This happened ==
    Every time Firefox opened
    == I opened the Firefox "Add-ons" window

    Disable or uninstall the MSN/Bing toolbar.
    See [https://support.mozilla.com/tiki-view_forum_thread.php?comments_offset=0&comments_threadId=0&comments_parentId=693619&comments_threshold=0&thread_sort_mode=commentDate_asc&forumId=1&time_control=3600 this thread] and [[Uninstalling add-ons]].

  • "Extracting...this might take a while" message and download status bar running for 15 hours.

    Having purchased Adobe Acrobat XI Pro Mac Download, and installed the program with Adobe Download Assistant, the program is loaded but the status bar has continued to run for 15 hours with a message underneath stating "Extracting...this might take a while".  Also, a warning message appeared during download stating "The following disk images couldn't be opened"; (Image) AcrobatPro_11_Web_W, (Reason) error -4960.  How do I complete this download?     

    Check for the Internet connection. If its good, then try the same with a different broswer. Below link would help in this scenario,
    http://helpx.adobe.com/creative-suite/kb/troubleshoot-download-assistant.html

  • REQUEST RUNNING FOR MORE THAN ONE DAY - HOW INVESTIGATE ABOUT THIS

    Hi Everyone ...
    As you know when you submit any request throigh concurrent manager . The request completed normal or give warning or error .
    My probelm I have request running for more than one day .but I don't know right tool how invetigate about this issue .
    I checked alert log and database lock but nothing wierd .
    We are using 11.5.10.2 with 10.2.0.4 DB .
    Thanks in advance ...
    Edited by: user12010537 on 26/09/2010 05:39 ص
    Edited by: user12010537 on 26/09/2010 05:46 ص

    Hi,
    schavali wrote:
    Use MOS Doc 735119.1 (How to Find Database Session & Process Associated with a Concurrent Program Which is Currently Running) to determine the PID of the concurrent request, then follow the steps identified in MOS Doc 1058210.6 (How to Enable SQL_TRACE for Another Session or in MTS Using Oradebug)
    enable tha trace
    Re: enable tha trace
    Thanks,
    Hussein

  • How does Delete overlapping requests work?

    We have a extract which does a full loads into a cube for the current year and a we run this daily. In the process chain we do a delete overlapping requests which I understand will delete the previous requests with the same condition. What happens when the year changes?  On Dec 31 we will load 2008 data while the next time it runs on Jan 2 it will load only 2009 data (variant only looks at current year). Will deletion of overlaps delete all the 2008 data it loaded on Dec 31? Thanks.

    what is removed depends on the settings of your delete request.
    You can use only dtp-name, or dtp name with same selection parameters or with same selection parameter in a certain amount of time.
    Take a look at the settings; i found them quite self explanatory.

  • Delete overlapping requests from cube not working in processchain.

    In a process chain, 'deletion of overlapping requests from the cube ' step is used.
    Before this step a DTP step runs with a full update to load the cube. This process chain is scheduled every day.
    Issue is, the process chain failed at the DTP step and after correcting and repeating, the step got executed.
    However, the next step after the DTP,'delete overlapping requests from the cube'
    gets executed but without deleting the previous day's request.
    In the step details a message that 'No request for deletion were found' can be seen.
    Then next day when the DTPstep is executed without any problem the 'delete overlapping requests from cube' step is successful
    and the previous requests from cube are deleted.
    the deletion selections in the step ' delete overlapping request from infocube' is
    Delete existing requests
    Conditions:
    only delete requests from same DTP
    Selections
    Same or more comprehensive
    Because of this issue on a particular day because of the presence of 2 days requests the data is getting aggregated and shown as double in the reports.
    Please help.

    Hi Archana,
    When you delete the bad request from target and before repeating your DTP in PC, make sure the bad request deleted from table RSBKREQUEST also.
    If you find the same request in table, first delete the request from table and repeat the DTP in PC.
    Now Delete overlapping step should work.
    As this is not the permanent solution, please raise an OSS for SAP
    Regards,
    Venkatesh

  • Non-compressed aggregates data lost after Delete Overlapping Requests?

    Hi,
    I am going to setup the following scenario:
    The cube is receiving the delta load from infosource 1and full load from infosource 2. Aggregates are created and initially filled for the cube.
    Now, the flow in the process chain should be:
    Delete indexes
    Load delta
    Load full
    Create indexes
    Delete overlapping requests
    Roll-up
    Compress
    In the Management of the Cube, on the Roll-up tab, the "Compress After Roll-up" is deactivated, so that the compression should take place only when the cube data is compressed (but I don't know whether this influences the way, how the roll-up is done via Adjust process type in process chain - will the deselected checkbox really avoid compression of aggregates after roll-up OR does the checkbox influences the manual start of roll-up only? ).
    Nevertheless, let's assume here, that aggregates will not be compressed until the compression will run on the cube. The Collapse process in the process chain is parametrized so that the newest 10 requests are not going to be compressed.
    Therefore, I expect that after the compression it should look like this:
    RNR | Compressed in cube | Compressed in Aggr | Rollup | Update
    110 |                    |                    | X      | F
    109 |                    |                    | X      | D
    108 |                    |                    | X      | D
    107 |                    |                    | X      | D
    106 |                    |                    | X      | D
    105 |                    |                    | X      | D
    104 |                    |                    | X      | D
    103 |                    |                    | X      | D
    102 |                    |                    | X      | D
    101 |                    |                    | X      | D
    100 | X                  | X                  | X      | D
    099 | X                  | X                  | X      | D
    098 | X                  | X                  | X      | D
    If you ask here, why ten newest requests are not compressed, then it is for sake of being able to delete the Full load by Req-ID (yes, I know, that 10 is too many...).
    My question is:
    What will happen during the next process chain run during Delete Overlapping Requests if new Full with RNR 111 will already be loaded?
    Some BW people say that using Delete Overlapping Requests will cause that the aggregates will be deactivated and rebuilt. I cannot afford this because of the long runtime needed for rebuilding the aggregates from scratch. But I still think that Delete Overlapping should work in the same way as deletion of the similar requests does (based on infopackage setup) when running on non-compressed requests, isn't it? Since the newest 10 requests are not compressed and the only overlapping is Full (last load) with RNR 111, then I assume that it should rather go for regular deleting the RNR 110 data from aggregate by Req-ID and then regular roll-up of RNR 111 instead of rebuilding the aggregates, am I right? Please, CONFIRM or DENY. Thanks! If the Delete Overlapping Requests still would lead to rebuilding of aggregates, then the only option would be to set up the infopackage for deleting the similar requests and remove Delete Overlapping Requests from process chain.
    I hope that my question is clear
    Any answer is highly appreciated.
    Thanks
    Michal

    Hi,
    If i get ur Q correct...
    Compress After Roll-up option is for the aggregtes of the cube not for the cube...
    So when this is selected then aggregates will be compressed if and only if roll-up is done on ur aggregates this doesn't affect ur compression on ur cube i.e movng the data from F to E fact table....
    If it is deselected then also tht doesn't affect ur compression of ur cube but here it won't chk the status of the rollup for the aggregates to compress ur aggregates...
    Will the deselected checkbox really avoid compression of aggregates after roll-up OR does the checkbox influences the manual start of roll-up only?
    This check box won't give u any influence even for the manual start of roll-up....i.e compression of aggreagates won't automatically start after ur roll-up...this has to done along with the compression staus of cube itself...
    And for the second Q I guess aggregates will be deactivated when deleting oveplapping request if tht particular request is rolled up....
    even it happens for the manual deleting also..i.e if u need to delete a request which is rolled up and aggregates are compressed u have to  deactivate the aggregates and refill the same....
    Here in detail unless and until a request is not compressed for cube and aggregates are not compressed it is anormal request only..we can delete without deactivating the aggregates...
    here in urcase i guess there is no need to remove the step from the chain...
    correct me if any issue u found......
    rgds,

  • Delete Overlapping requests question

    Hi ,
    How would a Delete overlapping requests (DOR)type work in a PC to a Cube that gets a full load every day with selections for rolling 12 months?
    Say there is a scenario to load data into an AR line items cube to update open to closed items history and the loads are configured for a 12 month rolling. eg yesterdays full would be for 03/23/09 to 03/23/10
    today's 03/24/09 to 03/24/10
    Now how can we utilize DOR instead in a PC that would delete the doubling behaviour of data for dates 03/24/09 to 03/23/10?
    All thoughts appreciated.
    Thanks

    Hi,
    in The selection criteria of the info package u can have the following code which takes the selection criteria as the first day to last day of the month  based on previous days date(SY-DATUM - 1.)
    data: l_idx  like sy-tabix,
            dDATE1 LIKE SY-DATUM,
            dDATE  LIKE SY-DATUM,
            L_LOW  LIKE RSSDLRANGE-LOW,
            L_HIGH LIKE RSSDLRANGE-HIGH.
      read table l_t_range with key
           fieldname = 'END_SHIFTDATE'.
      l_idx = sy-tabix.
      dDATE1 = SY-DATUM - 1.
      CALL FUNCTION 'ZFNC_FIRSTDAY_MONTH'
        EXPORTING
          DDATE      = dDATE1
        IMPORTING
          DLAST_DATE = dDATE.
      L_LOW         = dDATE.
      L_T_RANGE-LOW = L_LOW.
      L_T_RANGE-SIGN   = 'I'.
      L_T_RANGE-OPTION = 'BT'.
      CLEAR dDATE.
      CALL FUNCTION 'ZFNC_LASTDAY_MONTH'
        EXPORTING
          DDATE      = dDATE1
        IMPORTING
          DLAST_DATE = dDATE.
      L_HIGH         = dDATE.
      L_T_RANGE-HIGH = L_HIGH.
      modify l_t_range index l_idx.
    and DOR deletes the previous day's request as the selection criteria is same. on first day of the next month it has a request with selection criteria as first to last date of the previous month. and this request is not deleted  since on 2nd of the month it has different selection criteria(Start daay and end day of that month)
    Hope its clear
    Thanks,
    Sandeep

  • Delete Overlapping Request from InfoCube.

    Hello,
    I am using process Type "Delete Overlapping Request from infocube" in this I am selecting object type as a "DTP"
    Under "Delete Selection" I am selecting following
    1. Only Delete Requests from same DTP
    2. Only Delete Full DTP request
    3. Only Delete DTP Requests from Same Source
    I am using "Full Load" in my DTP.
    My requirements are like  I need to delete old data and load new data every day in to  a cube for that I am using this process type.
    If anybody have better solution please let me know.
    Thanks,

    Also
    I am not deleting Index  OR  Not creating Indexs while using process type "Deleting overlapping request InfoCube"
    what will be the impact on the cube?
    How many index will have infocube?
    If the cube having more than one index if i delete index, which index will be deleted?
    Thanks,

  • Delete overlapping request when month changes

    Hi Experts,
    Delete overlapping request works fine for all the days but when month changes it is not deleting the request as the filter value gets changed.
    I have three Info Package and DTP like below:
    Current Month -2
    Current Month -1
    Current Month
    In January selection values are:
    Current Month -2     201111
    Current Month -1     201112
    Current Month         201201
    As the month changes, February selection values are:
    Current Month -2     201112
    Current Month -1     201201
    Current Month         201202
    We need the request which has selection criteria 201111 should stay, but 201112 and 201201 should get deleted as these two request are duplicated.
    Please advice if we have any solution for this issue.
    Suggestion will be appreciated.
    Thanks,
    Muiz Ahmed

    Yes Sven,
    You are correct,
    31-Jan-2012 Current Month -1 had loaded 201112
    1-Feb-2012 Current Month -2 had loaded 201112
    Now I have to delete request which has got loaded on 31-Jan-2012.
    For now I have deleted manually, but I want automate this activity, so no manual intervention is required.
    Thanks,
    Muiz Ahmed
    Edited by: MUIZ AHMED on Feb 1, 2012 7:40 PM

  • Delete overlapping request in PC - Request from previous month got deleted

    Hi Everyone,
    We are using a 'Delete overlapping request' step in a process chain. Under the Deletion Selections, we have checked the following options:
    1) Only Delete Requests from Same DTP
       |_ Selections are - Overlapping
    2) Request Date - Is in the Current Month
    3) Exceptions:
       |_ New Request will be loaded on - 1st Day of a Month
    The datasource in this case is used for a Full update into a Cube everyday. We've used the above selections so that the request loaded on the last day of a month is not deleted by the subsequent load. We need this to retain a snapshot of the data for each month.
    This month, when the process chain executed on 1st Feb, the request loaded on 31st Jan was not deleted. However, on 4th Feb, the Process chain deleted the request loaded on 3rd Feb and also the one from 31st Jan. There seems to be no reason at all for the 31st Jan request to get deleted. We've made sure of that by choosing the option 'Request Date - Is in the Current Month' in the Deletion Selections.
    Is there any explanation why the request was deleted?
    Thanks,
    Ram

    Hi,
        If you dont have any selections , it will delete the previous request. Based on the selections only overlap will work.  For your scenario , it wont delete previous month request after changing it to current Fiscal period. Once check the selection options , is it displaying month wise or empty selections.
    Regards
    Pcrao.

  • Deletion of data target contents Vs delete overlapping requests

    hi,
         when do we  go for <b>delete overlapping requests</b>? if it is applicable for full load as well as delta load then i would like to first come up with the full load concept, we have the other option called <b>delete data target contents</b> with this we can delete daily full load without going for delete overlapping requests.
    Pls let me know exact difference between DELETE OVERLAPPING REQUESTS FROM INFOCUBE with DELETE DATA TARGET CONTENTS.

    hi
    When you have delta upload twice daily..the date in the previous request and the second request is same....so you might be giving this option to delete the overlap such that data is not loaded twice
    Assign points dont forget
    Regards
    N Ganesh

Maybe you are looking for

  • IPhone no longer syncs. Says 29GB over capacity since yesterday's OS update

    If I deselct "convert songs to 256Kbps" and wait a couple of seconds, then re-enable it, the capacity is correct (6GB free) If I then sync, towards the end of the sync it suddenyl says I'm 29GB over capacity...but Im definitely not. Naybody else havi

  • Deleted delivery

    Hi all, In our process, sales orders will be created background and are rush order in nature. Which means deliveries will be created immidiately. These order will be created in morning and user get the list of orders and corresponding deliveries. One

  • Langton's Ant - understanding Boolean[][]

    hello! I got my hands on this code, but I need some help understanding it. what does "[][]" after a booelan value do? I have googled it and looked for it beneath boolean @ API but can't find an answer. here is the code: import java.awt.*; public clas

  • Page not rendered correctly - Safari 4.0.4

    There seems to be some problem with rendering of a page when it only contains one absolute element: Page: http://www.321x.com/page.png Source code: http://www.321x.com/source.png Page that it concerns at this moment: http://www.321x.com Message was e

  • Survey suite as url

    hi I have a few questions about Surveys 1) is it possible to create a form in the Survey Suite and then have it linked from a personalized mail form? 2) Why do I keep getting the error message " The name of the function module should be of type ‘CRM_