Client response times

Is there any way that these can be obtained in the access.log?
The Oracle webserver extended log includes a useful parameter (called
time-taken) which gives an approximate client response time. Does
WebLogic have a similar option?

Hi Steve,
WebLogic 5.1 supports Extended Log File format for its access.log. The
format includes the field you are asking about (time-taken) and much
more. Check out the docs for WLS 5.1 and the spec for ELF format at W3C
web site.
Thanks,
-ruslan
Steve Hicks wrote:
Is there any way that these can be obtained in the access.log?
The Oracle webserver extended log includes a useful parameter (called
time-taken) which gives an approximate client response time. Does
WebLogic have a similar option?

Similar Messages

  • Significant difference in response times for same query running on Windows client vs database server

    I have a query which is taking a long time to return the results using the Oracle client.
    When I run this query on our database server (Unix/Solaris) it completes in 80 seconds.
    When I run the same query on a Windows client it completes in 47 minutes.
    Ideally I would like to get a response time equivalent on the Windows client to what I get when running this on the database server.
    In both cases the query plans are the same.
    The query and plan is shown below :
    {code}
    SQL> explain plan
      2  set statement_id = 'SLOW'
      3  for
      4  SELECT DISTINCT /*+ FIRST_ROWS(503) */ objecttype.id_object
      5  FROM documents objecttype WHERE objecttype.id_type_definition = 'duotA9'
      6  ;
    Explained.
    SQL> select * from table(dbms_xplan.display('PLAN_TABLE','SLOW','TYPICAL'));
    PLAN_TABLE_OUTPUT
    | Id  | Operation          | Name      | Rows  | Bytes |TempSpc| Cost (%CPU)|
    |   0 | SELECT STATEMENT   |           |  2852K|    46M|       | 69851   (1)|
    |   1 |  HASH UNIQUE       |           |  2852K|    46M|   153M| 69851   (1)|
    |*  2 |   TABLE ACCESS FULL| DOCUMENTS |  2852K|    46M|       | 54063   (1)|
    {code}
    Are there are configuration changes that can be done on the Oracle client or database to improve the response times for the query when it is running from the client?
    The version on the database server is 10.2.0.1.0
    The version of the oracle client is also 10.2.0.1.0
    I am happy to provide any further information if required.
    Thank you in advance.

    I have a query which is taking a long time to return the results using the Oracle client.
    When I run this query on our database server (Unix/Solaris) it completes in 80 seconds.
    When I run the same query on a Windows client it completes in 47 minutes.
    There are NO queries that 'run' on a client. Queries ALWAYS run within the database server.
    A client can choose when to FETCH query results. In sql developer (or toad) I can choose to get 10 rows at a time. Until I choose to get the next set of 10 rows NO rows will be returned from the server to the client; That query might NEVER complete.
    You may get the same results depending on the client you are using. Post your question in a forum for whatever client you are using.

  • LYNC 2013 mobility clients disconnect and AAR bad response time

    Good day,
    I'm new to this, but have to implement LYNC 2013 for our company.
    I have implemented Lync 2013 by following various instructions and all seems fine... apart from all mobile clients (internal/external - Andoid/IOS). They get disconnected after a few minutes. On Android the error is "unknown error" (very useful)
    and on IOPS it's "unhandeled alert type 302 E_Badgateway (E2-3-35).
    What I have noticed is that on AAR, on the LYNCWEB server farm  (under " Monitoring and Management") the response time is huge (10000 + ms) and when the errors come up on the clients I get a "failed request".
    I can not think what may be wrong but all is pointing to AAR?
    AAR is version 3 running on 2021 R2
    any ideas? been stuck for a week on this now.
    Many thanks
    DD

    Hi,
    From your description above, it seems to be the issue with IIS ARR.
    You can check with the following steps:
    Check if DNS records and certificate were appropriate.
    Check if ExposedWebURL set to External.
    Try to increase the time out value from 200 to 1800
    More details:
    http://blogs.technet.com/b/nexthop/archive/2013/02/19/using-iis-arr-as-a-reverse-proxy-for-lync-server-2013.aspx
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • 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" );
         }

  • How to increase built-in cisco vpn peer response timer?

    Hi,
    I use OS x in-built cisco vpn client to connect to work VPN.
    The VPN server, or perhaps the radius server, takes a long time to return a response. OS X always try for 10 seconds, then drop the conneciton when no response from the remote peer. When I use cisco vpn client on a windows machine, the vpn client has a setting to allow for 90 seconds remote peer response time. It works fine using cisco vpn client.
    I prefer to use os x as my primary working environment, so I need to fix this problme. My question is how to increase the phase 1 & 2 timer for vpn under 10.6.7. I have tried to change racoon.conf phase 1 & phase 2 timer, but it made no difference. OS X only try for 10 seconds.
    Any ideas? (besides asking work people to fix the server or radius problem)
    Thanks
    jmsherry123

    i have the same problem ... certificate is imported in keychain, but cant select it when setup vpn connection

  • Help required in optimizing the query response time

    Hi,
    I am working on a application which uses a jdbc thin client. My requirement is to select all the table rows in one table and use the column values to select data in another table in another database.
    The first table can have maximum of 6 million rows but the second table rows will be around 9000.
    My first query is returning within 30-40 milliseconds when the table is having 200000 rows. But when I am iterating the result set and query the second table the query is taking around 4 millisecond for each query.
    the second query selection criteria is to find the value in the range .
    for example my_table ( varchar2 column1, varchar2 start_range, varchar2 end_range);
    My first query returns a result which then will be used to select using the following query
    select column1 from my_table where start_range < my_value and end_range> my_value;
    I have created an index on start_range and end_range. this query is taking around 4 millisseconds which I think is too much.
    I am using a preparedStatement for the second query loop.
    Can some one suggest me how I can improve the query response time?
    Regards,
    Shyam

    Try the code below.
    Pre-requistee: you should know how to pass ARRAY objects to oracle and receive resultsets from java. There are 1000s of samples available on net.
    I have written a sample db code for the same interraction.
    Procedure get_list takes a array input from java and returns the record set back to java. You can change the tablenames and the creteria.
    Good luck.
    DROP TYPE idlist;
    CREATE OR REPLACE TYPE idlist AS TABLE OF NUMBER;
    CREATE OR REPLACE PACKAGE mypkg1
    AS
       PROCEDURE get_list (myval_list idlist, orefcur OUT sys_refcursor);
    END mypkg1;
    CREATE OR REPLACE PACKAGE BODY mypkg1
    AS
       PROCEDURE get_list (myval_list idlist, orefcur OUT sys_refcursor)
       AS
          ctr   NUMBER;
       BEGIN
          DBMS_OUTPUT.put_line (myval_list.COUNT);
          FOR x IN (SELECT object_name, object_id, myvalue
                      FROM user_objects a,
                           (SELECT myval_list (ROWNUM + 1) myvalue
                              FROM TABLE (myval_list)) b
                     WHERE a.object_id < b.myvalue)
          LOOP
             DBMS_OUTPUT.put_line (   x.object_name
                                   || ' - '
                                   || x.object_id
                                   || ' - '
                                   || x.myvalue
          END LOOP;
       END;
    END mypkg1;
    [pre]
    Testing the code above. Make sure dbms output is ON.
    [pre]
    DECLARE
       a      idlist;
       refc   sys_refcursor;
       c number;
    BEGIN
       SELECT x.nu
       BULK COLLECT INTO a
         FROM (SELECT 5000 nu
                 FROM DUAL) x;
       mypkg1.get_list (a, refc);
    END;
    [pre]
    Vishal V.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to capture transaction response time in SQL

    I need to capture  Transaction response time (i.e. ping test) to calculated the peak hours and averaged
    on a daily basis.
    and
    Page refresh time that is calculated no less than every 2 hours for peak hours and averaged on a daily basis. 
    Please assist
    k

    My best guess as to what you are looking for is something like the following (C#):
    private int? Ping()
    System.Data.SqlClient.SqlConnection objConnection;
    System.Data.SqlClient.SqlCommand objCommand;
    System.Data.SqlClient.SqlParameter objParameter;
    System.Diagnostics.Stopwatch objStopWatch = new System.Diagnostics.Stopwatch();
    DateTime objStartTime, objEndTime, objServerTime;
    int intToServer, intFromServer;
    int? intResult = null;
    objConnection = new System.Data.SqlClient.SqlConnection("Data Source=myserver;Initial Catalog=master;Integrated Security=True;Connect Timeout=3;Network Library=dbmssocn;");
    using (objConnection)
    objConnection.Open();
    using (objCommand = new System.Data.SqlClient.SqlCommand())
    objCommand.Connection = objConnection;
    objCommand.CommandType = CommandType.Text;
    objCommand.CommandText = @"select @ServerTime = sysdatetime()";
    objParameter = new System.Data.SqlClient.SqlParameter("@ServerTime", SqlDbType.DateTime2, 7);
    objParameter.Direction = ParameterDirection.Output;
    objCommand.Parameters.Add(objParameter);
    objStopWatch.Start();
    objStartTime = DateTime.Now;
    objCommand.ExecuteNonQuery();
    objEndTime = DateTime.Now;
    objStopWatch.Stop();
    objServerTime = DateTime.Parse(objCommand.Parameters["@ServerTime"].Value.ToString());
    intToServer = objServerTime.Subtract(objStartTime).Milliseconds;
    intFromServer = objEndTime.Subtract(objServerTime).Milliseconds;
    intResult = (int?)objStopWatch.ElapsedMilliseconds;
    System.Diagnostics.Debug.Print(string.Format("Milliseconds from client to server {0}, milliseconds from server back to client {1}, and milliseconds round trip {2}.", intToServer, intFromServer, intResult));
    return intResult;
    Now, while the round trip measurement is fairly accurate give or take 100ms, any measurement of latency to and from SQL Server is going to be subject to the accuracy of the time synchronization of the client and server.  If the server's and client's
    time isn't synchronized precisely then you will get odd results in the variables intToServer and intFromServer.
    Since the round trip result of the test is measured entirely on the client that value isn't subject to the whims of client/server time synchronization.

  • SG200-26P [FW-1.1.2.0] - Very High Response Time: 1000ms!

    Hello,
    Problem: New SG-200 26P Smart Switch with Latest Firmware - Very High Responce Time 500-800ms
    We've a EdgeMarc 4500 Router with 10 VPN tunnels to 10 brach locations. SG-200 26P Smart Switch is connected to 7 Servers (2 Terminal, SQL, and Other) All locations have 50MB Download and 20MB Upload speed from Verizon FiOS Internet service.
    As per the SolarWind tool, the response time of this switch is around at 500ms. At the same time, the EdgeMarc 4500 router response time is around 40ms and less.
    We've 60 desktops remotely connected to our SQL Server database and 40 RDP Users via Remote Desktop. The configuration is same from past 3 years. But we change the switch from HP 1800-24G to Cisco due to some Connection Failures. For Connection Failures, we first suspect the old HP switch, but it's look like issue with EdgeMarc Router.
    Is this Response Time is normal? I attached two screenshots of both Cisco Switch and EdgeMarc Router Response Time from past 24 hours according to SolarWind tool. Any further advice would be greatly appreciated. Thank you.

    Hello Srinath,
    Thank you for participating in the Small Business support community. My name is Nico Muselle from Cisco Sofia SBSC.
    The response time from the switch could be considered as quite normal. Reason for this is that the switch gives CPU priority to it's actual duties which would of course be switching, access lists, VLANs, QoS, multicast and DHCP snooping etc etc. As a result of that, ping response times of the switch itself do not show in any way the correct working of the switch.
    I invite you to try pinging clients connected to the switch, you should be able to notice that response times to the clients are a lot lower than response times of the switch itself.
    Hope this answers your question !
    Best regards,
    Nico Muselle
    Sr. Network Engineer - CCNA - CCNA Security

  • EJB slow response time in cluster

    We have 2 clusters : cluster 1(3 managed servers) and cluster2( 2 managed servers). We have an EJB deployed on cluster2 which is being called by an application on cluster1. Issue is that this EJB gives a very slow response time (in the order of minutes). There are no errors or exceptions in the logs.
    When we shut down one of the nodes on cluster2, the respose from the same EJB is very fast. Please help as to where we should look out for the issue?

    Could be that you have a network configuration problem. The source of the problem is how host names and IP addresses are resolved,
    and there is a workaround. RMI and other naming services use the InetAddress class to obtain resolved host names and IP addresses.
    InetAddress caches lookup results to improve subsequent calls, but when it is passed a new IP address or host name, it performs a
    cross-reference between the IP address and the host name to prevent address spoofing. If you supply the host name as an IP address,
    InetAddress still tries to verify the name of the host. To workaround this problem, include the host name and IP address in the
    hosts file on the client, for example,
    127.0.0.1           localhost
    172.30.0.129      SomeWebLogicServerHostName
    172.30.0.130      SomeOtherWebLogicServerHostName

  • Response time of query utterly upside down because of small where clause change

    Hello,
    I'm wondering why a small change on a where clause in a query has a dramatic impact on its response time.
    Here is the query, with its plan and a few details:
    select * from (
    SELECT xyz_id, time_oper, ...
         FROM (SELECT 
                        d.xyz_id xyz_id,
                        TO_CHAR (di.time_operation, 'DD/MM/YYYY') time_oper,
                        di.time_operation time_operation,
                        UPPER (d.delivery_name || ' ' || d.delivery_firstname) custname,
                        d.ticket_language ticket_language, d.payed,
                        dsum.delivery_mode delivery_mode,
                        d.station_delivery station_delivery,
                        d.total_price total_price, d.crm_cust_id custid,
                        d.bene_cust_id person_id, d.xyz_num, dpe.ers_pnr ers_pnr,
                        d.delivery_name,
                        TO_CHAR (dsum.first_travel_date, 'DD/MM/YYYY') first_traveldate,
                        d.crm_company custtype, UPPER (d.client_name) partyname,
                        getremark(d.xyz_num) remark,
                        d.client_app, di.work_unit, di.account_unit,
                        di.distrib_code,
                        UPPER (d.crm_name || ' ' || d.crm_firstname) crm_custname,
                       getspecialproduct(di.xyz_id) specialproduct
                   FROM xyz d, xyz_info di, xyz_pnr_ers dpe, xyz_summary dsum
                  WHERE d.cancel_state = 'N'
                 -- AND d.payed = 'N'
                    AND dsum.delivery_mode NOT IN ('DD')
                    AND dsum.payment_method NOT IN ('AC', 'AG')
                    AND d.xyz_blocked IS NULL
                    AND di.xyz_id = d.xyz_id
                    AND di.operation = 'CREATE'
                    AND dpe.xyz_id(+) = d.xyz_id
                    AND EXISTS (SELECT 1
                                  FROM xyz_ticket dt
                                 WHERE dt.xyz_id = d.xyz_id)
                    AND dsum.xyz_id = di.xyz_id
               ORDER BY di.time_operation DESC)
        WHERE ROWNUM < 1002
    ) view
    WHERE view.DISTRIB_CODE in ('NS') AND view.TIME_OPERATION > TO_DATE('20/5/2013', 'dd/MM/yyyy')
    plan with "d.payed = 'N'" (no rows, *extremely* slow):
    | Id  | Operation                          | Name             | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT                   |                  |  1001 |  4166K| 39354   (1)| 00:02:59 |
    |*  1 |  VIEW                              |                  |  1001 |  4166K| 39354   (1)| 00:02:59 |
    |*  2 |   COUNT STOPKEY                    |                  |       |       |            |          |
    |   3 |    VIEW                            |                  |  1001 |  4166K| 39354   (1)| 00:02:59 |
    |   4 |     NESTED LOOPS OUTER             |                  |  1001 |   130K| 39354   (1)| 00:02:59 |
    |   5 |      NESTED LOOPS SEMI             |                  |   970 |   111K| 36747   (1)| 00:02:47 |
    |   6 |       NESTED LOOPS                 |                  |   970 |   104K| 34803   (1)| 00:02:39 |
    |   7 |        NESTED LOOPS                |                  |   970 | 54320 | 32857   (1)| 00:02:30 |
    |*  8 |         TABLE ACCESS BY INDEX ROWID| XYZ_INFO         |    19M|   704M| 28886   (1)| 00:02:12 |
    |   9 |          INDEX FULL SCAN DESCENDING| DNIN_IDX_NI5     | 36967 |       |   296   (2)| 00:00:02 |
    |* 10 |         TABLE ACCESS BY INDEX ROWID| XYZ_SUMMARY      |     1 |    19 |     2   (0)| 00:00:01 |
    |* 11 |          INDEX UNIQUE SCAN         | SB11_DSMM_XYZ_UK |     1 |       |     1   (0)| 00:00:01 |
    |* 12 |        TABLE ACCESS BY INDEX ROWID | XYZ              |     1 |    54 |     2   (0)| 00:00:01 |
    |* 13 |         INDEX UNIQUE SCAN          | XYZ_PK           |     1 |       |     1   (0)| 00:00:01 |
    |* 14 |       INDEX RANGE SCAN             | DNTI_NI1         |    32M|   249M|     2   (0)| 00:00:01 |
    |  15 |      TABLE ACCESS BY INDEX ROWID   | XYZ_PNR_ERS      |     1 |    15 |     4   (0)| 00:00:01 |
    |* 16 |       INDEX RANGE SCAN             | DNPE_XYZ         |     1 |       |     2   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
      1 - filter("DISTRIB_CODE"='NS' AND "TIME_OPERATION">TO_DATE(' 2013-05-20', 'syyyy-mm-dd'))
      2 - filter(ROWNUM<1002)
      8 - filter("DI"."OPERATION"='CREATE')
    10 - filter("DSUM"."DELIVERY_MODE"<>'DD' AND "DSUM"."PAYMENT_METHOD"<>'AC' AND "DSUM"."PAYMENT_METHOD"<>'AG')
    11 - access("DSUM"."XYZ_ID"="DI"."XYZ_ID")
    12 - filter("D"."PAYED"='N' AND "D"."XYZ_BLOCKED" IS NULL AND "D"."CANCEL_STATE"='N')
                  ^^^^^^^^^^^^^^
    13 - access("DI"."XYZ_ID"="D"."XYZ_ID")
    14 - access("DT"."XYZ_ID"="D"."XYZ_ID")
    16 - access("DPE"."XYZ_ID"(+)="D"."XYZ_ID")
    plan with "d.payed = 'N'" (+/- 450 rows, less than two minutes):
    | Id  | Operation                          | Name             | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT                   |                  |  1001 |  4166K| 58604   (1)| 00:04:27 |
    |*  1 |  VIEW                              |                  |  1001 |  4166K| 58604   (1)| 00:04:27 |
    |*  2 |   COUNT STOPKEY                    |                  |       |       |            |          |
    |   3 |    VIEW                            |                  |  1002 |  4170K| 58604   (1)| 00:04:27 |
    |   4 |     NESTED LOOPS OUTER             |                  |  1002 |   130K| 58604   (1)| 00:04:27 |
    |   5 |      NESTED LOOPS SEMI             |                  |  1002 |   115K| 55911   (1)| 00:04:14 |
    |   6 |       NESTED LOOPS                 |                  |  1476 |   158K| 52952   (1)| 00:04:01 |
    |   7 |        NESTED LOOPS                |                  |  1476 | 82656 | 49992   (1)| 00:03:48 |
    |*  8 |         TABLE ACCESS BY INDEX ROWID| XYZ_INFO         |    19M|   704M| 43948   (1)| 00:03:20 |
    |   9 |          INDEX FULL SCAN DESCENDING| DNIN_IDX_NI5     | 56244 |       |   449   (1)| 00:00:03 |
    |* 10 |         TABLE ACCESS BY INDEX ROWID| XYZ_SUMMARY      |     1 |    19 |     2   (0)| 00:00:01 |
    |* 11 |          INDEX UNIQUE SCAN         | AAAA_DSMM_XYZ_UK |     1 |       |     1   (0)| 00:00:01 |
    |* 12 |        TABLE ACCESS BY INDEX ROWID | XYZ              |     1 |    54 |     2   (0)| 00:00:01 |
    |* 13 |         INDEX UNIQUE SCAN          | XYZ_PK           |     1 |       |     1   (0)| 00:00:01 |
    |* 14 |       INDEX RANGE SCAN             | DNTI_NI1         |    22M|   168M|     2   (0)| 00:00:01 |
    |  15 |      TABLE ACCESS BY INDEX ROWID   | XYZ_PNR_ERS      |     1 |    15 |     4   (0)| 00:00:01 |
    |* 16 |       INDEX RANGE SCAN             | DNPE_XYZ         |     1 |       |     2   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - filter("DISTRIB_CODE"='NS' AND "TIME_OPERATION">TO_DATE(' 2013-05-20', 'syyyy-mm-dd'))
       2 - filter(ROWNUM<1002)
       8 - filter("DI"."OPERATION"='CREATE')
      10 - filter("DSUM"."DELIVERY_MODE"<>'DD' AND "DSUM"."PAYMENT_METHOD"<>'AC' AND "DSUM"."PAYMENT_METHOD"<>'AG')
      11 - access("DSUM"."XYZ_ID"="DI"."XYZ_ID")
      12 - filter("D"."XYZ_BLOCKED" IS NULL AND "D"."CANCEL_STATE"='N')
      13 - access("DI"."XYZ_ID"="D"."XYZ_ID")
      14 - access("DT"."XYZ_ID"="D"."XYZ_ID")
      16 - access("DPE"."XYZ_ID"(+)="D"."XYZ_ID")
    XYZ.PAYED values breakdown:
    P   COUNT(1)
    Y   12202716
    N    9430207
    tables nb of records:
    TABLE_NAME           NUM_ROWS
    XYZ                  21606776
    XYZ_INFO            186301951
    XYZ_PNR_ERS           9716471
    XYZ_SUMMARY          21616607
    Everything that comes inside the "select * from(...) view" parentheses is defined in a view. We've noticed that the line "AND d.payed = 'N'" (commented above) is the guilty clause: the query takes one or two seconds to return between 400 and 500 rows if this line is removed, when included in the query, the response time then switches to *hours* -sic !- but then the result set is empty (no rows returned). The plan is exactly the same whether this "d.payed = 'N'" is added or removed, I mean the nb of steps, access paths, join order etc., only the rows/bytes/cost columns values change, as you can see.
    We've found no other way of solving this perf issue but by taking out this "d.payed = 'N'" condition and setting it outside the view along with view.DISTRIB_CODE and view.TIME_OPERATION.
    But we would like to understand why such a small change on the XYZ.PAYED column turns everything upside down that much, and we'd like to be able to tell the optimizer to perform this check on payed = 'N' by itself in the end, just like we did, through the use of a hint if possible...
    Anybody ever encountered such a behaviour before ? Do you have any advice regarding the use of a hint to reach the same response time as that we've got by setting the payed = N condition outside of the view definition ??
    Thanks a lot in advance.
    Regards,
    Seb

    I am really sorry I couldn't get back earlier to this forum...
    Thanks to you all for your answers.
    First I'd just like to correct a small mistake I made, when writing
    "the query takes one or two seconds": I meant one or 2 *minutes*. Sorry.
    > What table/columns are indexed by "DNTI_NI1"?
    aaaa.dnti_ni1 is an index ON aaaa.xyz_ticket(xyz_id, ticket_status)
    > And what are the indexes on xyz table?
    Too many:
    XYZ_ARCHIV_STATE_IND           ARCHIVE_STATE
    XYZ_BENE_CUST_ID_IND           BENE_CUST_ID
    XYZ_BENE_TTL_IND               BENE_TTL
    XYZ_CANCEL_STATE_IND           CANCEL_STATE
    XYZ_CLIENT_APP_NI              CLIENT_APP
    XYZ_CRM_CUST_ID_IND            CRM_CUST_ID
    XYZ_DELIVE_MODE_IND            DELIVERY_MODE
    XYZ_DELIV_BLOCK_IND            DELIVERY_BLOCKED
    XYZ_DELIV_STATE_IND            DELIVERY_STATE
    XYZ_XYZ_BLOCKED                XYZ_BLOCKED
    XYZ_FIRST_TRAVELDATE_IND       FIRST_TRAVELDATE
    XYZ_MASTER_XYZ_IND             MASTER_XYZ_ID
    XYZ_ORG_ID_NI                  ORG_ID
    XYZ_PAYMT_STATE_IND            PAYMENT_STATE
    XYZ_PK                         XYZ_ID
    XYZ_TO_PO_IDX                  TO_PO
    XYZ_UK                         XYZ_NUM
    For ex. XYZ_CANCEL_STATE_IND on CANCEL_STATE seems superfluous to me, as the column may only contain Y or N (or be null)...
    > Have you traced both cases to compare statistics? What differences did it reveal?
    Yes but it only shows more of *everything* (more tables blocks accessed, the same
    for indexes blocks, for almost all objects involved) for the slowest query !
    Greping WAIT on the two trc files made for every statement and counting the
    object IDs access show that the quicker query requires much less I/Os; the
    slowest one overall needs much more blocks to be read (except for the indexes
    DNSG_NI1 or DNPE_XYZ for example). Below I replaced obj# with the table/index
    name, the first column is the figure showing how many times the object was
    accessed in the 10053 file (I ctrl-C'ed my second execution ofr course, the
    figures should be much higher !!):
    [login.hostname] ? grep WAIT OM-quick.trc|...|sort|uniq -c
        335 XYZ_SUMMARY
      20816 AAAA_DSMM_XYZ_UK (index on xyz_summary.xyz_id)
        192 XYZ
       4804 XYZ_INFO
        246 XYZ_SEGMENT
          6 XYZ_REMARKS
         63 XYZ_PNR_ERS
        719 XYZ_PK           (index on xyz.xyz_id)
       2182 DNIN_IDX_NI5     (index on xyz.xyz_id)
        877 DNSG_NI1         (index on xyz_segment.xyz_id, segment_status)
        980 DNTI_NI1         (index on xyz_ticket.xyz_id, ticket_status)
        850 DNPE_XYZ         (index on xyz_pnr_ers.xyz_id)
    [login.hostname] ? grep WAIT OM-slow.trc|...|sort|uniq -c
       1733 XYZ_SUMMARY
      38225 AAAA_DSMM_XYZ_UK  (index on xyz_summary.xyz_id)
       4359 XYZ
      12536 XYZ_INFO
         65 XYZ_SEGMENT
         17 XYZ_REMARKS
         20 XYZ_PNR_ERS
       8598 XYZ_PK
       7406 DNIN_IDX_NI5
         29 DNSG_NI1
       2475 DNTI_NI1
         27 DNPE_XYZ
    The overwhelmingly dominant wait event is by far 'db file sequential read':
    [login.hostname] ? grep WAIT OM-*elect.txt|cut -d"'" -f2|sort |uniq -c
         36 SQL*Net message from client
         38 SQL*Net message to client
    107647 db file sequential read
          1 latch free
          1 latch: object queue header operation
          3 latch: session allocation
    > It will be worth knowing the estimations...
    It show the same plan with a higher cost when PAYED = N is added:
    SQL> select * from sb11.dnr d
      2* where d.dnr_blocked IS NULL and d.cancel_state = 'N'
    SQL> /
    | Id  | Operation                   | Name                 | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT            |                      |  1002 |   166K|    40   (3)| 00:00:01 |
    |*  1 |  TABLE ACCESS BY INDEX ROWID| XYZ                  |  1002 |   166K|    40   (3)| 00:00:01 |
    |*  2 |   INDEX RANGE SCAN          | XYZ_CANCEL_STATE_IND |       |       |     8   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - filter("D"."XYZ_BLOCKED" IS NULL)
       2 - access("D"."CANCEL_STATE"='N')
    SQL> select * from sb11.dnr d
      2  where d.dnr_blocked IS NULL and d.cancel_state = 'N'
      3* and d.payed = 'N'
    SQL> /
    Execution Plan
    Plan hash value: 1292668880
    | Id  | Operation                   | Name                 | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT            |                      |  1001 |   166K|    89   (3)| 00:00:01 |
    |*  1 |  TABLE ACCESS BY INDEX ROWID| XYZ                  |  1001 |   166K|    89   (3)| 00:00:01 |
    |*  2 |   INDEX RANGE SCAN          | XYZ_CANCEL_STATE_IND |       |       |    15   (0)| 00:00:01 |

  • Tnsping, high response time

    Hi,
    i've a cluster 11gr2 that start a virtual ip used for a listener.
    tnsping response time is very high:
    Attempting to contact (DESCRIPTION= (ADDRESS= (PROTOCOL=TCP) (HOST=10.2.213.4)
    (PORT=1521)) (CONNECT_DATA= (SID=ORCL)))
    OK (1680 msec)My db (9i r2) show me some wait time like this:
    SQL*Net message from dblink                         6,827         249     6.12
    SQL*Net more data to client                       156,071          61     1.50I think that is a network problem but i don't know where can i look for.
    tnx

    Here is a tnsping with cycle:
    OK (0 msec)
    OK (0 msec)
    OK (0 msec)
    OK (0 msec)
    OK (0 msec)
    OK (10 msec)
    OK (300 msec)
    OK (870 msec)
    OK (1200 msec)
    OK (1300 msec)
    OK (400 msec)
    OK (320 msec)
    OK (10 msec)
    OK (0 msec)
    OK (0 msec)
    OK (0 msec)
    OK (0 msec)
    OK (0 msec)
    OK (20 msec)
    OK (0 msec)
    OK (0 msec)on another vip listener on the same machine on the same interface i haven't this problem:
    OK (0 msec)
    OK (0 msec)
    OK (10 msec)
    OK (0 msec)
    OK (0 msec)
    OK (0 msec)
    OK (0 msec)
    OK (0 msec)
    OK (20 msec)
    OK (0 msec)
    OK (0 msec)
    OK (0 msec)
    OK (0 msec)
    OK (0 msec)
    OK (0 msec)
    OK (20 msec)

  • Slow response time for radio buttons on Internet Explorer 7

    Hi,
    We're using ADF 11.1.1.4 on weblogic 10.3.4 on a Solaris 10 (sparc) platform. The architecture also uses OHS and Webcache 11.1.1.4.
    One of our applications has a webpage that is composed of several tabs, inside each tab we have some questions with radio buttons. When a client responds all questions on the first tab it moves to the second, where the application loads the necessary questions, based on the answers provided on the first tab. Once the client finishes answering this tab it moves to the third one and so on.
    The problem appears once the tabs are loaded. Each time the client clicks one of the radio buttons, Internet Explorer takes between 3 to 5 seconds to return control, and considering that a client might need to click dozens of radio buttons to complete a process, it becomes a very exhausting task. It's worth noting that the session information is persisted for each radio button, when we move between tabs all answers are kept even if we didn't saved the progress.
    On the other side, if we use Google Chrome 16, we find that the webpage returns control to the user almost inmediately, when clicking the radio buttons the response time is usually at 1 second or less.
    We've checked that the app server is not stressed, heap memory is nowhere near the maximum assigned and the used processor % is very low, so it does not seems to be a resource problem.
    Is there any known issue with ADF 11.1.1.4 and IE7/8 that affects the browser's response time? Are there any guidelines or recommendations regarding how to make the radio button component work properly? Has anybody noticed this behavior in adf?
    Thanks.

    I think that the most accurate description of the problem is that the autosubmit action of the radio button takes considerably longer in IE7 than in Chrome.

  • Response time https/http using CSM+SSL versus CSM

    Im using C6K and CSM for load balancing and an SSL module for https termination. That means clients can access the serverfarm through https/http and compare response time values.
    What should be the expected delay generated from SSL(https) compared to cleartext(http) ?
    My customers are complaining about to much delay...
    Thanks in advance for your answer.
    Volker

    it's difficult to answer.
    There will be an initial delay required to establish the ssl session, then for each packet there will be additional delay to encrypt/decrypt the packet.
    It also depends on load.
    An CSM can handle lot of traffic but not an SSLM.
    So, if you see something wrong in a sniffer trace like packet drops, retransmits, huge delays per packet [like 300ms], then we need to investigate what is going on.
    Otherwise, this would be normal.
    Regards,
    Gilles.

  • PRVF-5636 : The DNS response time for an unreachable node exceeded "15000"

    Friends,
    OS: OEL 6.3 64 bit
    DB: 11.2.0.3
    Environment: VirtualBox 4.1.20
    i have 3 nodes. one is for dns and other two for rac1 and rac2
    i have done all the preliminary steps. then i started
    [oracle@rac1 grid]$ ./runcluvfy.sh stage -pre crsinst -n rac1,rac2 -verboseand all are passed except the above subjected error.
    Checking DNS response time for an unreachable node
      Node Name                             Status                 
      rac2                                  failed                 
      rac1                                  failed                 
    PRVF-5636 : The DNS response time for an unreachable node exceeded "15000" ms on following nodes: rac2
    File "/etc/resolv.conf" is not consistent across nodesok....now to solve this error...i tried many options...but not able to succeed.
    Try 1:
    [root@mydns ~]# time nslookup rac1
    Server:         192.168.1.2
    Address:        192.168.1.2#53
    Name:   rac1.sathy.net
    Address: 192.168.1.3
    real    0m0.051s
    user    0m0.003s
    sys     0m0.011s
    [root@mydns ~]# [oracle@rac1 grid]$ time nslookup mydns
    Server:         192.168.1.2
    Address:        192.168.1.2#53
    Name:   mydns.sathy.net
    Address: 192.168.1.2
    real    0m0.019s
    user    0m0.005s
    sys     0m0.008s
    [oracle@rac1 grid]$
    [root@rac2 ~]# time nslookup rac1
    Server:         192.168.1.2
    Address:        192.168.1.2#53
    Name:   rac1.sathy.net
    Address: 192.168.1.3
    real    0m0.019s
    user    0m0.008s
    sys     0m0.005s
    [root@rac2 ~]# Try 2:
    [root@mydns ~]# nslookup sathy-scan
    Server:         192.168.1.2
    Address:        192.168.1.2#53
    Name:   sathy-scan.sathy.net
    Address: 192.168.1.8
    Name:   sathy-scan.sathy.net
    Address: 192.168.1.9
    Name:   sathy-scan.sathy.net
    Address: 192.168.1.7
    [root@mydns ~]# nslookup rac1
    Server:         192.168.1.2
    Address:        192.168.1.2#53
    Name:   rac1.sathy.net
    Address: 192.168.1.3
    [root@mydns ~]# nslookup rac2
    Server:         192.168.1.2
    Address:        192.168.1.2#53
    Name:   rac2.sathy.net
    Address: 192.168.1.5
    [root@mydns ~]#
    [oracle@rac1 grid]$ nslookup sathy-scan
    Server:         192.168.1.2
    Address:        192.168.1.2#53
    Name:   sathy-scan.sathy.net
    Address: 192.168.1.9
    Name:   sathy-scan.sathy.net
    Address: 192.168.1.7
    Name:   sathy-scan.sathy.net
    Address: 192.168.1.8
    [oracle@rac1 grid]$ nslookup rac2
    Server:         192.168.1.2
    Address:        192.168.1.2#53
    Name:   rac2.sathy.net
    Address: 192.168.1.5
    [oracle@rac1 grid]$ nslookup rac1
    Server:         192.168.1.2
    Address:        192.168.1.2#53
    Name:   rac1.sathy.net
    Address: 192.168.1.3
    [oracle@rac1 grid]$
    [root@rac2 ~]# nslookup sathy-scan
    Server:         192.168.1.2
    Address:        192.168.1.2#53
    Name:   sathy-scan.sathy.net
    Address: 192.168.1.7
    Name:   sathy-scan.sathy.net
    Address: 192.168.1.8
    Name:   sathy-scan.sathy.net
    Address: 192.168.1.9
    [root@rac2 ~]# nslookup rac1
    Server:         192.168.1.2
    Address:        192.168.1.2#53
    Name:   rac1.sathy.net
    Address: 192.168.1.3
    [root@rac2 ~]# nslookup rac2
    Server:         192.168.1.2
    Address:        192.168.1.2#53
    Name:   rac2.sathy.net
    Address: 192.168.1.5
    [root@rac2 ~]# Try 3:
    [root@mydns ~]# cat /etc/named.conf
    // Default named.conf generated by install of bind-9.2.4-30.el4_7.2
    options {
            listen-on port 53 { any; };
            directory "/var/named";
            dump-file "/var/named/data/cache_dump.db";
            statistics-file "/var/named/data/named_stats.txt";
            forwarders { 192.168.1.1; };
    include "/etc/rndc.key";
    zone "sathy.net" IN {
    type master;
    file "sathy.net.zone";
    allow-update { none; };
    zone "1.168.192.in-addr.arpa." IN {
    type master;
    file "1.168.192.in-addr.arpa";
    allow-update { none; };
    zone "." in {
    type hint;
    file "/dev/null";
    [root@mydns ~]# Try 4:
    [root@mydns ~]# cat /etc/selinux/config
    # This file controls the state of SELinux on the system.
    # SELINUX= can take one of these three values:
    #     enforcing - SELinux security policy is enforced.
    #     permissive - SELinux prints warnings instead of enforcing.
    #     disabled - No SELinux policy is loaded.
    SELINUX=disabled
    # SELINUXTYPE= can take one of these two values:
    #     targeted - Targeted processes are protected,
    #     mls - Multi Level Security protection.
    #SELINUXTYPE=targeted
    [root@mydns ~]#
    [oracle@rac1 grid]$ cat /etc/selinux/config
    # This file controls the state of SELinux on the system.
    # SELINUX= can take one of these three values:
    #     enforcing - SELinux security policy is enforced.
    #     permissive - SELinux prints warnings instead of enforcing.
    #     disabled - No SELinux policy is loaded.
    SELINUX=disabled
    # SELINUXTYPE= can take one of these two values:
    #     targeted - Targeted processes are protected,
    #     mls - Multi Level Security protection.
    #SELINUXTYPE=targeted
    [oracle@rac1 grid]$
    [root@rac2 ~]# cat /etc/selinux/config
    # This file controls the state of SELinux on the system.
    # SELINUX= can take one of these three values:
    #     enforcing - SELinux security policy is enforced.
    #     permissive - SELinux prints warnings instead of enforcing.
    #     disabled - No SELinux policy is loaded.
    SELINUX=disabled
    # SELINUXTYPE= can take one of these two values:
    #     targeted - Targeted processes are protected,
    #     mls - Multi Level Security protection.
    #SELINUXTYPE=targeted
    [root@rac2 ~]# what else i have to check to solve this error?
    for the past 2 days..i am trying to solve this error. may be somewhere a small mistake is happened from my side, but i am not able to find out.
    hope somebody will find out and help me.
    thanks

    ok...here it is....
    [root@mydns ~]# cat /etc/resolv.conf
    # Generated by NetworkManager
    search sathy.net
    nameserver 192.168.1.2
    [root@mydns ~]#
    [root@rac1 ~]# cat /etc/resolv.conf
    # Generated by NetworkManager
    search sathy.net
    nameserver 192.168.1.2
    [root@rac1 ~]#
    [root@rac2 ~]# cat /etc/resolv.conf
    # Generated by NetworkManager
    search sathy.net
    nameserver 192.168.1.2
    [root@rac2 ~]#
    [root@mydns ~]# cat /etc/hosts
    #127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
    #::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
    127.0.0.1               localhost.localdomain localhost
    ::1            localhost6.localdomain6 localhost6
    # Public Network – (eth0)
    192.168.1.3     rac1.sathy.net    rac1
    192.168.1.5     rac2.sathy.net    rac2
    # Public Virtual IP (VIP) addresses – (eth0:1)
    192.168.1.4     rac1-vip.sathy.net rac1-vip
    192.168.1.6     rac2-vip.sathy.net rac2-vip
    # Private Interconnect – (eth1)
    192.168.2.3      rac1-priv.sathy.net       rac1-priv
    192.168.2.5      rac2-priv.sathy.net       rac2-priv
    #Compute Node Client Access SCAN Interface details
    #192.168.1.7   sathy-scan.sathy.net  sathy-scan
    #192.168.1.8   sathy-scan.sathy.net  sathy-scan
    #192.168.1.9   sathy-scan.sathy.net  sathy-scan
    [root@mydns ~]#
    [root@rac1 ~]# cat /etc/hosts
    #127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
    #::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
    127.0.0.1               localhost.localdomain localhost
    ::1            localhost6.localdomain6 localhost6
    # Public Network – (eth0)
    192.168.1.3     rac1.sathy.net    rac1
    192.168.1.5     rac2.sathy.net    rac2
    # Public Virtual IP (VIP) addresses – (eth0:1)
    192.168.1.4     rac1-vip.sathy.net rac1-vip
    192.168.1.6     rac2-vip.sathy.net rac2-vip
    # Private Interconnect – (eth1)
    192.168.2.3      rac1-priv.sathy.net       rac1-priv
    192.168.2.5      rac2-priv.sathy.net       rac2-priv
    #Compute Node Client Access SCAN Interface details
    #192.168.1.7   sathy-scan.sathy.net  sathy-scan
    #192.168.1.8   sathy-scan.sathy.net  sathy-scan
    #192.168.1.9   sathy-scan.sathy.net  sathy-scan
    [root@rac1 ~]#
    [root@rac2 ~]# cat /etc/hosts
    #127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
    #::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
    127.0.0.1               localhost.localdomain localhost
    ::1            localhost6.localdomain6 localhost6
    # Public Network – (eth0)
    192.168.1.3     rac1.sathy.net    rac1
    192.168.1.5     rac2.sathy.net    rac2
    # Public Virtual IP (VIP) addresses – (eth0:1)
    192.168.1.4     rac1-vip.sathy.net rac1-vip
    192.168.1.6     rac2-vip.sathy.net rac2-vip
    # Private Interconnect – (eth1)
    192.168.2.3      rac1-priv.sathy.net       rac1-priv
    192.168.2.5      rac2-priv.sathy.net       rac2-priv
    #Compute Node Client Access SCAN Interface details
    #192.168.1.7   sathy-scan.sathy.net  sathy-scan
    #192.168.1.8   sathy-scan.sathy.net  sathy-scan
    #192.168.1.9   sathy-scan.sathy.net  sathy-scan
    [root@rac2 ~]#
    [oracle@rac1 ~]$ ssh rac2 date
    Sun Sep  9 22:04:45 IST 2012
    [oracle@rac1 ~]$ su - grid
    Password:
    [grid@rac1 ~]$ ssh rac2 date
    Sun Sep  9 22:04:54 IST 2012
    [grid@rac1 ~]$
    [oracle@rac2 ~]$ ssh rac1 date
    Sun Sep  9 22:04:18 IST 2012
    [oracle@rac2 ~]$ su - grid
    Password:
    [grid@rac2 ~]$ ssh rac1 date
    Sun Sep  9 22:04:31 IST 2012
    [grid@rac2 ~]$ Now the error is ...
    PRVF-5637 : DNS response time could not be checked on following nodes: rac2,rac1what else?
    i wonder how it was successful in my previous installation which in oel 5.7....
    Edited by: OraDB on Sep 9, 2012 9:44 AM

  • Response time of form

    I developed a form with triggers like key-up,key-down, post-query, on-lock in three blocks. It works fine in client server environment but when I run the form from the web server it slows down and a job that it has to do on one click of a button actually does when clicked three times.
    In master detail blocks which are both in tabular form I have placed an additional field which works as a current record indicator and when I scroll through the records the current record indicator lacks behind.
    I even have removed most of the triggers but still the response time is very very poor.
    I am using form server with Appachi web server.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Ahmar Mirza ([email protected]):
    I developed a form with triggers like key-up,key-down, post-query, on-lock in three blocks. It works fine in client server environment but when I run the form from the web server it slows down and a job that it has to do on one click of a button actually does when clicked three times.
    In master detail blocks which are both in tabular form I have placed an additional field which works as a current record indicator and when I scroll through the records the current record indicator lacks behind.
    I even have removed most of the triggers but still the response time is very very poor.
    I am using form server with Appachi web server.
    <HR></BLOCKQUOTE>
    null

Maybe you are looking for

  • Inventory Non cumulative values are not showing correct result

    Hi Guys, I have created a report on Inventory cube taking material in rows and 0T0TALSTCK and 0VALSTCKVAL in colums and i created a variable on calender day . What ever the date if we give we will get the quantity and value as on that date. Here Quan

  • HELP!!!!!! - How to write into a file?

    How to write into a file? I want to make a script that will connect(not enter) to my website[for example, www.vasa.com] every time i connect to the internet. Now i have 3 problems: 1. i dont know how to write into a file 2. i dont know how to make it

  • Error in WCF-Custom adapter (sqlbinding)

    There is a stored procedure tempdbo.dbo.InsertArTrxTyp.  I used the Add Generated Items wizard to create the schema and binding file for the stored procedure.  Import the binding file and get a send port, type WCF-Custom, with sqlbinding.  When the p

  • ActiveX control is not working with windows NT

    I've have a stand alone application which uses an activeX control.  The application was compiled using Labview 7.1 on a Windows XP machine.  The application will run without any problems on Windows XP and Windows 2000, however the activeX control wil

  • Reader 10.1.7 Windows xp,  can't access at all just get message the patch package not recognised

    Reader 10.1.7 with windows xp,  can't access at all,  or remove ,  just get message that patch package not recognised. Or else Runtime error  Help please