Query run time increases with subsequent runs.

Hello All
I am looking for some hint about if someone else has faced such an issue in OBIEE
We are trying to enhance performance of some OBIEE Analysis reports. Every time we do a change and deploy out changes the report runs very quick like in 40 seconds . Even when I run the physical query in the database it runs quick as well. After few minutes we run the report again it take 10 minutes and then after some time we run it again it takes 20 minutes. It stabilized around 30 minutes.
We thought it needs more tuning. We tried some more, removed outer joins from the RPD, tuned those joins where we are fectching large amounts of data and deployed it again. Again the first time we ran the report it returned results in less than 30 seconds. Ran it again and it took 6 minutes. And again around 9 mins.
Once again the physical SQL is quick too in the database.
The first time we run the report we are happy to see the run time but subsequent runs take so long.
This is a test envt. so there are not huge load on the database. Also currently we dont have any caching enabled but we may do that as well.
I am just curious to see if anyone has faced something like this. I am running out of options on further tuning the views and joins that we are using.  I am not able to think, why the first time we check our reports they run fast and this behavior is so reproducible now.  And every time we start with our changes we delete all presentation layer cache etc.
Thanks

query caching is primarily a run-time performance improvement capability.and over a period of time, performance tends to improve due to cache hits for more refer this Managing Performance Tuning and Query Caching - 11g Release 1 (11.1.1)

