Inconsistent Run times for the Calcscript

Hello Guys,
I am getting inconsistent run times when I am executing the same Calcscript on EAS DEV server again and again. Please let me know your thoughts.
Thanks

There are a number of factors that can affect this
First. If the first time you had just loaded the database and ran the calc times would vary from when the calculation is against a fully calculated database
Second, Each time you run the calc, you could be creating fragmentation whould would lenghten the calculation
Third, depending on what is going on, you might have cached some blocks from a previous run wich would speed up calculations. To try to get consistant results there are a few things you could do
1. reload the data prior to every test
2. or restructure the Database to remove fragmentation
3. Stop and restart the database between runs to clear the cache

Similar Messages

  • Battery run time for Tungsten E?

    What is the total run time for the battery in the Tungsten E assuming the back light is on all the time while playing a song?
    Post relates to: Palm III

    With a brand new T|E in early 2004 I could get about 3 hours of run time in Aeroplayer with screen off.
    I doubt you can get anything like that.
    It would be simpler and less time consuming for everyone if you had started one thread with ALL your T|E battery questions.
    Post relates to: Palm TX

  • How to change the view criteria at run time for af:query

    Hi,
    I've a usecase where I need to change the view criteria of the af:query at run time.
    Use case:
    =======
    1) Consider a check box (Show Emps Under Dept 10) in the query panel when user selects and clicks 'Search' button should show the employees under dept 10. If user searches without selecting the check box, the results should show all the employees in all the departments.
    2) I need to have a check box always in the query panel. Its mandatory.
    The way I implemented:
    ==============
    1) Created a transient variable 'Show Emps Under Dept 10' in the EmployeeVO and also created a bind variable bind_DeptNo.
    2) Create a view criteria 'AllEmployees' which has only the transient attribute as the view criteria item and whose value set to 'false' by default.
    3) Created another view criteria 'EmpUnderDept' which has 'DepartmentId' as the view criteria item and whose value set to the bind variable 'bind_DeptNo'.
    4) Dropped the view criteria 'EmpUnderDept' as the 'af:query' panel in the jspx page.
    5) Overridden the queryListener as '#{EmpBean.empSearch}'
    6) Has the below code in the empSearch method as below. When user selects the check box, applying the other criteria 'EmpUnderDept' and setting the bind variable to '10'.
    public void empSearch(QueryEvent queryEvent) {
    // Add event code here...
    QueryDescriptor queryDesc = (QueryDescriptor) queryEvent.getDescriptor();
    ConjunctionCriterion conCrit = queryDesc.getConjunctionCriterion();
    List<Criterion> criterionList = conCrit.getCriterionList();
    List criterionValues = new ArrayList();
    Object criteriaValue = null;
    int criteriaNo = 0;
    DCBindingContainer bc = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    FacesContext facesContext = FacesContext.getCurrentInstance();
    for (Criterion criterion : criterionList) {
    AttributeDescriptor attrDescriptor = ((AttributeCriterion)criterion).getAttribute();
    System.out.println("============== attrDescriptor.getName() =================== " + attrDescriptor.getName());
    criteriaValue = ((AttributeCriterion)criterion).getValues().get(0);
    if(criteriaNo==0) {
    Boolean val = (Boolean) ((AttributeCriterion)criterion).getValues().get(0);
    if (val.equals(true)) {
    OperationBinding method = (OperationBinding) ADFUtil.findOperation("ExecuteWithParams");
    if(method!=null) {
    Map params = method.getParamsMap();
    //params.put(key, value)
    method.getParamsMap().put("bind_DeptId", 10L);
    method.execute();
    ADFUtil.invokeMethodExpression( "#{bindings.EmpUnderDeptCriteiaQuery.processQuery}", queryEvent);
    } else {
    //ADFUtil.invokeEL("#{bindings.ExecuteWithParams.execute}");
    ADFUtil.invokeMethodExpression( "#{bindings.AllEmployeesCriteriaQuery.processQuery}", queryEvent);
    But this approach is not working and its always showing all the employees in all the departments.
    Please let me know if there is a way to change the view criteria at run time depending on the values set at run time for one of the view criteria items.
    JDev version am using is '11.1.1.5'
    Thanks,
    Lakshman

    Hi Shay,
    It worked for me without overriding the executeQuery() method in the ViewImpl.java.
    Instead of creating 2 view criteria, I created only one which has both transient variable and the DepartmentId = <bind_DeptId>. With the above code, it worked properly. Now I am using only one view criteria.
    Thank you.

  • Error message trying to run Parallels for the first time

    Hi,
    I've got Vista Ultimate installed on my MacBook Pro via Boot Camp. It works great.
    I'm using the 15-day Parallels trial, and every time I try and run it for the first time, it gives me the same error.
    After trying to run Windows, it says
    "Error: 0xc0000225
    Windows failed to load because the firmware (BIOS) is not ACPI compatible."
    I have no idea what this means. I ran Boot Camp normally and everything seemed to work fine.
    Any ideas?

    Have you read through their documentation and installed the necessary tools?
    http://forums.parallels.com/

  • I am trying to run facetime for the first time, marks an error, I am trying to run facetime for the first time, marks an error

    Hi! Need help to run facetime, for the first time.
    An error occurs everytime I try, I quit as its says, but not working

    Hello Vivmex,
    It sounds like you are getting the following message, "An internal FaceTime error occurred: There was a problem with FaceTime. You need to quit and open FaceTime again." 
    This message comes up if you double click on the FaceTime icon on the dock.  If you single click the FaceTime icon on the dock, FaceTime should launch normally:
    Symptoms
    When opening FaceTime from the Dock, the following alert message may appear:
    "An internal FaceTime error occurred. There was a problem with FaceTime. You need to quit and open FaceTime again."
    Resolution
    Click the FaceTime icon in the Dock one time, then wait for the application to finish opening.
    Additional Information
    This can happen if you attempt to open FaceTime a second time while it is already loading, such as by clicking the FaceTime Dock icon more than once.
    You can find the full article here:
    OS X: "An internal FaceTime error occurred" alert after clicking Facetime icon in the Dock
    http://support.apple.com/kb/TS4457
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Run time for a Report

    Hi All,
    I have a requirement, where in i want to know whether my report has run for 8 mins or not. If it has run for 8 mins then i have to give an information message saying that the report is taking more than 8 mins so schedule the program in back ground.
    Is this possible ?
    Please let me know how to know during run time the time taken by a report.
    Regards
    Rakesh.

    Hi Dominic,
    The code you mentioned can be put to know what is the time taken by a select statement or the time taken by a particular piece of code. In my program there are several select queries and complex logics.. So i dont think that it is feesible to calculate the run time for each select and then if its increasing 8 mins then to show error !!!!
    My report will be called from an external application. If the program is taking much time it will get timed out. So for a precaution we have to tell them that the way you have given the selection screen filter values its going to take more than 8 mins so better schedule a back ground job.

  • 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

  • Anyone else having extra long delivery time for the late 2013 macbook pro 15" 2.6ghz 1tb model?

    Anyone else having extra long delivery time for the late 2013 macbook pro 15" 2.6ghz 1tb model?
    As of today feb 15 i have been waiting for 78 days. Finland doesn't have an official apple store (only authorized resellers) It was my mistake because i should have bought from apple.com. But i think 2.5 months is too long and i have no information about when i can get it..

    The low-end 15” rMBP with a 8 GB or RAM and a 256 GB SSD costs $2,000. 
    The low-end 15” rMBP with a 8 GB or RAM and a 512 GB SSD costs $2,300. 
    With 16 GB of RAM and a 512 GB SSD it costs $2,500.
    The high-end 15” rMBP with a 16 GB of RAM and a 512 GB SSD costs $2,600.
    All cost $500 dollars more with a 1 TB SSD.
    So the SSD size is not a differentiating factor unless you prefer 256 GB.
    If you think you need 16 GB of RAM and a 512 GB SSD then you might as well spend the extra $100 for the high-end model.
    The high-end model will make a difference on gaming and graphics-oriented applications.
    They tend to run other applications at about the same speed.
    Both models are rated with 8 hours of battery life.
    Benchmarks on PhotoShop comparing memory sizes:  https://discussions.apple.com/thread/5659174?tstart=30
    The speed was about 10% different between 8 GB and 16 GB models.
    On other applications your mileage may vary.
    Application benchmarks:
    http://www.macworld.com/article/2059215/15-inch-retina-macbook-pro-review-a-tale -of-two-laptops.html
    The low-end and high-end performed the about the same on non-graphics oriented applications.
    Graphics oriented benchmarks:
    On the Cinebench OpenGL benchmark the high-end was about twice as fast.
    On the Unigine Heaven Benchmark benchmark they ran at about the same speed.
    On the Unigine Valley Benchmark benchmark the high-end was about 1.5x as fast.
    Message was edited by: hands4

  • Run time for a query

    Hello all,
    Can you please tell me how can I see the total running time for a query?
    What other transactions besides ST03 and RSRT with statistics on?
    Points will be assigned
    Thanks
    Ramona

    Hi........
    You can use ST03N -> BW System Load
    Depending on the time frame you select, you get historical data or
    current data.
    To get to a specific query you need to drill down using the InfoCube
    name
    Use Aggregation Query to get more runtime information about a
    single query. Use tab All data to get to the details.
    (DB, OLAP, and Frontend time, plus Select/ Transferred records,
    plus number of cells and formats)
    Also You can get it in RSRT,RSRTQ...
    WE07  IDoc statistics 
    DB20  Update DB Statistics 
    Regards,
    Debjani........
    Edited by: Debjani  Mukherjee on Sep 25, 2008 2:42 PM

  • Run restore for the specific backup

    How will u run restore for the specific backup taken on any specific day?
    e.g.
    set until time 'sysdate-1/24'; how can we run for specific backup?
    Also if somebody can guide me to any tutorial?
    thank you,
    regards,

    RMAN> list backup;From which you can determine the particular TAG name you want to restore, then:
    RMAN> restore database from tag '<specify_tag_name>';

  • Default maximum run time for updates

    Is there a way to change the default "Max run time" for each update? In SCCM 2007 the default run time was 20 minutes per update, now it is 5 minutes. I have machines that repeatedly fail to install updates because the max time of 300 seconds was
    reached.

    Hi,
    What is the powershell command to change the maximum run time?
    Thanks.
    probably this:
    http://technet.microsoft.com/en-us/library/jj850138(v=sc.20).aspx
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • How to invoke a class at run-time for primitive data types?

    Hi,
    I am trying to invoke classes at run-time.
    I am using Class.forName("className") for that where the "className" is also obtained at run-time .
    The problem I am getting is when the "className" is "int" or "char" etc. the call to Class.forName("int") etc. fails giving ClassNotFound error. It works fine for "className" is "java.lang.String" or "java.lang.Integer" etc.
    How can I correct this?
    thanks in advance-
    kg

    Hi,
    Thanks all for the valuable inputs.
    I have created a hashtable of primitive data types in the form of "int" as key and "Integer.TYPE" as the object in that element of the hashtable.
    Now there is another problem I am facing and that is of 'Casting at run-time'.
    Problem is there when the Database type is 'NUMBER' which returns me a "java.lang.BigDecimal" when I do a ResultSet.getObject("XXX") for that whereas the method in the javabean expects an "int" type.
    This causes "java.lang.IllegalArgumentException: argument type mismatch"
    So I want to cast it at runtime. How can I do it?
    Here is the code I am trying (which generates the above exception)
    public static void setBeanField(Class pCls,Object pObj,String pMethodName ,Object pColumnValue,Class
    pColumnTypeClass){
    try{
    if(pColumnValue!=null){
    Class[] paramTypes = new Class[]{pColumnTypeClass};
    Object[] args = new Object[]{pColumnValue};
    Method meth = pCls.getMethod(pMethodName,paramTypes);
    meth.invoke(pObj,args);
    }catch(Exception e){
    System.out.println("Exception in TestInrospection.setBeanField " + e);
    thanks in advance-
    kg

  • Maximum allowed run time for a task sequence

    I found if i left the maximum allowed run time for a task sequence with a defualt value of "0" in configuration manager 2012 r2 cu2,the required task sequence would never run without a maintenance window larger than
    12H.
    At client side,the servicewindowmanager.log always said this required task sequence had a maximum runtime of 43200 seconds(12h).
    servicewindowmanager.log:
    OnIsServiceWindowAvailable called with: Runtime:43200, Type:5
    Program cannot Run! Setting *canProgramRun to FALSE
    There does not exist a Service Window of this Type, for this duration. The Program will not run.
    If i set maximum allowed run time to 120 minutes,task sequence would run under a 3h mainenance window.
    So if you leave the maximum allowed run time for a task sequence with a value of "0" then client agent will evaluate it as 43200(12h) for a required deployment,is it true? have i missed something?

    Hi,
    That is correct it will default to the same value as a program with a "Unknown" maximum runtime value, Unknown is also evaluated to 0 = 12h so that is correct behaviour.
    Regards,
    Jörgen
    -- My System Center blog ccmexec.com -- Twitter
    @ccmexec

  • HT3702 why did i get charged three times for the same purchase? is it because i use my apple id on three devices.. two iphones, and ipad... and and macbook geez apple i support you enough can i just pay for one copy of the audiobook

    why did i get charged three times for the same purchase? is it because i use my apple id on three devices.. two iphones, and ipad... and and macbook geez apple i support you enough can i just pay for one copy of the audiobook

    These are user-to-user forums, you are not talking to Apple here.
    If it was an audiobook then they are one-time only downloads, to get it on your other devices you need to sync it to them and not re-download it oneach. You can try contacting iTunes support and see if they will refund or credit you for the second and third downloads : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • My folders take forever to open and then the docs within take a long time for the icon to pop up. the same thing with moving itmes from the desktop to a folder, and also emptying the trashh

    my folders take forever to open and then the docs within take a long time for the icon to pop up. the same thing with moving itmes from the desktop to a folder, and also emptying the trashh

    Don't know if that would be a failing hard drive, but it may be that you are out of available space. How much hard drive space do you have available? Please highlight the Macintosh HD icon and then press Command and I for a get info window. Once open, please copy and post the following:
    Capacity:
    Used:
    Available:
    Mac OS requires a minimum of 10 - 15% of total hard drive space available and empty at all times in order to operate properly.

Maybe you are looking for