Long execution for Full optimize?

Hi!
Do anyone know how long a normal executiontion time for full optimize is? And what you can do to speed it up?
We have an application with about 5 000 000 records in the Fact table. We have scheduled 8 imports every day which creates about 100 000 records for every import in the Fac2 table. And we have sheduled one full optimize every night and this optimize takes about 45 minutes, is this normal for this number of records in the tables.

That's about how long our optimizes take with our 9m record fact table.
The fewer the records, the shorter the optimize so you can look into partitioning and archiving if you would like to shorten the optimize time.

Similar Messages

  • Error message for full optimization

    Dear all,
      I received the following error message when i tried to run a full optimization. Does anyone know the following error message mean?
    "Error message:There is already an object named 'CONSTTBLFACTBUDGET_ALLOCATION' in the database.
    Could not create constraint."
      And where can i see the log for optimization?
    Thanks and regards,
    Lip Chean

    Hi,
    Please refer to the Note 1101768.
    This error can occur if there is more than one constraint with the same name located in the same SQL database.
    For example, if you backup the tblFactFinance table by exporting a copy of the table as tblFactFinanceBackup within the same SQL database and then later you rename the tblFactFinance in use as tblFactFinance_Old and the restore the tblFactFinanceBackup as tblFactFinance, the additional constraint of tblFactFinance_Old will cause this issue.
    To resolve, using the example above, delete the additional constraint by going to START->PROGRAMS->Microsoft SQL Server->SQL Query Analyzer ->Connect to the SQL Server at issue->Open the Object Browser->expand the SQL database at issue->User tables->dbo.tblFactFinance_old->Constraints->select the fxdbo.tblFactFinance constraint and delete it.
    After the constraint is deleted then the application can be saved without this error.
    Hope this helps.

  • Problem Full Optimize

    Hi
    Is there a time limit for full optimize when running it from BPC Admin?
    I have tried to do a full optimize two times and it ends after 1 hour both times with the error messege:
    "Thread was being aborted"
    Do any one know what the problem can be and if there are a time limit for 1 hour how can I walk around this time limit?
    Regards
    Fredrik

    Hi,
    this is due to the timeout settings in ASP.net file web.config.we can change this setting as below.
    In order to fix this issue, you need to modify the file "web.config" in the
    folder \BPC\websrvr\web of the Web Server. Please, inside this file, locate
    the following line:
    <httpRuntime maxRequestLength="102400" executionTimeout="3600" />
    and change the executionTimeout to 36000.
    This means that when a process takes longer than 3600 seconds = 1 hour to
    complete, the execution meets a timeout; by increasing the
    "executionTimeout" parameter to 36000 = 10 hours the error disappears.
    Remember that you need to run an "IISRESET" command on the web server after
    doing this change.
    thnks.

  • The Full Optimization & Lite Optimization Data Manager packages are failing

    Hi,
    The Full Optimization and Lite Optimization Data Manager packages are failing with the following message "An Error occured while querying for the webfolders path".
    Can anyone had similar issue earlier, please let me know how can we rectify the issue.
    Thanks,
    Vamshi Krishna

    Hi,
    Does the Full Optimize work from the Administration Console directly?
    If it's the case, delete the scheduled package for Full Optimize every night (in both eData -> Package Schedule Status and in the Scheduled Tasks on your server Control Panel -> Scheduled Tasks), and then try to reschedule it from scratch.
    If it's not solving your problem, I would check if there are some "wrong" records into the FACT and FAC2 tables.
    After that, I would also check if the tblAppOptimize is having other values than 0. For all applications, you should have a 0 there.
    Hope this will help you..
    Best Regards,
    Patrick

  • Re: Full Optimize and Lite Optimize Disabled

    Hi,
    We have an BPC App.
    What we need now is that for a particular group of users to have no access to run Full Optimize or Lite Optimize rights to trigger it.
    Please can any one advice how to disable this functionality or un authorize this for particular set of users so that they cannot execute any optimization.
    Regards.

    Hi,
    Follow below steps:
    1. Create a Team and assign users those should have an access for Full and light optimization
    2. Goto  Manage data>Maintain data management>Manage Packages
        -->Select the team which you created in step 1
         -->Select add package
        --> Choosee process chain as /CPMB/LIGHT_OPTIMIZE
        --> Give package name and description
        --> Select Taks type as User Package
        -->Click Save
    3. Create one more package for Full Optimization as expalined in step 2 under same team
    Now users who are related to this new team can able to run both Full and light optimizations provided Execute task assigned under task profile.
    By following above steps you can assign many package to team and can modify team access from Manage Team user package access  if you need.
    Hope it helps..
    Regards,
    Raju

  • Optimize long execution time due to 'db file sequential read'

    Hi to all,
    I have got a query that takes long execution time. Most of the time is due to 'db file sequential read'. The query is:
    SELECT * FROM Table_Name
    WHERE col1 = :some_value
    AND col2 BETWEEN :some_range_about_2_Million
    | Id | Operation | Name | Rows | Bytes | Cost |
    | 0 | SELECT STATEMENT | | 21 | 504 | 26125 |
    | 1 | TABLE ACCESS BY INDEX ROWID| Table_Name | 21 | 504 | 26125 |
    | 2 | INDEX RANGE SCAN | Index Name | 1705K| | 4100 |
    The table is not partitioned having around 0.2 billion records. Record set for column 'col1' is around 1700K.
    Another index is available for the col2 and col3 is not getting used.
    Any suggestions to optimize it..
    Regards.

    Perhaps a combined index (col2, col1) would work...or try "parallel" hint.
    :p

  • Long execution times for TestStand conditional statements

    I have two test stations – one here, one at the factory in China that has been operating for about a year. The test program uses TestStand 3.1 and calls primarily dll's developed using CVI. Up until a couple months ago, both test stations performed in a similar manner, then the computer at the factory died and was replaced with a new, faster computer. Now the same test sequence at the factory take three times as long to execute (30 min at the facotry, 10min here).
    I have recoded the execution time at various point during the execution, and have found that the extra times seems to be occurring during the evaluation of conditional statements in TestStand (i.e. for loops, if statements, case statements). For example, one particular ‘for’ evaluation takes 30 ms on the test station here, but takes 400 ms at the test station at the factory (note: this is just the evaluation of the for condition, not the execution of the steps contained within the for loop).
    The actual dll calls seem to be slightly faster with the new computer.
    Also the ‘Module Times’ reported don’t seem to match the actual time for the module for the computer at the factory. For example, for the following piece of TestStand code:
    Label1
    Subsequence Call
    Label2
    I record the execution time to the report text in both Label1 and Label2. Subtracting one from the other gives me about 18 seconds. However the ‘Module Time’ recorded for ‘Subsequence Call’ is only 3.43 seconds.
    Any body have any ideas why the long execution time with the new computer? I always setup the computers in exactly the same way, but maybe there is a TestStand setting somewhere that I have missed? Keep in mind, both test stations are running exactly the same revision of code.

    Got some more results from the factory this morning:
    1) Task Manager shows that the TestExec.exe is the only thing using CPU to any significant degree. Also CPU Usage History show that the CPU Usage never reaches 100%.
    2) I sent a new test program that will log test execution time in more places. Longer execution times are seen in nearly every area of the program, but one area where this is very dramatic is the time taken to return from one particular subsequence call. In this subsequence I log the time just before the <End Group> at then end of Main. There is nothing in Cleanup. I then log the time immediately after returning from this sequence. On the test system I have here this takes approximately 160 ms. On the test system at the factory this takes approximately 14.5 seconds! The program seems to be hanging here for some reason. Every time this function is called the same thing happens and for the same amount of time (and this function is called about 40 times in the test program, so this is kill me).

  • Long time for execution for scheduled CIF background jobs

    Hi,
    we hv schedlued CIF background job to be run daily around 10.30 PST.
    there is large variation for the time required for execution of this job.
    on 26 Dec, it took approx 48000 seconds while regular average is 120 seconds only.
    today, despite past of 6000 seconds, the job is still in ACTIVE stage.
    can anyone know why such long delay for such jobs?
    how can i reduce its execution time (as one of case in a week)?
    rgds/Jay

    Hi Jay,
    A few obvious things to look for:
    1.  Multiple CIF activation jobs running at the same time
    2.  Large change in the master data, eg new plant, new Material Masters, new customers, etc etc.
    3.  Conflicts with other non CIF programs that may be going after the same data
    4.  Communication degradation between the OLTP and SCM clients
    Normally you refer such questions to someone on your Basis team, or perhaps your DBA.  They can turn on tracing tools that can track the changes in your environment that may be contributing to the changes in run time.
    Regards,
    DB49

  • Hi i  insttalled the free trial 3O days MacScan on OsX10.5 is it normal that for full scaning it takes so long time more even than one day?! on the other hand this application hasn't any uninstaller on image disc ,so how can i uninstal it from my hard?

    Hi i  insttalled the free trial 3O days MacScan on OsX10.5 is it normal that for full scaning it takes so long time more even than one day?! on the other hand this application hasn't any uninstaller on image disc ,so how can i uninstal it from my hard?Thanks

    Get rid of the tracking cookies. They are used to profile and track your browsing history. While they are privacy invading, by calling them spyware, MacScan is being a little dramatic in trying to sell you its crap. And in the future, for whatever browser you use, don't allow third-party cookies.
    To prevent tracking, get Ghostery. In addition to having Ghostery and forbidding third-party cookies, I clear out all cookies from one browsing session to another. If you always do that, you won't have any tracking cookies to worry about, so you won't need MacScan to find them for you. Btw, MacScan finds the tracking cookies in the first few minutes of scanning; if you want to use it for that, then that's all the time you need to run it for. But, as I said, you won't have any tracking cookies around if you just remove all cookies and don't allow third-party cookies. As soon as you visit a site that needs them, you'll just get new ones. No problem.
    Read all about cookies here.
    http://en.wikipedia.org/wiki/HTTP_cookie

  • Alert with event for delayed job and long execution time

    Dear All,
    We are planning to send alert via email in case job delayed or long execution time.
    I have followed below steps:
    1) Create event Raise Event when job is delayed.
    2) create job chain with STEP1, Job 1 and assign event in raise event parameter.
    3) Once job chain delayed it should raise events.
    4) Above event should trigger custom email but I can not put the Mail_To parameter as IN parameter. And can not be recognized during
    execution.
    It ends with the below error.
    Details:
    JCS-122035: Unable to persist: JCS-102075: Mandatory parameter not set: Parameter Mail_To for job 20413
    at com.redwood.scheduler.model.SchedulerSessionImpl.writeDirtyListLocal(SchedulerSessionImpl.java:805)
    at com.redwood.scheduler.model.SchedulerSessionImpl.persist(SchedulerSessionImpl.java:757)
    Please let us know if anybody knows how to add Mail_To parameter to script.
    Any help is appreciated.
    Thanks in advance.
    Regards,
    Jiggi

    Dear Jiggi,
    where will you define execution time of particular job? because some jobs will take only 1 or 2 minutes, but some jobs normally take more than hours, so how will you decide execution time of individual jobs?
    i thinks you can use P_TO Parameter for sending mail, if you want to add some output log activate spool output script.
    Thanks and regards
    Muhammad Asif

  • We are running a report ? it is  taking long time for  execution. what step

    we are running a report ? it is  taking long time for  execution. what steps will we do to reduce the execution time?

    Hi ,
    the performance can be improved thru many ways..
    First try to select based on the key fields if it is a very large table.
    if not then create a Secondary index for selection.
    dont perform selects inside a loop , instead do FOR ALL ENTRIES IN
    try to perform may operations in one loop rather than calling different loops on the same internal table..
    All these above and many more steps can be implemented to improve the performance.
    Need to look into your code, how it can be improved in your case...
    Regards,
    Vivek Shah

  • HT1849 I bought a song(which is 5 1/2 minutes long), but it stops playing after 15 seconds and moves onto the next song. I bought this song in a set with 5 other songs, all of which play for full time. Is there anyway to fix this?

    So yeah, pretty much what the title says... Is there anyway to fix it? Like I said, ALL of the other songs play for full time. All but that one song.

    If your country's iTunes Store allows you to redownload purchased tracks, I'd delete your current copy of the track and try redownloading a fresh one. See the following document for instructions:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    Otherwise, I'd report the problem to the iTunes Store.
    Log in to the Store. Click on "Account" in your Quick Links. When you're in your Account information screen, go down to Purchase History and click "See all".
    Find the item that is not playing properly. If you can't see "Report a Problem" next to the item, click the "Report a problem" button. Now click the "Report a Problem" link next to the item.

  • Validate/madatory  in order to avoid  long time for the program execution.

    Below is my selction screen.  I would like to do validations for specific fields to make them mandatory fields   as well.
    Could you please suggeste me what are the fields that I can validate/madatory  in order to avoid  long time  for the program  run.
    *Program selections
    SELECTION-SCREEN : BEGIN OF BLOCK b1 WITH FRAME TITLE text-h01.
    SELECT-OPTIONS : o_as4loc   FOR v_as4local,
                     o_ddlang   FOR ddlanguage,
                     o_vkorg    FOR vkorg     MEMORY ID vko,
                     o_auart    FOR auart              MEMORY     ID aat,
                     o_fdnam    FOR fdnam,
                     o_spart    FOR spart   MEMORY ID spa,
                     o_vbeln    FOR vbeln            MEMORY ID aun,
                     o_posnr    FOR posnr,
                     o_matnr    FOR matnr            MEMORY ID mat,
                     o_pltyp    FOR pltyp            MEMORY ID vpl,
                     o_j_3ar    FOR j_3arqda,
                     o_kzr00    FOR kbetr,                       " -ZR00
                     o_kalsm    FOR kalsmasd,
                     o_kmwst    FOR kbetr,                       " -MWST
                     o_kbmen    FOR kbmeng,
                     o_land1    FOR land1            MEMORY ID LND
    SELECTION-SCREEN  : END OF BLOCK b1.
    Thanks in advance.

    Hi,
    Make key fields as well as fields on which there in an index in the database table mandatory.
    Regards,
    Abhijit G. Borkar

  • Full optimize WinVista for the good developtment of Photoshop x64

    I want to full optimize WinVista 64bits  because my photoshop is a little slow. Thanks.

    This Adobe Knowledge Base article on optimising Photoshop should give you a start.
    http://kb2.adobe.com/cps/404/kb404439.html

  • Full Optimize Failing

    Hello,
    Was wondering if any experts can give any insite into how to fix our full optimize from failing. We have had a custom package running for a few years which one of the last steps it does a full optimize. About a week ago it started to fail on this step and when we try to manually optimize from the front end it fails as well. We are able to optimize from the backend however. There are no additional processing running during this time, can anyone give any suggestions on what may be causing the problem? Is there some temp file that needs to be cleaned? I tried to do a modify of the application and that has not worked. We are on version 7.0.
    Thanks in advance!
    Kevin

    Here are a few of the messgaes I see in that table around the time of me trying to optimize this morning. Not sure what these mean:
      ==============[System Error Tracing]==============  [System  Name] - ApplicationService  [Message Type] - ErrorMessage  [Job Name]     - OSoft.Services.Webservice.ApplicationService.ApplicationService.Query()  [DateTime]     - 7-27-2011 7-29-05 AM  [UserId]       -   [Exception]       DetailMsg  - {You are not authorized to perform this task.   Please contact your BPC administrator.}  ==============[System Error Tracing  End ]============== 
      ==============[System Error Tracing]==============  [System  Name] - ApplicationService  [Message Type] - ErrorMessage  [Job Name]     - OSoft.Services.Webservice.ApplicationService.ApplicationService.Query()  [DateTime]     - 7-27-2011 7-29-16 AM  [UserId]       -   [Exception]       DetailMsg  - {You are not authorized to perform this task.   Please contact your BPC administrator.}  ==============[System Error Tracing  End ]============== 
      ==============[System Error Tracing]==============  [System  Name] - DatabaseHandler  [Message Type] - ErrorMessage  [Job Name]     - CommitTran  [DateTime]     - 7-27-2011 7-37-54 AM  [UserId]       - User  [SqlException]       Type      - System.Data.SqlClient.SqlException      Errors    - System.Data.SqlClient.SqlErrorCollection      Class     - 10      LineNumber- 0      Message   - {Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.}      Number    - -2      Procedure - ConnectionRead (recv()).      Server    - BPCMS7P-OMF-03      State     - 0      Source    - .Net SqlClient Data Provider      TargetSite- Void OnError(System.Data.SqlClient.SqlException, System.Data.SqlClient.TdsParserState)      HelpLink  -   ==============[System Error Tracing  End ]============== 
      ==============[System Error Tracing]==============  [System  Name] - DatabaseHandler  [Message Type] - ErrorMessage  [Job Name]     - RollbackTran  [DateTime]     - 7-27-2011 7-37-55 AM  [UserId]       - User  [Exception]       DetailMsg  - {This SqlTransaction has completed; it is no longer usable.}  ==============[System Error Tracing  End ]============== 
      ==============[System Error Tracing]==============  [System  Name] - OSoftOptimizeManage  [Message Type] - ErrorMessage  [Job Name]     - OptimizeApplication()  [DateTime]     - 7-27-2011 7-37-55 AM  [UserId]       - mscorlib  [Exception]       DetailMsg  - {Exception has been thrown by the target of an invocation.}  ==============[System Error Tracing  End ]============== 
      ==============[System Error Tracing]==============  [System  Name] - ApplicationService  [Message Type] - ErrorMessage  [Job Name]     - OSoft.Services.Webservice.ApplicationService.ApplicationService.Query()  [DateTime]     - 7-27-2011 7-40-18 AM  [UserId]       -   [Exception]       DetailMsg  - {You are not authorized to perform this task.   Please contact your BPC administrator.}  ==============[System Error Tracing  End ]============== 
      ==============[System Error Tracing]==============  [System  Name] - ApplicationService  [Message Type] - ErrorMessage  [Job Name]     - OSoft.Services.Webservice.ApplicationService.ApplicationService.Query()  [DateTime]     - 7-27-2011 7-40-45 AM  [UserId]       -   [Exception]       DetailMsg  - {You are not authorized to perform this task.   Please contact your BPC administrator.}  ==============[System Error Tracing  End ]==============