Similar Messages

  • How to configure oracle 6i report server run time component with application server

    we got oracle 6i report server for developing the web based reports for our undergoing product. we r succesed in developing the web based reports using oracle 6i report server.But we r facing problems while deploying the product with oracle reports at clients place,why because the client does not have the oracle 6i report server. To solve this problem we have to configure the oracle 6i report server run time component with application server at client side , but we are unable to configure this component(that is CGI handler).

    You can run multiple instances of Reports Server in 6i.
    In tnsnames.ora, for each server, have a different name and each listening to different port.
    For example,
    server1.world = (ADDRESS = (PROTOCOL = TCP)(Host = myhost.mydomain.com)(Port = 1949))
    server2.world = (ADDRESS = (PROTOCOL = TCP)(Host = myhost.mydomain.com)(Port = 1950))
    Also, if you want to know about Reports Server Clustering, you may refer to "Publishing Reports" document on OTN:
    http://otn.oracle.com/docs/products/reports/pdf/A73173_01.pdf

  • How to Install crystal run time programs with out designer.

    Can anyone suggest me  how to install crystal run time program with out installing entire designer software.
    Is it coming along with CR software package, which we have to do custom install or is it coming as a different package.  
    Currently my client is using only the run time programs to trigger crystal  report from VB app but developers have installed entire software for development.  We need to figure out how this install can be done, as it was done long time before and folks who have done it left the company.  
    Any suggestion on this would be of great help to me.

    See this wiki:
    https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsforVisualStudio.NETRuntimeDistribution-Versions9.1to12.0
    Ludek

  • ABAP/4 run time error with error code  SNAP_NO_NEW_ENTRY

    Dear All,
               I've installed SAP R/3 IDES on Oracle on Windows 2003 server.After clicking Log on button , I should be asked to enter client,user and password.But, my system does not display such details.Instead I get ABAP/4 run time error with error code  SNAP_NO_NEW_ENTRY that too after a long time.
                Can you please address what is the reason for this problem and how to over ride it?
    Regards,
    S.Suresh

    Hi,
    the most probable reason is an archiver stuck. Backup the archived redo log files and delete them afterwards.
    The database will archive some more logs after this. Handle them in the same manor. For complete explanation search for brtools.
    Regards
    Ralph Ganszky

  • Running DAQ-9188 with LV13 runs great on developing machine not on target machine

    Hi
    Running DAQ-9188 with LV13 runs great on developing machine, built exe, transferred to new machine and I cannot get the values to update. Front panel opens everything looks good but no updated values, and no errors. Can someone help?  Thanks.

    Looks like others are pointing you in the right direction let me just add a few things.
    You must have a project to build an EXE.  You add VIs to the project and then under the Build Specifications in the project you can right click and create a new EXE build.  Here you must specify what the top level VI is which is the thing that gets ran when you run the EXE.
    After that you need to make an installer.  To do this go back to the project, and right click Build Specifications but this time make a build for the Installer.  Here you need to say what things to include in the installer.  You can choose to include the EXE you built earlier.  In addition to that under the "Additional Installers" section you can choose to add other installers.  The default one selected will be the run-time engine.  That thing you went and downloaded.  
    Other things you'll need depend on what is in your EXE.  Did you use DAQmx?  Then you'll need to include it in the additional installers.  Did you use XNET?  Include it.  Did you use Report Generation? Internet Connectivity Toolkit?  Vision?  VISA?  etc.
    It is some times hard to know what to include that's why in 2013 NI added a feature to try to can for things you used and include them.
    Including these things will balloon the installer.  Expect several GBs for the installer if you used DAQmx and other things.  Once these are installed on a new machine you can make an update installer that doesn't include these things, and just includes the updated EXE.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • Why the execution time increases with a while loop, but not with "Run continuously" ?

    Hi all,
    I have a serious time problem that I don't know how to solve because I don't know exactly where it comes from.
    I command two RF switches via a DAQ card (NI USB-6008). Only one position at the same time can be selected on each switch. Basically, the VI created for this functionnality (by a co-worker) resets all the DAQ outputs, and then activates the desired ones. It has three inputs, two simp0le string controls, and an array of cluster, which contains the list of all the outputs and some informations to know what is connected (specific to my application).
    I use this VI in a complex application, and I get some problems with the execution time, which increased each time I callled the VI, so I made a test VI (TimeTesting.vi) to figure out where the problem came from. In this special VI I record the execution time in a csv file to analyse then with excel.
    After several tests, I found that if I run this test VI with the while loop, the execution time increases at each cycle, but if I remove the while loop and use the "Run continuously" funtionnality, the execution time remains the same. In my top level application I have while loops and events, and so the execution time increases too.
    Could someone explain me why the execution time increases, and how can I avoid that? I attached my test VI and the necessary subVIs, as well as a picture of a graph which shows the execution time with a while loop and with the "run continuously".
    Thanks a lot for your help!
    Solved!
    Go to Solution.
    Attachments:
    TimeTesting.zip ‏70 KB
    Graph.PNG ‏20 KB

    jul7290 wrote:
    Thank you very much for your help! I added the "Clear task" vi and now it works properly.
    If you are still using the RUn Continuously you should stop. That is meant strictly for debugging. In fact, I can't even tell you the last time I ever used it. If you want your code to repeat you should use loops and control the behavior of the code.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • Run time error with exception 'EXTRACT_RESOURCEHANDLER_FAILED'

    Runtime Errors        EXTRACT_RESOURCEHANDLER_FAILED
    Short text
         Internal error: Error when logging on to delete the extract file.
    What happened?
         Error in the SAP kernel.
         The current ABAP "RAKOPL02" program had to be terminated because the
         ABAP processor detected an internal system error.
    What can you do?
         Note which actions and input led to the error.
         For further help in handling the problem, contact your SAP administrator
         You can use the ABAP dump analysis transaction ST22 to view and manage
         termination messages, in particular for long term reference.
    Error analysis
         An external file is required for the extracts. This can only be deleted
         at the end of the transaction. The logon for the deletion failed with
         the return code: "-4".
    How to correct the error
         The internal system error cannot be fixed by ABAP means only.
         You may be able to find a solution in the SAP note system. If you have
         access to the SAP note system, try searching for the following terms:
          "EXTRACT_RESOURCEHANDLER_FAILED" " "
          "RAKOPL02" or "RAKOPL02_FORM"
          "EXTRACT_DATEN"
         If the error occures in a non-modified SAP program, you may be able to
         find an interim solution in an SAP Note.
         If you have access to SAP Notes, carry out a search with the following
         keywords:
         "EXTRACT_RESOURCEHANDLER_FAILED" " "
         "RAKOPL02" or "RAKOPL02_FORM"
        "RAKOPL02" or "RAKOPL02_FORM"
        "EXTRACT_DATEN"
        If you cannot solve the problem yourself and want to send an error
        notification to SAP, include the following information:
        1. The description of the current problem (short dump)
           To save the description, choose "System->List->Save->Local File
        (Unconverted)".
        2. Corresponding system log
           Display the system log by calling transaction SM21.
           Restrict the time interval to 10 minutes before and five minutes
        after the short dump. Then choose "System->List->Save->Local File
        (Unconverted)".
        3. If the problem occurs in a problem of your own or a modified SAP
        program: The source code of the program
           In the editor, choose "Utilities->More
        Utilities->Upload/Download->Download".
        4. Details about the conditions under which the error occurred or which
        actions and input led to the error.
    Hi All,
    There was a run time error due to the 'EXTRACT' statement in the code in the standard program 'RAKOPL02'.
      EXTRACT daten.
    Can you please let me know the possible causes and necessary corrections to the system (at basis level) if any?
    Thanks in advance,
    RAVI
    Edited by: Maruvada Ravi Kishore on Jun 4, 2009 6:01 AM
    Edited by: Maruvada Ravi Kishore on Jun 4, 2009 6:01 AM

    Hello,
    Refer this link
    https://www.sdn.sap.com/irj/scn/advancedsearch?query=extract_resourcehandler_failed&cat=sdn_all

  • HELP! Run-time Error with this code.

    I'm having problem with the code below. But if I were to remove the writer class and instances of it (writeman), then there are no problems. Can some1 pls tell me why the writer class is giving problems. Btw, no compilation errors, only errors at run-time..........
    import java.applet.*;
    import java.awt.*;
    import java.awt.event.MouseListener;
    import java.awt.event.*;
    public class HelloWorld extends Applet
    public static String MyString = new String("Hello");
    Graphics f;
    public void init()
    Changer Changer1 = new Changer();
    writer writeman = new writer();
    setBackground(Color.red);
    setForeground(Color.green);
    addMouseListener(Changer1);
    writeman.paintit(f);
    public void paint(Graphics g)
    g.drawString(MyString,10 ,10);
    public class Changer implements MouseListener
    public void mouseEntered(MouseEvent e)
    setBackground(Color.blue);
    MyString = "HI";
    paint(f);
    repaint();
    public void mouseExited(MouseEvent e)
    setBackground(Color.red);
    repaint();
    public void mousePressed(MouseEvent e){};
    public void mouseReleased(MouseEvent e){};
    public void mouseClicked(MouseEvent e){};
    public class writer
    public void paintit(Graphics brush)
    brush.drawString("can u see me", 20, 20);

    I assume the exception you are getting is a NullPointerException...
    When you applet is loaded, it is initialised with a call to init... the following will then occur...
    HelloWorld.init()
    writeman.paintit(f)
    // f has not been initialised, so is null
    brush.drawString("can u see me", 20, 20)
    // brush == f == null, accessing a null object causes a NullPointerException!
    The simplest way to rectify this is to not maintain your own reference to the Graphics object. Move the writer.paintit(f) method to the HelloWorld.paint(g) method, and pass in the given Graphics object. Also, change the paint(f) call in Changer to repaint(), which will cause the paint method to be called with a valid Graphics object - which will then be passed correctly to writer.
    Hope this helps,
    -Troy

  • Install labview 6.1 (or compatible) run-time engine with labview 2011

    I have installed a trial period version of Labveiw 2011 in order to check for possible upgrade issues I may have if I decide to upgrade from labveiw 6.1. Well, needless to say there have been alot. That is as expected since I have not updated labview in many years. I am still not under any pressure to update; however, I would like to in order to get support and make sure I do not have any compatibility issues with new  equipment purchases. I have been able to resolve most of my compatibility issues with simple code fixes and such. However, twice now I have run into an error when launching labview executeables compiled by two different equipment manufacturers. The equipment I am using is not even old...maybe a year or so. When I launch the labview executables to control this equipment on a PC that has the trial period labview 2011 installed, I get an error message stating something like " This requires a Labview 6.1 (or compatible) run time engine." I have tried to download and install the 6.1 labivew engine but I can't install this engine on a PC which has labview 2011 installed. Can someone explain how I am to run these executables under labview 2011. I can't imagine these executables were developed using 6.1 since this equipment is not even a year old now.
    Solved!
    Go to Solution.

    Im not for sure I am on the same page with you here. Im not trying to develop any code myself. I have some labview executables that came with hardware we purchased in order to control it. We used to have labview 6.1 installed; so everything was working ok. But now that I have installed 2011, I get an error message when trying to run these executables. The error message states that this executable requires a labview 6.1 or compatible run-time engine. I have seen this error on both XP and Windows 7 machines. I did not develop the executable, it was developed by the hardware manufacturer. But since this hardware is only about 1 year old, I an assuming they used a newer version of Labview to develop this code. Certianly newer than 6.1.
    So I guess my question is..is there a way for me to get this executable to work on a PC that has labview 2011 installed. I have tried to install a labview 6.1 run time engine but it will not install. Any other options?

  • Run time error with ALV List

    Hi,
    I am Using ALV list to display data,In that when itry to display currency field it is giving run time error.
    Following is the code i am using
      lf_fcat-fieldname   = 'SALARYE'.
      lf_fcat-tabname     = 'IT_EMPLOYEE'.
      lf_fcat-col_pos     = l_cnt.
      lf_fcat-emphasize   = 'X'.
      lf_fcat-outputlen   = 15.
      lf_fcat-ref_tabname = 'PA0008'. "<--- Ref table
      lf_fcat-ref_fieldname = 'ANCUR'. "<-----ref field
      lf_fcat-decimals_out = 2.
      lf_fcat-seltext_l   = text-061.
      append lf_fcat to it_fcat.
      clear  lf_fcat.

    Hi,
    Please check in the internal table 'IT_EMPLOYEE' , the relevant currency field as it should type compatible with your reference table field.
    Thanks,
    Dhruv Kumar Malhotra

  • Is Labview 5.0 run-time compatible with windows XP?

    A client has a Labview 5.0 application (in japanese) running on a Win98 computer, they need to run it on a WinXP computer,
    is it enough to install the LabVIEW 5.0 run-time on the WinXP computer for the application to work?
    Where can I get the LabVIEW 5.0 run-time engine?

    See here.
    Time for your client to upgrade.

  • Can Run-Time Engine 6.0 runs on Window XP?

    I have a 6i LabView application and I did build Run-Time Engine 6.0 for that! My boss asked me that if our customer has Window XP and does not have LabView 6i whatsoever, with Run-Time Engine 6.0 install, will have any problem?

    As this Compatibility article states, you won't have to worry about.
    Good Luck

  • Logging Time issue with Job running under SYS.MAINTENANCE_WINDOW_GROUP

    Hi,
    We have configured a nightly job to run daily at 2:00 AM
    And configured the Job to run under Sys,maintenance_window_group.
    The nightly job is producing some log(trace) files in the format
    <date-time> message
    the <date-time> entry is made as
    UTL_FILE.PUT_LINE (log_file, TO_CHAR(SYSDATE,'DD/MM/YYYY HH24:MI:SS') || ' ' || msg, TRUE);
    the problem is the entry for date-time field in the log file is not correct.
    06/02/2013 20:00:02 NIGHTLY_JOB Begin
    It is using EST time ( e.g.- 20:00:00 PM ) but the job is running at timezone Europe/VIENNA
    the file modifcation time is OK, when we check it with ls command ( it gives time near to 2:00 AM)
    -rw-r--r-- 1 oracle asmadmin 3494 Feb 7 02:36 NIGHTLY_JOB.log
    could you please suggest what could be wrong?
    Oracle release is 11.2.0.2

    hi,
    Can you , paste the o/p of
    select * from NLS_DATABASE_PARAMETERS;Thanks,
    Ajay More
    http://www.moreajays.com

  • BT2010 Installed Cum Update Packs for Adapters and getting run-time errors with WCF-SQL

    The process has been working fine for months.  Then we installed Cum Update packs to BT2010 (I'll get the exact C.U.'s from our admin guy) and last night got probably 20 errors similar to below.
       - Installed CU6 for BT2010
       - Installed CU3 for LOB (Adapters)
    The SQL stored proc returns a mix of strings, integers, Guids, and dates; the BizTalk schema looks like matches perfectly. The stored proc runs fine in SSMS.
    Got two errors for each, 1 in XLANG/s for the orchestration, and 1 for the Send port that calls the WCF-SQL adapter from the orchestration, and also 1 warning.
    NOTE: This orchestration runs every 15 minutes 24x7.  It calls the Stored Proc to find out which extracts it needs to create.  Most all the extracts run at night.  So if I run the stored proc during the day, it normally returns an empty result
    set.  Yet, the error below is happening every 15 minutes, even when the result set is empty.  How can it generate a data conversion error when there is no data to be converted? 
    ORCHESTRATION/XLANG ERROR:
    xlang/s engine event log entry: Uncaught exception (see the 'inner exception' below) has suspended an instance of service 'Common.Extract.Orchestrations.EFSRExtractHandler(2b35190e-5f11-e360-9ae8-daaf0372cbc3)'.
    The service instance will remain suspended until administratively resumed or terminated.
    If resumed the instance will continue from its last persisted state and may re-throw the same unexpected exception.
    InstanceId: dc354922-73ef-46fc-ac3d-dbf793e5aaf8
    Shape name:
    ShapeId:
    Exception thrown from: segment -1, progress -1
    Inner exception: An error occurred while processing the message, refer to the details section for more information
    Message ID: {066027B8-4750-4D63-A746-1390E9959E49}
    Instance ID: {5A978538-5DD7-40D1-8826-D0486D129F84}
    Error Description: System.InvalidCastException: Failed to convert parameter value from a String to a Guid. ---> System.InvalidCastException: Invalid cast from 'System.String' to 'System.Guid'.
       at System.Convert.DefaultToType(IConvertible value, Type targetType, IFormatProvider provider)
       at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
       at System.Data.SqlClient.SqlParameter.CoerceValue(Object value, MetaType destinationType, Boolean& coercedToDataFeed, Boolean& typeChanged, Boolean allowStreaming)
       --- End of inner exception stack trace ---
    Server stack trace:
       at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.EndRequest(IAsyncResult result)
    Exception rethrown at [0]:
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at System.ServiceModel.Channels.IRequestChannel.EndRequest(IAsyncResult result)
       at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.RequestCallback(IAsyncResult result)
    Exception type: XlangSoapException
    Source: Microsoft.XLANGs.BizTalk.Engine
    Target Site: Void VerifyTransport(Microsoft.XLANGs.Core.Envelope, Int32, Microsoft.XLANGs.Core.Context)
    The following is a stack trace that identifies the location where the exception occured
       at Microsoft.BizTalk.XLANGs.BTXEngine.BTXPortBase.VerifyTransport(Envelope env, Int32 operationId, Context ctx)
       at Microsoft.XLANGs.Core.Subscription.Receive(Segment s, Context ctx, Envelope& env, Boolean topOnly)
       at Microsoft.XLANGs.Core.PortBase.GetMessageIdForSubscription(Subscription subscription, Segment currentSegment, Context cxt, Envelope& env, CachedObject location)
       at Common.Extract.Orchestrations.EFSRExtractHandler.segment1(StopConditions stopOn)
       at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception& exp)
    SEND PORT ERROR: 
    A message sent to adapter "WCF-Custom" on send port "Send_SQL_Orch_Call_GetAirportsForExtract" with URI "mssql://QADBAlias.datacenter.local//QTAviation?" is suspended.
     Error details: System.InvalidCastException: Failed to convert parameter value from a String to a Guid. ---> System.InvalidCastException: Invalid cast from 'System.String' to 'System.Guid'.
       at System.Convert.DefaultToType(IConvertible value, Type targetType, IFormatProvider provider)
       at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
       at System.Data.SqlClient.SqlParameter.CoerceValue(Object value, MetaType destinationType, Boolean& coercedToDataFeed, Boolean& typeChanged, Boolean allowStreaming)
       --- End of inner exception stack trace ---
    Server stack trace:
       at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.EndRequest(IAsyncResult result)
    Exception rethrown at [0]:
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at System.ServiceModel.Channels.IRequestChannel.EndRequest(IAsyncResult result)
       at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.RequestCallback(IAsyncResult result)
     MessageId:  {C1FB3913-42EB-4957-9289-16D03B02674E}
     InstanceID: {46C9D190-902F-48CE-86CF-D8C3C5B8944D}

    Hi,
    About the error System.InvalidCastException: Failed to convert parameter value from a String to a Guid
    , maybe the field on the database is varchar(string type).
    And you can refer to the similar discussion:
    http://stackoverflow.com/questions/12816641/failed-to-convert-parameter-value-from-string-to-guid
    Hope it can help you.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Running JRA recording with Weblogic running as a service

    Is it possible to run JRA recording while running the WebLogic application server as a service?
    The spec for our environment is as follows:
    - JRockit JVM version: JRRT 3.1.0 1.4.2
    - Weblogic version: 8.1 SP6
    - OS: Windows XP SP3
    Ideally, we would like to be able to run JRA recording every hour as an automated process, however as there is no java.exe process to attach to it seems this might not be a possibility? I appreciate is certainly possible to run the application as a console application and attach to the PID of a running java process using JRCMD if WebLogic is not running as a service. Are there any solutions for taking JRA recordings when JRockit is running in a Weblogic Service?

    Tim,
    You can try to run beasvc.exe in debug mode, from a command prompt after the
    server is booted. You can run it by: >beasvc -debug ...
    This will simulate the service being started in the foreground so that you can
    see output messages. You may be trying to run beasvc in a way that is not
    intended. If you continue to have issues, you should open a case with BEA
    Support.
    Regards,
    Glenn
    Developer Relations Engineer
    BEA Support
    Tim Isenhart wrote:
    I want to collect performance data from weblogic running as a service. I
    customized the commandline in the installSvc script and inserted a profiler
    class in front of weblogic.Server.
    When i start the service, beasvc crashes.
    How can i work around this without resorting to running a manual script ?
    Thx,
    Tim

Maybe you are looking for