Want to figure DB response time.

Hi All
I have done a project in J2EE with oracle as DB. To tune the SQL queries I want to figure out the execution time taken by the DB after receiving the request from the middle tier. Can anyone suggest how to do this.
One of my friend told that there is some jar unlike OJDC14.jar it works for connection purpose as well as collects these kind of statistics but he was not sure about the jar name.

Sudharsan,
I may have misunderstood your question, but if you want to know the execution time of the query in the database, Oracle has tools for this.
You can do this very simply by using the SET TIMING ON command from SQL*Plus.
Good Luck,
Avi.

Similar Messages

  • Response time of a function module

    Hi Friends,
        I'm creating a cutom program where i was using a BAPI ,which exist in other server.
       Now i want to record the response time of the BAPI , after placing the  request in it and display the Time for the 
       corresponding record in output.
      Is there any procedure to record the response time in the program / I'm not asking the transactions where we can  
      measure the performances.
    Moderator message - please do not ask for or promise rewards.
    Thanks & Warm Regards
    Krishna
    Edited by: Rob Burbank on Oct 1, 2009 8:50 AM

    Hello,
    The correct method, as pointed out in previous posts, is with GET RUN TIME. Note that this returns time in microseconds, so you may want to scale this up to a larger unit.
    As to the usefulness: it is perfectly legitimate to include time measurements in your program as long as this has a clear purpose, e.g. comparing response times between different remote systems, identifying erratic response times, etc. In that case I would advise you to also include some other measurement, e.g. the amount of data processed (whether you can do this and how depends on the BAPI, e.g. you could use the number of lines in the returned internal tables as a metric). If your time measurement creates separate log/trace records, then it would also be a good idea to have the option to enable and disable the time measurement.
    Regards,
    Mark

  • Using counters to record response time

    I am designing a Virtual ATM Simulator for aquired brain injury people. So, I want to record the response time to evaluate his mental condition. 
    Thanks in advance!!!

    So whats your problem?
    Tushar Jambhekar
    [email protected]
    Jambhekar Automation Solutions
    LabVIEW Consultancy, LabVIEW Training
    Rent a LabVIEW Developer, My Blog

  • Reg Increasing the EJB Response Time

    We are facing below performance problems in our application,
    1. Response time from EJB (Stateless Session Bean) to Client (Swing).
    2. Time taken for looping through the Result Set.
    For 5000 records, our query is taking 0.2 Secs but looping through the ResultSet is taking around 16 seconds and Response time for transferring 160 kb (object data) from EJB to Client is taking around 30 Secs.
    We have achieved some improvement in ResultSet looping time by setting the setFetchSize of ResultSet to 250.
    Can anyone suggest?
    1. Is there any way to increase the Data Transfer time (Response time) from EJB to Client?
    2. What is the ideal value for setting the value for ResultSet.setFetchSize() ( No of records we fetch vary from 1 � 3,00,000 records)

    1. Response time from EJB (Stateless Session Bean) to
    Client (Swing). Consider non-EJB options. They might prove efficient in your case.
    2. Time taken for looping through the Result Set. Try and design your code as to not require all the records at a time.
    For 5000 records, our query is taking 0.2 Secs but
    looping through the ResultSet is taking around 16
    seconds and Response time for transferring 160 kb
    (object data) from EJB to Client is taking around 30
    Secs.
    We have achieved some improvement in ResultSet
    looping time by setting the setFetchSize of ResultSet
    to 250. There is a limit to what you can achieve with that.
    Can anyone suggest?
    1. Is there any way to increase the Data Transfer
    time (Response time) from EJB to Client? I suppose you would want to reduce the response time.
    2. What is the ideal value for setting the value for
    ResultSet.setFetchSize() ( No of records we fetch
    vary from 1 � 3,00,000 records)
    shrug

  • Monitoring Request and Request response time

    Hi All,
    I want to monitor request response time of static and dynanic content like html ,jsp from webserver to web application server and also want to monitor status of webserver startup and shutdown.In whole i have to develop a custom plugin for web application server.Please help me out regarding this as iam new to java.
    Regards,
    Prashant

    It doesn't do everything you are looking for, but then in some ways it does more such as monitor performance of jsp, html, sql, and even tracks calls to log4j.
    http://www.jamonapi.com
    Message was edited by:
    ssouza

  • MBP 17" HD Screen - Low Response time

    Hello,
    I found that my mbp with 17" 1920x1200 screen have a very slow response time of its Screen. It is very obviously when viewing photo slide show, from dark color to bright color, even watching any motion video, look like a horizontal line will appear on anywhere of the screen. But it is totally problem when viewing on an external monitor with same resolution. Do any HDmbp owner have such problem ?
    thanks.

    Is there anyone has the same problem with me ? I want to figure out is that problem only happen on my mbp or everyone have. I will try to take it to repair if I am not the lucky one. But you know....repairing servies is nightmare in my country. Thanks.

  • Virtual Machine - high disk response time

    Hi Everyone,
    Got something strange happening in our lab at the moment and was wondering if anyone had experienced the same thing (and maybe has a solution).
    Our lab environment in a nutshell:
    2x Windows 2012 Hyper hosts cluster connected to a "home-made" SAN based on Windows 2012 iSCSI target.
    Each Hyper-V host has two 1Gbps network cards to connect to the SAN via the Microsoft iSCSI initiator, with MPIO in load-balancing mode (least queue depth).
    The SAN (Windows 2012 server with iSCSI target) has 4x 1Gbps cards, teamed two by two, so presenting two IP addresses used by each hosts to connect to it (via MPIO).
    The disk subsystem on the Windows 2012 SAN is an external HP storage works with 25x HP 500 SATA disks, connected to the server via an INTEL RAID controller with 2x 240GB SSD caching enabled for read/write.
    The iSCSI network is on a dedicated HP switch, with flow-control and jumbo frame enabled (tested ok).
    Now the problem:
    I've built a few virtual machines on the two hyper-v nodes and I'm getting very bad disk response time as soon as there is an increase in the disk traffic.
    When the virtual server is doing very little, I get a normal 6-8ms, but I soon as I increase the traffic (by for example copying a big file, or installing an application), this figure shoots up to 200ms, 300ms and more!
    So I first thought that it was my disk subsystem (and the SAN server), but while the spikes are happening within the virtual machine, the disks on the SAN Server are sitting at about 10ms, with some spikes to about 20ms (which is pretty good and what I would
    expect to see within the VM because of the SSD cache).
    I then thought it could be the network, but during those times of activity, the network does not get saturated at all. Barely 150Mbps to 200Mbps per link.
    I even tried to disable MPIO and run everything across one Ethernet link, but still the same result.
    Am I missing something here? doing something wrong? or is this expected behaviour?
    Thank you,
    Stephane

    Hi,
    VR38DETT is right, if you want to use more ISCSI bandwidth or redundancy you must use the MPIO method, Multipath I/O (MPIO) is a feature that provides support for using multiple
    data paths to a storage device. Multipathing increases the availability of storage resources by providing path failover from a server or cluster to a storage subsystem.
    More information:
    Multipath I/O Overview
    http://technet.microsoft.com/en-us/library/cc725907.aspx
    Support for Multipath I/O (MPIO)
    http://technet.microsoft.com/en-us/library/cc770294.aspx
    Hope this helps.
    Alex Lv

  • Response Time of MSON Application

    Hello SDN Users,
    we want to use the Mobile Sales Online for CRM (MSON) Application for our Sales Representatives. Currently I'm testing it on a BlackBerry 7230 with a T-Mobile Germany connection. On the location I'm testing the antenna indicates 2 active bars. The BlackBerry Browser is in the default setting. I've started the MSON Application and stopped the time between Get link of "My Activities" and the display of the Search Form. The time was 15 seconds. I think this will not be accepted by our users. I've also tested this with the BlackBerry Device simulator on my local PC connecting directly to the Portal server where the Mobile Sales application is
    running. The time was 4 seconds. Some other pages I've tested:
    Search to Result list:
    BlackBerry 10 sec
    Simulator  2 sec
    Result list to Details
    BlackBerry 9 sec
    Simulator 2 sec
    Questions:
    1. Are they any suggestions to reduce the Response Time of this application?
    2. Has anyone else implemented MSON in real world enviroments?
    3. What where the response times?
    Best regards
    Gregor Wolf

    Hello Gregor,
    There are numerous factors that effect the performance of the MSOn application like data volume and the landscape of the WebAS and CRM backend. In this application the WebAS makes intensive call to the CRM backend, its very important to have the WebAS and the CRM backend close together in order to reduce the network latency. The connection type also has great effect on the application performance.
    Also, in addition to the landscape, the data volume could also reduce the response time of the application. In the search forms if some condition is given , instead of blank form the response time is much faster. In the new SR3 version of the application, atleast one search criteria has to be specified.
    Due to all such variables its difficult to give concrete figures regarding the testing results within SAP.
    Kind Regards
    Gitin

  • Unable to capture the Citrix network response time using OATS Load testing.

    Unable to capture the Citrix network response time using OATS Load testing. Here is the scenario " in our project users logs into Citrix network and select the Hyperion application and does the Transaction and the Clients wants us to simulate the same scenario for load testing. We have scripted starting from Citrix Login and then launching Hyperion application. But the time taken to launch the Hyperion Application from Citrix network has not been captured whereas Hyperion Transaction time have been recorded. Can any help to resolve this issue ASAP?

    Hi keerthi,
    1. I have pasted the code for the first issue
    web
                             .button(
                                       122,
                                       "/web:window[@index='0' or @title='Manage Network Targets - Oracle Communications Order and Service Management - Order and Service Management']/web:document[@index='0' or @name='1824fhkchs_6']/web:form[@id='pt1:_UISform1' or @name='pt1:_UISform1' or @index='0']/web:button[@id='pt1:MA:0:n1:1:pt1:qryId1::search' or @value='Search' or @index='3']")
                             .click();
                        adf
                        .table(
                                  "/web:window[@index='0' or @title='Manage Network Targets - Oracle Communications Order and Service Management - Order and Service Management']/web:document[@index='0' or @name='1c9nk1ryzv_6']/web:ADFTable[@absoluteLocator='pt1:MA:n1:pt1:pnlcltn:resId1']")
                        .columnSort("Ascending", "Name" );
         }

  • Will the problems I am having with slow Safari response times continue if I port the image of my 4 to an new iphone 5?

    As in many families, I am ready to upgrade my iphone 4 to a 5 and pass on my 4 to my partner (who has my old 3), BUT I am resistant to do so because I have been having problems with Safari, (very slow response time) ever since I upgraded to the new OS a month or so back. I have completed all the cleaning tips (cookies, individual app shut downs) and hard boot steps with no change. I can sit my partners Iphone 3 next to my 4 and when using Safari it beats it hands down, almost doubling the time it takes on the 3. My 4 is quicker on all the other apps so I don't believe it is a hardware issue. My tests were done using our home wi fi set up the same on both phones after running all the cleaning tips on both. 
    I actually broke down and called the support line and the first level support told me if I upgraded to the 5 I would likely carry the problem to the new phone. She said she suspected malware or a virus and that for $300 she could forward me to second level support that could scan my phone and see what the problem is on my 4 and support any issues on a new iphone 5 OR for a one time lower fee $79, just help me fix my 4.
    Thinking through her options, I chose none of the above. Seems like I should be able to either 1) isolate the issue myself with the help of this forum or 2) upgrade to the iphone 5 and if the problem follows to the new one, get the support via the new device warranty. If the support person is correct and the problem is in the software and would follow the device, then in theroy I could wipe and restore my old 4 with the back up/data of my partners 3 and the problem on the 4 should be resolved.
    I really don't want to carry the problem to a new phone if I can fix the issue first. I have airwatch software to push my work email to my phone and that is usually a pain to do when I upgrade anyhow. I don't need to pay for a new phone that has the same problem as my old one. I will get grief from my partner for passing on an issue that will come up with the daily use of the old iphone 4 that I will be responsible to fix anyhow. I have invested too much time already to generate problems on both our phones. Thanks in advance for any tips or guideance about a streamlined way forward. 

    Basic troubleshooting from the User's Guide is reset, restart, restore (first from backup then as new).  Has any of this been tried?
    FYI, there are no viruses that affect iOS unless the device has been hacked or jailbroken, in which case they cannot be discussed here.

  • Report to calculate avg response time for a transaction using ST03.

    Hi Abap Gurus ,
    I want to develop a report which calculates the average response time(ST 03) for a transaction on hourly basis.
    I have read many threads like in which users are posting which tables/FM to use to extract data such as  dialog step and total response time .
    I am sure many would have created a report like this , would appeciate if you can share pseudo code for same.Any help regarding the same is highly appreciated...
    Cheers,
    Karan

    http://jakarta.apache.org/jmeter/

  • How to find the Response time for a particular Transaction

    Hello Experts,
            Am implementing a BAdI to achieve some customer enhancement for XD01 Transaction . I need to confirm to customer that after the implementation and before implementation what is the response time of the system
    Response time BEFORE BAdI Implementation
    Response time AFTER BAdI Implementation
    Where can i get this.
    Help me in this regard
    Best Regards
    SRiNi

    Hello,
    Within STAD, enter the time range that the user was executing the transaction within as well as the user name. The time field indicates the time when the transaction would have ended. STAD adds some extra time on using your time interval. Depending on how long the transaction ran, you can set the length you want it to display. This means that if it is set to 10, STAD will display statistical records from transactions that ended within that 10 minute period.
    The selection screen also gives you a few options for display mode.
    - Show all statistic records, sorted by star
    This shows you all of the transaction steps, but they are not grouped in any way.
    -Show all records, grouped by business transaction
    This shows the transaction steps grouped by transaction ID (shown in the record as Trans. ID). The times are not cumulative. They are the times for each individual step.
    -Show Business Transaction Tots
    This shows the transaction steps grouped by transaction ID. However, instead of just listing them you can drill from the top level down. The top level will show you the overall response time, and as you drill down, you can get to the overall response time.
    Note that you also need to add the user into the selection criteria. Everything else you can leave alone in this case.
    Once you have the records displayed, you can double click them to get a detailed record. This will show you the following:
    - Breakdown of response time (wait for work process, processing time, load time, generating time, roll time, DB time, enqueue time). This makes STAD a great place to start for performance analysis as you will then know whether you will need to look at SQL, processing, or any other component of response time first.
    - Stats on the data selected within the execution
    - Memory utilization of the transaction
    - RFCs executed (including the calling time and remote execution time - very useful with performance analysis of interfaces)
    - Much more.
    As this chain of comments has previously indicated, you are best off using STAD if you want an accurate indication of response time. The ST12 (combines SE30 ABAP trace and ST05 SQL trace) trace times are less accurate that the values you get from ST12. I am not discounting the value of ST12 by any means. This is a very powerful tool to help you tune your transactions.
    I hope this information is helpful!
    Kind regards,
    Geoff Irwin
    Senior Support Consultant
    SAP Active Global Support

  • Service Profile Response time values from CRM

    Hi experts,
                       I want to capture RESPONSE TIME from SERVICE PROFILE values defined in CRM system.If you refer CRMD_SERV_SLA transaction then you can find the defined values. In 0CRM_SRV_PROCESS_H Catalog, Code group, Code these values are appearing but I unable to find RESPONSE TIME value.
    Has anybody tried capturing response time value in BW? or is there any other field shows this value in Data Source?
    Regards,
    Priyanka Joshi

    Hi experts,
                        to get these values RESPONSE PROFILE value must be maintained in the Transaction but in our system its not available so I used SAP Exit to get the value and solved the problem.
    Regards,
    Priyanka Joshi

  • Spatial Query Response Time

    O/S - Sun Solaris
    ver - Oracle 8.1.7
    I am trying to improve the response time of the following query. Both tables contain polygons.
    select a.data_id, a.GEOLOC from information_data a, shape_data b where a.info_id = 2 and b.shape_id = 271 and sdo_filter(a.GEOLOC,b.GEOLOC,'querytype=window')='TRUE'
    The response time with info_id not indexed is 9 seconds. When I index info_id, I get the following error. Why is indexing info_id causing a spatial index error ? Also, other than manipulating the tiling level, is there anything else that could improve the response time ?
    ERROR at line 1:
    ORA-29902: error in executing ODCIIndexStart() routine
    ORA-13208: internal error while evaluating [window SRID does not match layer
    SRID] operator
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD", line 84
    ORA-06512: at line 1
    Thanks,
    Ravi.

    Hello Ravi,
    Both layers should have SDO_SRID values set in order for the index to work properly.
    After you do that you might want to add an Oracle hint to the query:
    select /*+ ordered */ a.data_id, a.GEOLOC
    from shape_data b, information_data a
    where a.info_id = 2 and b.shape_id = 271
    and sdo_filter(a.GEOLOC,b.GEOLOC,'querytype=window')='TRUE' ;
    Hope this helps,
    Dan
    Also, if only one or very few rows have a.info_id=2 then the function sdo_geom.relate
    might also work quickly.

  • How to Tune the Transactions/ Z - reports /Progr..of High response time

    Dear friends,
    in <b>ST03</b> work load anlysis menu.... there are some z-reports, transactions, and some programmes are noticed contineously that they are taking the <b>max. response time</b> (and mostly >90%of time is  DB Time ).
    how to tune the above situation ??
    Thank u.

    Siva,
    You can start with some thing like:
    ST04  -> Detail Analysis -> SQL Request (look at top disk reads and buffer get SQL statements)
    For the top SQL statements identified you'd want to look at the explain plan to determine if the SQL statements is:
    1) inefficient
    2) are your DB stats up to date on the tables (note up to date stats does not always means they are the best)
    3) if there are better indexes available, if not would a more suitable index help?
    4) if there are many slow disk reads, is there an I/O issue?
    etc...
    While you're in ST04 make sure your buffers are sized adequately.
    Also make sure your Oracle parameters are set according to this OSS note.
    Note 830576 - Parameter recommendations for Oracle 10g

Maybe you are looking for

  • Lumia 520 - Videos shared via Bluetooth

    I want to know how to search videos or anything else in NOKIA LUMIA 520 ? Video was sent by Bluetooth. Moderator's note: We have provided a subject-related title to help other forum users easily view and respond to this post.

  • Compile time Annotation Processing

    Is it possible to access the source of the file being analysed at compile time? Thanks

  • Does making more classes or incapsulation effect perfoemance?

    I have a Frame with a TabbedPane on it. There are 8 tabs. Each tab contains a JTable with lots of fields & 4 buttons. When I design all this stuff in JBuilder all panels are put into one class (...Frame class). I want to put every tab's JPanel into a

  • XI /PI architecture

    Hi All, I have some questions: We are planning to install a XI 3.0 landscape. Its already decide to install a DEV, QAS and PRD instance, with a central SLD on the PRD instance. For all 3 instance’s we are going to install the integrated repository an

  • File with exclamation, but I can't restore or anything.

    When I try to restore it comes up with "Can't mount iPod, what am I supposed to do here? None of the other solutions work. Please help.