Maybe you are looking for

  • CIF STEPS to load data from ECC to APO from Process chain

    Hi, i try to create on ECC system a process chain in order to execute the CIF program for updating APO Material/Plant Master data on DELTA mode . I am not sure that the procedure is correct, at the moment i put on a chain: - Step 1 Program RIMODGEN w

  • Archiving  and Deleting of XML Messages in SAP NetWeaver PI 7.31 single stack

    Hello my XI friends! Need step by Step Guide to Archiving and Deleting of XML Messages in SAP NetWeaver PI 7.31 single stack Similar to these instructions http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0afdd69-a8a7-2d10-7e9a-cbf6

  • Logic keeps unexpectedly quitting..

    in searching around this forum, this hardly seems to be an unheard of problem. i use Logic Pro 7.0.1, with a MOTU 896HD firewire interface. basically logic keeps quitting whenever i use virtual instruments (not immediately, but frequently enough to c

  • Connecting a microphone to Garageband

    I have a good stereo Rhode microphone for my Nikon DSLR which I would like to use on my MacAir so I can input voice and sound effects into GarageBand. I'm sure it is possible via some sort of mini mic jack to USB connector but feel that there may be

  • N79 NAM RM350 server certificate not valid "firmwa...

    i have updated my phone frm v11 to v20 but nw wen i go to devices update to update to latest firmware it says " SERVER CERTIFICATE NOT VALID" i want to update to v30 plzz help anyone reguards zain Message Edited by kaskay on 21-Aug-2009 10:42 AM