Jdbc response time

one of the java developers have been complaining about slow response times when running a query. I ran the query in sqlplus and the response time was around .05 millaseconds so i dont think the table and indexes are set up wrong. Listed below is the code that he is using. Any help on this would greatly be appreciated. He is saying that the rs=ps.executeQuery() is where he is getting the slow response times.
static class OracleStatements {
public static final String SELECT_STATUS_UPDATES =
"SELECT LX01, AT701, AT702, AT703, AT704, AT705, AT706, MS101, MS102, PICK_OR_DELIVERY, WAREHOUSE_ID, MS101_CITY, " +
"AT705APPT, AT706APPT, AT707APPT, MS101APPT, MS102APPT, MS101APPT_CITY FROM VFT.STATUS_UPDATES " +
"WHERE RECORD_KEY = ? AND PICK_OR_DELIVERY = ?";
public void initOracleStatements() {
Connection connectToOracle() throws Exception {
Connection con = NetworkController.getConnection().oracon;
return con;
public void getOracleData(boolean lockit) {
puEdiDM.clearData();
delEdiDM.clearData();
PreparedStatement ps = null;
try {
Connection con = connectToOracle();
ps = con.prepareStatement(OracleStatements.SELECT_STATUS_UPDATES);
ResultSet rs = null;
try {
ps.setString(1, dataModel.getData().getRecordKey());
ps.setString(2, "P");
rs = ps.executeQuery();

Hi,
Have you executed this Query on same Database?
I've already passed by a problem like this and the problem was Database statistic not updated in a Database Server.
Run Explain Plain of this query.
Best Regards,
one of the java developers have been complaining
about slow response times when running a query. I ran
the query in sqlplus and the response time was around
.05 millaseconds so i dont think the table and
indexes are set up wrong. Listed below is the code
that he is using. Any help on this would greatly be
appreciated. He is saying that the
rs=ps.executeQuery() is where he is getting the slow
response times.
static class OracleStatements {
public static final String
l String SELECT_STATUS_UPDATES =
"SELECT LX01, AT701, AT702, AT703,
1, AT702, AT703, AT704, AT705, AT706, MS101, MS102,
PICK_OR_DELIVERY, WAREHOUSE_ID, MS101_CITY, " +
"AT705APPT, AT706APPT, AT707APPT,
APPT, AT707APPT, MS101APPT, MS102APPT, MS101APPT_CITY
FROM VFT.STATUS_UPDATES " +
"WHERE RECORD_KEY = ? AND
CORD_KEY = ? AND PICK_OR_DELIVERY = ?";
public void initOracleStatements() {
Connection connectToOracle() throws Exception {
Connection con =
on con = NetworkController.getConnection().oracon;
return con;
public void getOracleData(boolean lockit) {
puEdiDM.clearData();
delEdiDM.clearData();
PreparedStatement ps = null;
try {
Connection con = connectToOracle();
ps =
ps =
ps =
=
con.prepareStatement(OracleStatements.SELECT_STATUS_UP
DATES);
ResultSet rs = null;
try {
ps.setString(1,
ps.setString(1, dataModel.getData().getRecordKey());
ps.setString(2, "P");
rs = ps.executeQuery();

Similar Messages

  • JDBC Interaction response time difference in j2sdk1.4 and jdk1.3

    Hi All
    I am working on performance issues regarding response time . i have upgraded my system from jdk1.3 to j2sdk1.4 . I was expecting the performance gain in terms of response time in j2sdk1.4. but to my surprise it shows varied results with my application. it shows that j2sdk1.4 is taking higher time for executing the application when it has to deal with database. I am using oracle 9i as the backend database server.
    if any body has the idea about, why j2sdk1.4 is showing higher responce time while interacting with database as compare to jdk1.3. then do let me know this.
    Thanx in advance

    You may use the latest jdbc driver - http://www.oracle.com/technology/tech/java/sqlj_jdbc/index.html
    And check the documentation for the new features and changes between jdbc drivers from JDBC Developer's Guide and Reference - http://download.oracle.com/docs/cd/B19306_01/java.102/b14355/toc.htm
    Best regards.

  • 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.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • High Response Times with 50 content items in a Publisher 6.5 portlet

    Folks,
    Have set up a load test, running with a single user, in which new News Article content items are inserted into a Publisher 6.5 portlet created of the News Portlet template. Inserts have good response times through 25 or so content items in the portlet. Then response times become linearly longer, until it takes ten minutes to insert a content item, when there are 160 content items already.
    This is a test system that is experiencing no other problems. There are no other users on the system, only the single test user in LoadRunner, inserting one content item at a time. The actual size of the content item is tiny. Memory usage in the Publisher JVM (as seein on the Diagnostics page) does not vary from 87% used with 13% free. So I asked for a DB Trace, to determine if there were long-running queries. I can provide this on request, it zips to less than 700k.
    Have seldom seen this kind of linear scalability!
    Looked at the trace through SQL Server Profiler. There are several items running for more than one second, the Audit Logout EventClass repeatedly occurs with long durations (ten minutes and more). The users are publisher user, workflow user, an NT user and one DatabaseMail transaction taking 286173 ms.
    In most cases there is no TextData, and the ApplicationName is i-net opta 2000 (which looks like a JDBC driver) in the longest-running cases.
    Nevertheless, for the short running queries, there are many (hundreds) of calls to exec sp_execute and IF @@TRANCOUNT > 0 ROLLBACK TRAN. This is most of what fills the log. This is strange because only a few records were actually inserted successfully, during the course of the test. I see numerous calls to sp_prepexec related to the main table in question, PCSCONTENTITEMS, but very short duration (no apparent problems) on the execution of the stored procedures. Completed usually within 20ms.
    I am unble to tell if a session has an active request but is being blocked, or is blocking others... can anyone with SQL Server DBA knowledge help me interpret these results?
    Thanks !!!
    Robert

    hmmm....is this the ootb news portlet? does it keep all content items in one publisher folder? if so then it is probably trying to re-publish that entire folder for every content item and choking on multiple republish executes. i dont think that ootb portlet was meant to cover a use case of multiple content item inserts so quickly. by definition newsworth stuff should not happen to need bulk inserts. is there another way to insert all of the items using publisher admin and then do one publish for all?
    i know in past migration efforts when i've written utilities to migrate from legacy to publisher the inserts and saves for each item took a couple of seconds each. the publishing was done at the end and took quite a long time.

  • ImprovingSync messge response time?

    Hi all,
              I have a sync scenario (RFC to JDBC) wherein the response time for the round about call is around 1.3 seconds... The JDBCsystem takes about 0.1 second to respond... so the Xi is taking the remain 1.3 seconds...
    Is the the best that can be expected? Is there something that can be done to improve the response time?
    I am on Xi 3.0 SP20 and the mapping just one to one..no additional functions and about 15 fields in all..
    I have already switched the trace level to 0 and logging is also at zero..
    Arvind

    your response time does look fine
    now about improving the response time, there are a number of factors like available server resources at the point of time message execution, your server sizing, network connection etc

  • Slow response times

    This last weekend, we migrated off of our old server 2003 cf7mx server, to a new Server 2008r2 x64 CF 9,0,1,274733 server.  We are now experiencing slow response times for our server,according to the Windows Performance monitor our Avg Request times are way up. I have been going through some logs but nothing seems to leap out at me, but i am not the best CF admin.  As i dont know what information would be usefull, i have tried to give all the info. 
    Here is our coldfusion-event log:
    08/14 16:22:58 user JSPServlet: init
    08/14 16:23:00 user ColdFusionStartUpServlet: init
    08/14 16:23:00 user ColdFusionStartUpServlet: ColdFusion: Starting application services
    08/14 16:23:00 user ColdFusionStartUpServlet: ColdFusion: VM version = 14.3-b01
    08/14 16:23:08 user ColdFusionStartUpServlet: ColdFusion: application services are now available
    08/14 16:23:08 user CFMxmlServlet: init
    08/14 16:23:08 user CFMxmlServlet: Macromedia Flex Build: 87315.134646
    08/14 16:23:10 user CFSwfServlet: init
    08/14 16:23:10 user CFCServlet: init
    08/14 16:23:12 user FlashGateway: init
    08/14 16:23:12 user MessageBrokerServlet: init
    08/14 16:23:13 user CFFormGateway: init
    08/14 16:23:13 user CFInternalServlet: init
    08/14 16:23:13 user WSRPProducer: init
    08/14 16:23:13 user ServerCFCServlet: init
    08/15 08:13:09 user GraphServlet: init
    08/15 10:25:45 user CFInternalServlet: destroy
    08/15 10:25:50 user FlashGateway: destroy
    08/15 10:25:50 user WSRPProducer: destroy
    08/15 10:25:50 user CFCServlet: destroy
    08/15 10:25:50 user GraphServlet: destroy
    08/15 10:25:50 user CFMxmlServlet: destroy
    08/15 10:25:50 user CFFormGateway: destroy
    08/15 10:25:50 user CFSwfServlet: destroy
    08/15 10:26:50 info No JDBC data sources have been configured for this server (see jrun-resources.xml)
    08/15 10:26:50 info JRun Proxy Server listening on *:51800
    08/15 10:26:50 info Deploying enterprise application "Adobe_ColdFusion_9" from: file:/C:/ColdFusion9/
    08/15 10:26:51 info Deploying web application "Adobe ColdFusion 9" from: file:/C:/ColdFusion9/
    08/15 10:26:52 user JSPServlet: init
    08/15 10:26:53 user ColdFusionStartUpServlet: init
    08/15 10:26:53 user ColdFusionStartUpServlet: ColdFusion: Starting application services
    08/15 10:26:53 user ColdFusionStartUpServlet: ColdFusion: VM version = 14.3-b01
    08/15 10:26:58 user ColdFusionStartUpServlet: ColdFusion: application services are now available
    08/15 10:26:58 user CFMxmlServlet: init
    08/15 10:26:58 user CFMxmlServlet: Macromedia Flex Build: 87315.134646
    08/15 10:26:59 user CFSwfServlet: init
    08/15 10:27:00 user CFCServlet: init
    08/15 10:27:03 user FlashGateway: init
    08/15 10:27:03 user MessageBrokerServlet: init
    08/15 10:27:04 user CFFormGateway: init
    08/15 10:27:04 user CFInternalServlet: init
    08/15 10:27:04 user WSRPProducer: init
    08/15 10:27:05 user ServerCFCServlet: init
    08/15 10:36:30 user CFInternalServlet: destroy
    08/15 10:36:36 user FlashGateway: destroy
    08/15 10:36:36 user WSRPProducer: destroy
    08/15 10:36:36 user CFCServlet: destroy
    08/15 10:36:36 user CFMxmlServlet: destroy
    08/15 10:36:36 user CFFormGateway: destroy
    08/15 10:36:36 user CFSwfServlet: destroy
    08/15 10:38:35 info No JDBC data sources have been configured for this server (see jrun-resources.xml)
    08/15 10:38:35 info JRun Proxy Server listening on *:51800
    08/15 10:38:35 info Deploying enterprise application "Adobe_ColdFusion_9" from: file:/C:/ColdFusion9/
    08/15 10:38:35 info Deploying web application "Adobe ColdFusion 9" from: file:/C:/ColdFusion9/
    08/15 10:38:36 user JSPServlet: init
    08/15 10:38:37 user ColdFusionStartUpServlet: init
    08/15 10:38:37 user ColdFusionStartUpServlet: ColdFusion: Starting application services
    08/15 10:38:37 user ColdFusionStartUpServlet: ColdFusion: VM version = 14.3-b01
    08/15 10:38:41 user ColdFusionStartUpServlet: ColdFusion: application services are now available
    08/15 10:38:41 user CFMxmlServlet: init
    08/15 10:38:41 user CFMxmlServlet: Macromedia Flex Build: 87315.134646
    08/15 10:38:44 user CFSwfServlet: init
    08/15 10:38:44 user CFCServlet: init
    08/15 10:38:46 user FlashGateway: init
    08/15 10:38:46 user MessageBrokerServlet: init
    08/15 10:38:47 user CFFormGateway: init
    08/15 10:38:47 user CFInternalServlet: init
    08/15 10:38:47 user WSRPProducer: init
    Here is our cf application log:
    "Severity","ThreadID","Date","Time","Application","Message"
    "Information","jrpp-0","06/25/11","19:24:19",,"C:\ColdFusion9\logs\application.log initialized"
    "Error","jrpp-0","06/25/11","19:24:19",,"File not found: /CFIDE/main/ide.cfm The specific sequence of files included or processed is: C:\inetpub\wwwroot\CFIDE\main\ide.cfm'' "
    "Error","jrpp-1","06/25/11","22:14:06",,"File not found: /CFIDE/main/ide.cfm The specific sequence of files included or processed is: C:\inetpub\wwwroot\CFIDE\main\ide.cfm'' "
    "Error","jrpp-2","06/25/11","22:32:05",,"File not found: /CFIDE/main/ide.cfm The specific sequence of files included or processed is: C:\inetpub\wwwroot\CFIDE\main\ide.cfm'' "
    "Information","jrpp-3","06/26/11","11:45:13","CFADMIN","Invalid login for Default User"
    "Error","jrpp-0","07/06/11","15:46:07",,"File not found: /CFIDE/main/ide.cfm The specific sequence of files included or processed is: C:\inetpub\wwwroot\CFIDE\main\ide.cfm'' "
    "Error","jrpp-1","08/14/11","20:56:25","impager","Element DEPT is undefined in FORM. The specific sequence of files included or processed is: C:\inetpub\wwwroot\cf\clinical\pagers\impager\sendpage.cfm, line: 1 "
    "Error","jrpp-1","08/14/11","21:04:33",,"File not found: /CFIDE/main/ide.cfm The specific sequence of files included or processed is: C:\inetpub\wwwroot\CFIDE\main\ide.cfm'' "
    "Error","jrpp-4","08/14/11","22:04:43","impager","Element DEPT is undefined in FORM. The specific sequence of files included or processed is: C:\inetpub\wwwroot\cf\clinical\pagers\impager\sendpage.cfm, line: 1 "
    "Error","jrpp-36","08/15/11","08:50:29","TEAMS_database","Variable MYPERIOD is undefined. The specific sequence of files included or processed is: C:\inetpub\wwwroot\cf\tpep\teendata\monthly_entry.cfm, line: 220 "
    "Error","jrpp-50","08/15/11","09:12:36",,"Invalid CFML construct found on line 2 at column 25.ColdFusion was looking at the following text:<p>=</p><p>The CFML compiler was processing:<ul><li>An expression that began on line 2, column 8.<br>The expression might be missing an ending #, for example, #expr instead of #expr#.<li>A cfset tag beginning on line 2, column 2.</ul> The specific sequence of files included or processed is: C:\inetpub\wwwroot\cf\clinpub\L2\ess\page3e.cfm, line: 2 "
    "Error","jrpp-50","08/15/11","09:13:39",,"Invalid CFML construct found on line 2 at column 25.ColdFusion was looking at the following text:<p>=</p><p>The CFML compiler was processing:<ul><li>An expression that began on line 2, column 8.<br>The expression might be missing an ending #, for example, #expr instead of #expr#.<li>A cfset tag beginning on line 2, column 2.</ul> The specific sequence of files included or processed is: C:\inetpub\wwwroot\cf\clinpub\L2\ess\page3e.cfm, line: 2 "
    "Error","jrpp-50","08/15/11","09:14:17",,"Invalid CFML construct found on line 42 at column 35.ColdFusion was looking at the following text:<p>=</p><p>The CFML compiler was processing:<ul><li>An expression that began on line 42, column 8.<br>The expression might be missing an ending #, for example, #expr instead of #expr#.<li>A cfset tag beginning on line 42, column 2.</ul> The specific sequence of files included or processed is: C:\inetpub\wwwroot\cf\clinpub\L2\ess\page4a.cfm, line: 42 "
    "Error","jrpp-78","08/15/11","09:56:53","TEAMS_database","Variable MYPERIOD is undefined. The specific sequence of files included or processed is: C:\inetpub\wwwroot\cf\tpep\teendata\monthly_entry.cfm, line: 220 "
    "Error","jrpp-75","08/15/11","10:10:12","TEAMS_database","Error Executing Database Query.Timed out trying to establish connection The specific sequence of files included or processed is: C:\inetpub\wwwroot\cf\tpep\teendata\monthlyentry1a.cfm, line: 9 "
    "Error","jrpp-80","08/15/11","10:10:46","TEAMS_database","Error Executing Database Query.Timed out trying to establish connection The specific sequence of files included or processed is: C:\inetpub\wwwroot\cf\tpep\teendata\monthlyentry1a.cfm, line: 9 "
    "Error","jrpp-78","08/15/11","10:11:28","TEAMS_database","The request has exceeded the allowable time limit Tag: CFQUERY The specific sequence of files included or processed is: C:\inetpub\wwwroot\cf\tpep\teendata\monthlyentry1a.cfm, line: 124 "
    "Error","jrpp-89","08/15/11","10:13:20","TEAMS_database","The request has exceeded the allowable time limit Tag: CFQUERY The specific sequence of files included or processed is: C:\inetpub\wwwroot\cf\tpep\teendata\monthlyentry1a.cfm, line: 418 "
    "Error","jrpp-88","08/15/11","10:13:52","TEAMS_database","Error Executing Database Query.Timed out trying to establish connection The specific sequence of files included or processed is: C:\inetpub\wwwroot\cf\tpep\teendata\login.cfm, line: 77 "
    "Error","jrpp-82","08/15/11","10:14:35","TEAMS_database","The request has exceeded the allowable time limit Tag: CFQUERY The specific sequence of files included or processed is: C:\inetpub\wwwroot\cf\tpep\teendata\monthlyentry1a.cfm, line: 9 "
    "Error","jrpp-92","08/15/11","10:16:25","TEAMS_database","The request has exceeded the allowable time limit Tag: CFQUERY The specific sequence of files included or processed is: C:\inetpub\wwwroot\cf\tpep\teendata\login.cfm, line: 77 "
    "Error","jrpp-84","08/15/11","10:18:11","impager","Error Executing Database Query.Timed out trying to establish connection The specific sequence of files included or processed is: C:\inetpub\wwwroot\cf\clinical\pagers\impager\pagerlist.cfm, line: 620 "
    "Error","jrpp-89","08/15/11","10:19:37","TEAMS_database","The request has exceeded the allowable time limit Tag: CFQUERY The specific sequence of files included or processed is: C:\inetpub\wwwroot\cf\tpep\teendata\entry_2011_1.cfm, line: 233 "
    "Error","jrpp-80","08/15/11","10:22:19","TEAMS_database","Error Executing Database Query.Timed out trying to establish connection The specific sequence of files included or processed is: C:\inetpub\wwwroot\cf\tpep\teendata\entry_2011_1.cfm, line: 154 "
    "Error","jrpp-92","08/15/11","10:23:24","TEAMS_database","Error Executing Database Query.Timed out trying to establish connection The specific sequence of files included or processed is: C:\inetpub\wwwroot\cf\tpep\teendata\login.cfm, line: 84 "
    "Error","jrpp-96","08/15/11","10:24:12","TEAMS_database","The request has exceeded the allowable time limit Tag: cfoutput The specific sequence of files included or processed is: C:\inetpub\wwwroot\cf\tpep\teendata\entry_2011_2.cfm, line: 157 "
    "Error","jrpp-95","08/15/11","10:24:12","TEAMS_database","The request has exceeded the allowable time limit Tag: CFQUERY The specific sequence of files included or processed is: C:\inetpub\wwwroot\cf\tpep\teendata\entry_2011_1.cfm, line: 233 "
    "Error","jrpp-14","08/15/11","10:31:03","TEAMS_database","Error Executing Database Query.Timed out trying to establish connection The specific sequence of files included or processed is: C:\inetpub\wwwroot\cf\tpep\teendata\monthlyentry1a.cfm, line: 9 "
    "Error","jrpp-2","08/15/11","10:31:33","TEAMS_database","Error Executing Database Query.Timed out trying to establish connection The specific sequence of files included or processed is: C:\inetpub\wwwroot\cf\tpep\teendata\sow.cfm, line: 144 "
    "Error","jrpp-15","08/15/11","10:32:04","TEAMS_database","Error Executing Database Query.Timed out trying to establish connection The specific sequence of files included or processed is: C:\inetpub\wwwroot\cf\tpep\teendata\TA_entry.cfm, line: 154 "
    "Error","jrpp-1","08/15/11","10:32:15","TEAMS_database","The request has exceeded the allowable time limit Tag: CFQUERY The specific sequence of files included or processed is: C:\inetpub\wwwroot\cf\tpep\teendata\monthlyentry1a.cfm, line: 124 "
    "Error","jrpp-12","08/15/11","10:32:58","TEAMS_database","The request has exceeded the allowable time limit Tag: CFQUERY The specific sequence of files included or processed is: C:\inetpub\wwwroot\cf\tpep\teendata\sow.cfm, line: 169 "
    "Error","jrpp-10","08/15/11","10:33:21","TEAMS_database","The request has exceeded the allowable time limit Tag: CFQUERY The specific sequence of files included or processed is: C:\inetpub\wwwroot\cf\tpep\teendata\monthlyentry1a.cfm, line: 418 "
    "Error","jrpp-4","08/15/11","10:33:43","TEAMS_database","The request has exceeded the allowable time limit Tag: CFQUERY The specific sequence of files included or processed is: C:\inetpub\wwwroot\cf\tpep\teendata\entry_2011_2.cfm, line: 233 "
    Please let me know if any other data would be usefull. 

    Hi,
    I expect the error details in CF9\runtime\logs\coldfusion-out.log will like provide a clue as to problem.
    For a more long term plan I think you should do what you can to migrate the ACCESS data to SQL or some other database.
    HTH, Carl.

  • Response time & dump-allowed & disable connection pooling

    3 Questions:
    Question 1:
    Where do I find status report when I set "dump-allowed" to yes? Where does it get "dumped"? I've looked in servlet log files, such as:
    1. C:\Program Files\New Atlanta\ServletExec ISAPI\Servlet Logs\Servlet.Log
    C:\WINNT\SYSTEM32\LogFiles\W3SVC1\exyymmdd.log
    in a NewAtlanta ServletExec 4.1 for IIS/PWS 5.1 scenario AND
    2. C:\oracle\ora81\Apache\Jserv\logs\Jserv.log
    C:\oracle\ora81\Apache\Apache\logs\access_log
    in a Apache 1.3.12 with JServ 1.1 scenario (the versions that come with Oracle 8.1.7 on W2K).
    but cannot find any connection pool dump information in any of the above log files.
    Is there documentation on "dump-allowed" other than the short blurb in the XSQLConfig.xml file?
    Question 2:
    Does setting the following connection pool elements, initial & increment, in the XSQLConfig.xml file
    <initial>1</initial>
    <increment>1</increment>
    to 1 & 1 respectively, actually DISABLE connection pooling?
    When I set the timing-info element to "yes", I see about 2 to 4 second response time to any of the Insurance demos at the outset. This is probably normal to establish the first connection and to process the SQL statement. However after 60 seconds, which is the setting for the timeout-seconds element, I again see about 2 to 4 second response time. I expect a response time under 1 second because not only should the SQL statement be cached since it had previously been parsed, the initial connection should still be live.
    Thus it seems that an initial setting of 1 does not do what it's suppose to do, and that is maintain a connection pool of 1.
    I thought I had read in the XML forum that:
    <initial>1</initial>
    <increment>0</increment>
    does disable connection pooling. Not sure how and why. What does disabling connection pooling really mean anyway?
    BTW I'm using XDK 9.2.0.1.
    Question 3:
    The real reason behind questions 1 & 2. How do I track response times from end to end?
    I know about setting timing-info element to "yes" in the XSQLConfig.xml file.
    <timing-info>
    <page>yes</page>
    <action>yes</action>
    </timing-info>
    However if I want to know where a hold up is, timing-info is not enough.
    How do I turn on sql trace for the session affiliated each JDBC connection. I know about setting time_statistics= true in the init.ora file, but how do I alter session set sql_trace=true for an XSQL query action?
    I think I answered this question. See following amended claim1.xsql file for the Insurance example:
    Claim1.xsql:
    <?xml version="1.0"?>
    <page connection="demo" xmlns:xsql="urn:oracle-xsql">
    <xsql:dml><![CDATA[
    ALTER SESSION SET SQL_TRACE = true
    ]]></xsql:dml>
    <xsql:query><![CDATA[
    select value(c) as Claim from insurance_claim_view c
    where c.claimpolicy.primaryinsured.lastname = 'Astoria'
    ]]></xsql:query>
    <xsql:dml><![CDATA[
    ALTER SESSION SET SQL_TRACE = false
    ]]></xsql:dml>
    </page>
    The result of which is:
    <?xml version="1.0" ?>
    - <page xsql-timing="3485">
    <!-- 260 -->
    <xsql-status action="xsql:dml" rows="0" />
    <!-- 3195 -->
    - <ROWSET>
    - <ROW num="1">
    - <CLAIM>
    <CLAIMID>77804</CLAIMID>
    <FILED>1/1/1999 0:0:0</FILED>
    </CLAIM>
    </ROW>
    - <ROW num="2">
    - <CLAIM>
    <CLAIMID>12345</CLAIMID>
    <FILED>3/11/1998 0:0:0</FILED>
    </CLAIM>
    </ROW>
    </ROWSET>
    <!-- 10 -->
    <xsql-status action="xsql:dml" rows="0" />
    </page>
    and in the database trace file:
    select value(c) as Claim
    from insurance_claim_view c
    where c.claimpolicy.primaryinsured.lastname = 'Astoria'
    call count cpu elapsed disk query current rows
    Parse 1 0.00 0.08 0 0 0 0
    Execute 1 0.00 0.07 0 0 0 0
    Fetch 1 0.00 0.21 0 11 12 2
    total 3 0.00 0.36 0 11 12 2
    Do I use the elapsed time to understand the time spent in the db? Do I consider the other SQL statements in the trace file that seem to deal with the page request? If so, then there is an overall timed total provided.
    OVERALL TOTALS FOR ALL NON-RECURSIVE STATEMENTS
    call count cpu elapsed disk query current rows
    Parse 14 0.00 0.20 0 0 0 0
    Execute 15 0.04 1.07 0 14 0 6
    Fetch 7 0.00 0.38 0 210 12 21
    total 36 0.04 1.65 0 224 12 27
    Misses in library cache during parse: 0
    OVERALL TOTALS FOR ALL RECURSIVE STATEMENTS
    call count cpu elapsed disk query current rows
    Parse 2 0.00 0.16 0 0 0 0
    Execute 7 0.00 0.04 0 0 0 0
    Fetch 7 0.04 0.25 0 56 0 7
    total 16 0.04 0.45 0 56 0 7
    Misses in library cache during parse: 0
    So do I use overall elapsed time in db affiliated with the Claim SQL statement, which is 2.1 seconds? Is the 3.5 seconds in the XSQL timing an elapsed time, and does it include time spent (2.1 seconds) in the database?
    I guess you can see where this is going. What I really need is a recommended plan to analyze response time problems.
    Has anyone come across this respose time problem, and how did you attack the problem? Did you use timing-info and cross check with database timed statistics using tkprof? What database statistics did you use?
    How does one analyze response time even further. For example how does one track time within the web server? How does one track time within the servlet engine?
    Ideas anyone?
    Steve.
    The section of the XSQLConfig.xml file to which I refer:
    <!--
    |
    | Set the parameters controlling database connection pools.
    |
    | When used, each named connection defined can have a pool of
    | connection instances to share among requests. These values
    | control the initial number of connection instances in the pool,
    | the number that will be added/incremented when under-load the
    | pool must be grown, and the number of seconds that must
    | transpire without activity before a connection instance will be
    | dropped out of the pool to shrink it back towards its initial
    | number.
    |
    | If the "dump-allowed" element has the value "yes"
    | then a browser-based status report that dumps the
    | current state of the connection pools is enabled.
    |
    | <connection-pool>
    | <initial>2</initial>
    | <increment>1</increment>
    | <timeout-seconds>60</timeout-seconds>
    | <dump-allowed>no</dump-allowed>
    | </connection-pool>
    |
    +-->                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    [list=1]
    [*]Where do I find status report when I set "dump-allowed" to yes?
    The report is returned in the browser.
    [*]Does setting the following connection pool elements, initial=1 & increment=1 actually DISABLE connection pooling?
    No. This tells the pool to start a one connection, and to grow by one connection whenever the pool finds all current connections in-use in the pool.
    When I set the timing-info element to "yes", I see about 2 to 4 second response time to any of the Insurance demos at the outset.
    Initial = 1 means that the pool will start with 1 connection. It also means the pool will never shrink to below 1 connection.
    I thought I had read in the XML forum that initial=1, increment=0 disables connection pooling.
    Setting increment=0 forces the pool never to grow, but if you have more than one user this is not a desireable situation to be in. It will cause potential delays for users contending for the one connection available.
    [*]How do I track response times from end to end?
    <timing-info> is the only XSQL pages specific timing info available. You saw how to use <xsql:dml> to turn on tracing. Once you have the trace output, the analysis is a database profiling task.
    [list]
    You can experiment with the fetch-size parameter to see if increasing the number of records fetched at a time will improve your throughput.

  • How to view response time for each execution in OEM 12c Cloud Control

    Hi All,
    I want to view response time of each execution for my SOA composite in OEM 12c Cloud Control. Can anyone tell me how can I achieve that?
    Thanks in Advance!!

    You should open an SR and support can assist you with it. The only current case where that feature is known to not work is in the case where the Dehydration Store is running on RAC. Otherwise, it should be possible to get it to work. The main thing is that you need to have DB configuration properties (host, port, sid) that have a 3-way string match between the JDBC data source configuration in the WLS server, the JDBC properties you add to the Monitoring Properties of the SOA Infrastructure target, and the connect settings of the Database target in EM that matches to the dehydration DB.
    If there isn't a match in all 3, the Dehydration Diagnostics page will not work. But again, to look into your specific setup, you should file an SR and work with support.

  • TimesTen V/s Oracle Response Time

    Hi,
    Are there any comparative figures b/w Oracle and Times Ten available on the Response Time for Select/Insert/Update/Delete queries.
    I would appreciate if the figures are available over JDBC calls.
    I tried analyzing the result using one of our application which uses JDBC Thin Client on both Times Ten and Oracle.
    The result were not very encouraging.
    Let me know if required I can share the results here.
    Thanks,
    Mangesh Malekar
    Message was edited by:
    user464199

    Hi Guys,
    Appreciating your feedback.
    But, my application using which i have tested the Response Time is being running robustly for more than 5 year and has about 20 installation world wide.
    For supporting Times Ten Database there was no code change done to this application.
    So far this application was tested with ORACLE/DB2 as the database.
    We have achieved fantastic throughput with these database. But now it is more or less saturated.
    In order to improve further we are trying TimesTen Database as it is said to be faster.
    The application loads the JDBC Driver and the URL from a Configuration File.
    I just supplied the TimesTen JDBC Driver and the Times Ten URL to this application to get the Response Time result.
    I firmly believe that ORACLE would not have taken over TIMESTEN if it would not have been faster.
    So there definitely is something that i need to incorporate into my application related to TIMES TEN, which we all are missing.
    Is there a TEST Application which uses JDBC as the backbone, that i can use to gauge the response time on Oracle and Times Ten.
    Thanks,
    Mangesh Malekar

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

  • HP Pavilion hard drive response time is very slow but tests pass (evenutally)

    I have owned a HP Pavilion M1199a originally running Windows XP, but has been running Windows Vista 32-bit for the last 3 years or more.
    The PC started to lock up for 30 seconds or more (2 weeks ago), with the disk light constantly on then go again for no apparent reason. These lock ups have become more frequent and for longer durations. I removed anti-virus software, and a few other applications/services but generally this computer is fairly clean as I use it as a media center PC. 
    I have tried checking the disk (SATA) for errors, and it passes although the tests take a lot longer than they should. The resource monitor shows no excess CPU usage and there is plenty of memory available. The disk monitor shows response times of 5000-20000 ms.
    What is the best way to proceed from here? Is there a SATA controller or motherboard (ASUS PTGD1-LA) test? Should I buy another SATA drive and try that? I suspect that it is either the drive, drive controller and/or the motherboard that is failing but I don't know how to isolate the problem. The computer hardware configuration has remained the same for years.
    The OS has the automatic updates enabled and I uninstalled the recent ones in case they were somehow causing an issue. 

    tr3v wrote:
    Thanks for replying.
    1/ No, but I am running Vista, so assume this will be the same? Or should I just look at the tmp and temp environment variables to see what folders are being used?
     In Vista type temp in the Search programs and files box and double click on the temp files icon that appears above. Delete all the files in the folder that you can. It is safe as they are exactly what they are called and that is temporary files. If you haven't done this ever or in quite a while there should be a noticeable increase in the operating system's response time.
    2/ Yes. It completes after a very long time. 
    5/ No - but will try this out too. 
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • SAP GoLive : File System Response Times and Online Redologs design

    Hello,
    A SAP Going Live Verification session has just been performed on our SAP Production environnement.
    SAP ECC6
    Oracle 10.2.0.2
    Solaris 10
    As usual, we received database configuration instructions, but I'm a little bit skeptical about two of them :
    1/
    We have been told that our file system read response times "do not meet the standard requirements"
    The following datafile has ben considered having a too high average read time per block.
    File name -Blocks read  -  Avg. read time (ms)  -Total read time per datafile (ms)
    /oracle/PMA/sapdata5/sr3700_10/sr3700.data10          67534                         23                               1553282
    I'm surprised that an average read time of 23ms is considered a high value. What are exactly those "standard requirements" ?
    2/
    We have been asked  to increase the size of the online redo logs which are already quite large (54Mb).
    Actually we have BW loading that generates "Chekpoint not comlete" message every night.
    I've read in sap note 79341 that :
    "The disadvantage of big redo log files is the lower checkpoint frequency and the longer time Oracle needs for an instance recovery."
    Frankly, I have problems undertanding this sentence.
    Frequent checkpoints means more redo log file switches, means more archive redo log files generated. right ?
    But how is it that frequent chekpoints should decrease the time necessary for recovery ?
    Thank you.
    Any useful help would be appreciated.

    Hello
    >> I'm surprised that an average read time of 23ms is considered a high value. What are exactly those "standard requirements" ?
    The recommended ("standard") values are published at the end of sapnote #322896.
    23 ms seems really a little bit high to me - for example we have round about 4 to 6 ms on our productive system (with SAN storage).
    >> Frequent checkpoints means more redo log file switches, means more archive redo log files generated. right?
    Correct.
    >> But how is it that frequent chekpoints should decrease the time necessary for recovery ?
    A checkpoint is occured on every logswitch (of the online redologfiles). On a checkpoint event the following 3 things are happening in an oracle database:
    Every dirty block in the buffer cache is written down to the datafiles
    The latest SCN is written (updated) into the datafile header
    The latest SCN is also written to the controlfiles
    If your redologfiles are larger ... checkpoints are not happening so often and in this case the dirty buffers are not written down to the datafiles (in the case of no free space in the buffer cache is needed). So if your instance crashes you need to apply more redologs to the datafiles to be in a consistent state (roll forward). If you have smaller redologfiles more log switches are occured and so the SCNs in the data file headers (and the corresponding data) are closer to the newest SCN -> ergo the recovery is faster.
    But this concept does not really fit the reality because of oracle implements some algorithm to reduce the workload for the DBWR in the case of a checkpoint.
    There are also several parameters (depends on the oracle version) which control that a required recovery time is kept. (for example FAST_START_MTTR_TARGET)
    Regards
    Stefan

  • After IOS 8 update, the screen is jerky and the response time is really, really slow... Using a PC to submit this!

    Is there a solution to a jerky screen and a slow response time after updating to IOS 8?

    Try some basic troubleshooting:
    (A) Try reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    (B) Try reset all settings
    Settings>General>Reset>Reset All Settings
    (C) Setup as new (data will be lost)
    Settings>General>Reset>Erase all content and settings

  • Is there a way to speed up the response time from the dock

    Is there a way to speed up the response time for external hard drives from the dock? I have three external HDs but when I click on the alias in the dock there is always hesitation before it opens. I'm leaning towards the fact that it is just a result of the fact that the speed of the Mac is what it is. But, maybe there is something I can do to speed it up. The drives are plugged via usb directly to the Mac and they have there own power source. The curious thing is that they once were plugged into a large separately powered USB hub and I don't recall a lag like I have now. Any thoughts? Thanks...
    Message was edited by: gfann18

    Have you got the drives set up to spin down when not in use?
    Have a look at the Energy Saver settings in System Preference on the Mac.
    Make sure the "Put the Hard Discs to sleep when possible" box is not ticked.

  • SQL tune (High response time)

    Hi,
    I am writing the following function which is causing high response time. Can you please help? Please SBMS_SQLTUNE advise.
    GENERAL INFORMATION SECTION
    Tuning Task Name : BFG_TUNING1
    Tuning Task Owner : ARADMIN
    Scope : COMPREHENSIVE
    Time Limit(seconds) : 60
    Completion Status : COMPLETED
    Started at : 01/28/2013 15:48:39
    Completed at : 01/28/2013 15:49:43
    Number of SQL Restructure Findings: 7
    Number of Errors : 1
    Schema Name: ARADMIN
    SQL ID : 2d61kbs9vpvp6
    SQL Text : SELECT /*+no_merge(chg)*/ chg.CHANGE_REFERENCE,
    chg.Customer_Name, chg.Customer_ID, chg.Contract_ID,
    chg.Change_Title, chg.Change_Type, chg.Change_Description,
    chg.Risk, chg.Impact, chg.Urgency, chg.Scheduled_Start_Date,
    chg.Scheduled_End_Date, chg.Scheduled_Start_Date_Int,
    chg.Scheduled_End_Date_Int, chg.Outage_Required,
    chg.Change_Status, chg.Change_Status_IM, chg.Reason_for_change,
    chg.Customer_Visible, chg.Change_Source,
    chg.Related_Ticket_Type, chg.Related_Ticket_ID,
    chg.Requested_By, chg.Requested_For, chg.Site_ID, chg.Site_Name,
    chg.Element_id, chg.Element_Type, chg.Element_Name,
    chg.Search_flag, chg.remedy_id, chg.Change_Manager,
    chg.Email_Manager, chg.Queue, a.customer as CUSTOMER_IM,
    a.contract as CONTRACT_IM, a.cid FROM exp_cm_cusid1 a, (sELECT *
    FROM EXP_BFG_CM_JOIN_V WHERE CUSTOMER_ID = 14187) chg WHERE
    a.bfg_con_id IS NULL AND a.bfg_cus_id = chg.customer_id AND
    NOT EXISTS (SELECT a.bfg_con_id FROM exp_cm_cusid1 a WHERE
    a.bfg_con_id IS NOT NULL AND a.bfg_cus_id = chg.customer_id
    AND a.bfg_con_id = chg.contract_id ) UNION SELECT
    /*+no_marge(chg)*/ chg.CHANGE_REFERENCE, chg.Customer_Name,
    chg.Customer_ID, chg.Contract_ID, chg.Change_Title,
    chg.Change_Type, chg.Change_Description, chg.Risk, chg.Impact,
    chg.Urgency, chg.Scheduled_Start_Date, chg.Scheduled_End_Date,
    chg.Scheduled_Start_Date_Int, chg.Scheduled_End_Date_Int,
    chg.Outage_Required, chg.Change_Status, chg.Change_Status_IM,
    chg.Reason_for_change, chg.Customer_Visible, chg.Change_Source,
    chg.Related_Ticket_Type, chg.Related_Ticket_ID,
    chg.Requested_By, chg.Requested_For, chg.Site_ID, chg.Site_Name,
    chg.Element_id, chg.Element_Type, chg.Element_Name,
    chg.Search_flag, chg.remedy_id, chg.Change_Manager,
    chg.Email_Manager, chg.Queue, a.customer as CUSTOMER_IM,
    a.contract as CONTRACT_IM, a.cid FROM exp_cm_cusid1 a, (sELECT *
    FROM EXP_BFG_CM_JOIN_V WHERE CUSTOMER_ID = 14187) chg WHERE
    a.bfg_cus_id = chg.customer_id AND a.bfg_con_id =
    chg.contract_id AND a.bfg_con_id IS NOT NULL
    FINDINGS SECTION (7 findings)
    1- Restructure SQL finding (see plan 1 in explain plans section)
    The predicate REGEXP_LIKE ("T100"."C536871160",'^[[:digit:]]+$') used at
    line ID 26 of the execution plan contains an expression on indexed column
    "C536871160". This expression prevents the optimizer from selecting indices
    on table "ARADMIN"."T100".
    Recommendation
    - Rewrite the predicate into an equivalent form to take advantage of
    indices. Alternatively, create a function-based index on the expression.
    Rationale
    The optimizer is unable to use an index if the predicate is an inequality
    condition or if there is an expression or an implicit data type conversion
    on the indexed column.
    2- Restructure SQL finding (see plan 1 in explain plans section)
    The predicate TO_NUMBER(TRIM("T100"."C536871160"))=:B1 used at line ID 26 of
    the execution plan contains an expression on indexed column "C536871160".
    This expression prevents the optimizer from selecting indices on table
    "ARADMIN"."T100".
    Recommendation
    - Rewrite the predicate into an equivalent form to take advantage of
    indices. Alternatively, create a function-based index on the expression.
    Rationale
    The optimizer is unable to use an index if the predicate is an inequality
    condition or if there is an expression or an implicit data type conversion
    on the indexed column.
    3- Restructure SQL finding (see plan 1 in explain plans section)
    The predicate REGEXP_LIKE ("T100"."C536871160",'^[[:digit:]]+$') used at
    line ID 10 of the execution plan contains an expression on indexed column
    "C536871160". This expression prevents the optimizer from selecting indices
    on table "ARADMIN"."T100".
    Recommendation
    - Rewrite the predicate into an equivalent form to take advantage of
    indices. Alternatively, create a function-based index on the expression.
    Rationale
    The optimizer is unable to use an index if the predicate is an inequality
    condition or if there is an expression or an implicit data type conversion
    on the indexed column.
    4- Restructure SQL finding (see plan 1 in explain plans section)
    The predicate TO_NUMBER(TRIM("T100"."C536871160"))=:B1 used at line ID 10 of
    the execution plan contains an expression on indexed column "C536871160".
    This expression prevents the optimizer from selecting indices on table
    "ARADMIN"."T100".
    Recommendation
    - Rewrite the predicate into an equivalent form to take advantage of
    indices. Alternatively, create a function-based index on the expression.
    Rationale
    The optimizer is unable to use an index if the predicate is an inequality
    condition or if there is an expression or an implicit data type conversion
    on the indexed column.
    5- Restructure SQL finding (see plan 1 in explain plans section)
    The predicate REGEXP_LIKE ("T100"."C536871160",'^[[:digit:]]+$') used at
    line ID 6 of the execution plan contains an expression on indexed column
    "C536871160". This expression prevents the optimizer from selecting indices
    on table "ARADMIN"."T100".
    Recommendation
    - Rewrite the predicate into an equivalent form to take advantage of
    indices. Alternatively, create a function-based index on the expression.
    Rationale
    The optimizer is unable to use an index if the predicate is an inequality
    condition or if there is an expression or an implicit data type conversion
    on the indexed column.
    6- Restructure SQL finding (see plan 1 in explain plans section)
    The predicate TO_NUMBER(TRIM("T100"."C536871160"))=:B1 used at line ID 6 of
    the execution plan contains an expression on indexed column "C536871160".
    This expression prevents the optimizer from selecting indices on table
    "ARADMIN"."T100".
    Recommendation
    - Rewrite the predicate into an equivalent form to take advantage of
    indices. Alternatively, create a function-based index on the expression.
    Rationale
    The optimizer is unable to use an index if the predicate is an inequality
    condition or if there is an expression or an implicit data type conversion
    on the indexed column.
    7- Restructure SQL finding (see plan 1 in explain plans section)
    An expensive "UNION" operation was found at line ID 1 of the execution plan.
    Recommendation
    - Consider using "UNION ALL" instead of "UNION", if duplicates are allowed
    or uniqueness is guaranteed.
    Rationale
    "UNION" is an expensive and blocking operation because it requires
    elimination of duplicate rows. "UNION ALL" is a cheaper alternative,
    assuming that duplicates are allowed or uniqueness is guaranteed.
    ERRORS SECTION
    - The current operation was interrupted because it timed out.
    EXPLAIN PLANS SECTION
    1- Original
    Plan hash value: 1047651452
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time | Inst |IN-OUT|
    | 0 | SELECT STATEMENT | | 2 | 28290 | 567 (37)| 00:00:07 | | |
    | 1 | SORT UNIQUE | | 2 | 28290 | 567 (37)| 00:00:07 | | |
    | 2 | UNION-ALL | | | | | | | |
    |* 3 | HASH JOIN RIGHT ANTI | | 1 | 14158 | 373 (5)| 00:00:05 | | |
    | 4 | VIEW | VW_SQ_1 | 1 | 26 | 179 (3)| 00:00:03 | | |
    | 5 | NESTED LOOPS | | 1 | 37 | 179 (3)| 00:00:03 | | |
    |* 6 | TABLE ACCESS FULL | T100 | 1 | 28 | 178 (3)| 00:00:03 | | |
    |* 7 | INDEX RANGE SCAN | I1451_536870913_1 | 1 | 9 | 1 (0)| 00:00:01 | | |
    | 8 | NESTED LOOPS | | 1 | 14132 | 193 (5)| 00:00:03 | | |
    |* 9 | HASH JOIN | | 1 | 14085 | 192 (5)| 00:00:03 | | |
    |* 10 | TABLE ACCESS FULL | T100 | 1 | 28 | 178 (3)| 00:00:03 | | |
    | 11 | VIEW | EXP_BFG_CM_JOIN_V | 3 | 42171 | 13 (24)| 00:00:01 | | |
    | 12 | UNION-ALL | | | | | | | |
    |* 13 | HASH JOIN | | 1 | 6389 | 5 (20)| 00:00:01 | | |
    | 14 | REMOTE | PROP_CHANGE_REQUEST_V | 1 | 5979 | 2 (0)| 00:00:01 | ARS_B~ | R->S |
    | 15 | REMOTE | PROP_CHANGE_INVENTORY_V | 1 | 410 | 2 (0)| 00:00:01 | ARS_B~ | R->S |
    | 16 | HASH UNIQUE | | 1 | 6052 | 6 (34)| 00:00:01 | | |
    |* 17 | HASH JOIN | | 1 | 6052 | 5 (20)| 00:00:01 | | |
    | 18 | REMOTE | PROP_CHANGE_REQUEST_V | 1 | 5979 | 2 (0)| 00:00:01 | ARS_B~ | R->S |
    | 19 | REMOTE | PROP_CHANGE_INVENTORY_V | 1 | 73 | 2 (0)| 00:00:01 | ARS_B~ | R->S |
    | 20 | HASH UNIQUE | | 1 | 5979 | 3 (34)| 00:00:01 | | |
    | 21 | REMOTE | PROP_CHANGE_REQUEST_V | 1 | 5979 | 2 (0)| 00:00:01 | ARS_B~ | R->S |
    | 22 | TABLE ACCESS BY INDEX ROWID| T1451 | 1 | 47 | 1 (0)| 00:00:01 | | |
    |* 23 | INDEX RANGE SCAN | I1451_536870913_1 | 1 | | 1 (0)| 00:00:01 | | |
    | 24 | NESTED LOOPS | | 1 | 14132 | 193 (5)| 00:00:03 | | |
    |* 25 | HASH JOIN | | 1 | 14085 | 192 (5)| 00:00:03 | | |
    |* 26 | TABLE ACCESS FULL | T100 | 1 | 28 | 178 (3)| 00:00:03 | | |
    | 27 | VIEW | EXP_BFG_CM_JOIN_V | 3 | 42171 | 13 (24)| 00:00:01 | | |
    | 28 | UNION-ALL | | | | | | | |
    |* 29 | HASH JOIN | | 1 | 6389 | 5 (20)| 00:00:01 | | |
    | 30 | REMOTE | PROP_CHANGE_REQUEST_V | 1 | 5979 | 2 (0)| 00:00:01 | ARS_B~ | R->S |
    | 31 | REMOTE | PROP_CHANGE_INVENTORY_V | 1 | 410 | 2 (0)| 00:00:01 | ARS_B~ | R->S |
    | 32 | HASH UNIQUE | | 1 | 6052 | 6 (34)| 00:00:01 | | |
    |* 33 | HASH JOIN | | 1 | 6052 | 5 (20)| 00:00:01 | | |
    | 34 | REMOTE | PROP_CHANGE_REQUEST_V | 1 | 5979 | 2 (0)| 00:00:01 | ARS_B~ | R->S |
    | 35 | REMOTE | PROP_CHANGE_INVENTORY_V | 1 | 73 | 2 (0)| 00:00:01 | ARS_B~ | R->S |
    | 36 | HASH UNIQUE | | 1 | 5979 | 3 (34)| 00:00:01 | | |
    | 37 | REMOTE | PROP_CHANGE_REQUEST_V | 1 | 5979 | 2 (0)| 00:00:01 | ARS_B~ | R->S |
    | 38 | TABLE ACCESS BY INDEX ROWID | T1451 | 1 | 47 | 1 (0)| 00:00:01 | | |
    |* 39 | INDEX RANGE SCAN | I1451_536870913_1 | 1 | | 1 (0)| 00:00:01 | | |
    Predicate Information (identified by operation id):
    3 - access("ITEM_0"="EXP_BFG_CM_JOIN_V"."CUSTOMER_ID" AND "ITEM_1"="EXP_BFG_CM_JOIN_V"."CONTRACT_ID")
    6 - filter("C536871050" LIKE '%FMS%' AND REGEXP_LIKE ("C536871160",'^[[:digit:]]+$') AND ("C536871088" IS NULL
    OR REGEXP_LIKE ("C536871088",'^[[:digit:]]+$')) AND TO_NUMBER(TRIM("C536871088")) IS NOT NULL AND
    TO_NUMBER(TRIM("C536871160"))=:SYS_B_0 AND "C536871160" IS NOT NULL AND "C536871050" IS NOT NULL AND "C7"=0)
    7 - access("C536870913"="C536870914")
    9 - access("EXP_BFG_CM_JOIN_V"."CUSTOMER_ID"=TO_NUMBER(TRIM("C536871160")))
    10 - filter("C536871050" LIKE '%FMS%' AND REGEXP_LIKE ("C536871160",'^[[:digit:]]+$') AND ("C536871088" IS NULL
    OR REGEXP_LIKE ("C536871088",'^[[:digit:]]+$')) AND TO_NUMBER(TRIM("C536871088")) IS NULL AND
    TO_NUMBER(TRIM("C536871160"))=:SYS_B_0 AND "C536871160" IS NOT NULL AND "C536871050" IS NOT NULL AND "C7"=0)
    13 - access("CHG"."PRP_CHG_REFERENCE"="INV"."PRP_CHG_REFERENCE")
    17 - access("CHG"."PRP_CHG_REFERENCE"="INV"."PRP_CHG_REFERENCE")
    23 - access("C536870913"="C536870914")
    25 - access("EXP_BFG_CM_JOIN_V"."CUSTOMER_ID"=TO_NUMBER(TRIM("C536871160")) AND
    "EXP_BFG_CM_JOIN_V"."CONTRACT_ID"=TO_NUMBER(TRIM("C536871088")))
    26 - filter("C536871050" LIKE '%FMS%' AND REGEXP_LIKE ("C536871160",'^[[:digit:]]+$') AND ("C536871088" IS NULL
    OR REGEXP_LIKE ("C536871088",'^[[:digit:]]+$')) AND TO_NUMBER(TRIM("C536871088")) IS NOT NULL AND
    TO_NUMBER(TRIM("C536871160"))=:SYS_B_1 AND "C536871160" IS NOT NULL AND "C536871050" IS NOT NULL AND "C7"=0)
    29 - access("CHG"."PRP_CHG_REFERENCE"="INV"."PRP_CHG_REFERENCE")
    33 - access("CHG"."PRP_CHG_REFERENCE"="INV"."PRP_CHG_REFERENCE")
    39 - access("C536870913"="C536870914")
    Remote SQL Information (identified by operation id):
    14 - SELECT "PRP_CHG_REFERENCE","CUS_ID","CUS_NAME","CNT_BFG_ID","PRP_TITLE","PRP_CHG_TYPE","PRP_DESCRIPTION","PR
    P_BTIGNITE_PRIORITY","PRP_CUSTOMER_PRIORITY","PRP_CHG_URGENCY","PRP_RESPONSE_REQUIRED_BY","PRP_REQUIRED_BY_DATE","P
    RP_CHG_OUTAGE_FLAG","PRP_CHG_STATUS","PRP_CHG_FOR_REASON","PRP_CHG_CUSTOMER_VISIBILITY","PRP_CHG_SOURCE_SYSTEM","PR
    P_RELATED_TICKET_TYPE","PRP_RELATED_TICKET_ID","CHANGE_INITIATOR","CHANGE_ORIGINATOR","CHANGE_MANAGER","QUEUE"
    FROM "PROP_OWNER2"."PROP_CHANGE_REQUEST_V" "CHG" WHERE "CUS_ID"=:1 (accessing 'ARS_BFG_DBLINK.WORLD' )
    15 - SELECT "PRP_CHG_REFERENCE","SIT_ID","SIT_NAME","ELEMENT_SUMMARY","PRODUCT_NAME" FROM
    "PROP_OWNER2"."PROP_CHANGE_INVENTORY_V" "INV" (accessing 'ARS_BFG_DBLINK.WORLD' )
    18 - SELECT "PRP_CHG_REFERENCE","CUS_ID","CUS_NAME","CNT_BFG_ID","PRP_TITLE","PRP_CHG_TYPE","PRP_DESCRIPTION","PR
    P_BTIGNITE_PRIORITY","PRP_CUSTOMER_PRIORITY","PRP_CHG_URGENCY","PRP_RESPONSE_REQUIRED_BY","PRP_REQUIRED_BY_DATE","P
    RP_CHG_OUTAGE_FLAG","PRP_CHG_STATUS","PRP_CHG_FOR_REASON","PRP_CHG_CUSTOMER_VISIBILITY","PRP_CHG_SOURCE_SYSTEM","PR
    P_RELATED_TICKET_TYPE","PRP_RELATED_TICKET_ID","CHANGE_INITIATOR","CHANGE_ORIGINATOR","CHANGE_MANAGER","QUEUE"
    FROM "PROP_OWNER2"."PROP_CHANGE_REQUEST_V" "CHG" WHERE "CUS_ID"=:1 (accessing 'ARS_BFG_DBLINK.WORLD' )
    19 - SELECT "PRP_CHG_REFERENCE","SIT_ID","SIT_NAME" FROM "PROP_OWNER2"."PROP_CHANGE_INVENTORY_V" "INV"
    (accessing 'ARS_BFG_DBLINK.WORLD' )
    21 - SELECT "PRP_CHG_REFERENCE","CUS_ID","CUS_NAME","CNT_BFG_ID","PRP_TITLE","PRP_CHG_TYPE","PRP_DESCRIPTION","PR
    P_BTIGNITE_PRIORITY","PRP_CUSTOMER_PRIORITY","PRP_CHG_URGENCY","PRP_RESPONSE_REQUIRED_BY","PRP_REQUIRED_BY_DATE","P
    RP_CHG_OUTAGE_FLAG","PRP_CHG_STATUS","PRP_CHG_FOR_REASON","PRP_CHG_CUSTOMER_VISIBILITY","PRP_CHG_SOURCE_SYSTEM","PR
    P_RELATED_TICKET_TYPE","PRP_RELATED_TICKET_ID","CHANGE_INITIATOR","CHANGE_ORIGINATOR","CHANGE_MANAGER","QUEUE"
    FROM "PROP_OWNER2"."PROP_CHANGE_REQUEST_V" "CHG" WHERE "CUS_ID"=:1 (accessing 'ARS_BFG_DBLINK.WORLD' )
    30 - SELECT "PRP_CHG_REFERENCE","CUS_ID","CUS_NAME","CNT_BFG_ID","PRP_TITLE","PRP_CHG_TYPE","PRP_DESCRIPTION","PR
    P_BTIGNITE_PRIORITY","PRP_CUSTOMER_PRIORITY","PRP_CHG_URGENCY","PRP_RESPONSE_REQUIRED_BY","PRP_REQUIRED_BY_DATE","P
    RP_CHG_OUTAGE_FLAG","PRP_CHG_STATUS","PRP_CHG_FOR_REASON","PRP_CHG_CUSTOMER_VISIBILITY","PRP_CHG_SOURCE_SYSTEM","PR
    P_RELATED_TICKET_TYPE","PRP_RELATED_TICKET_ID","CHANGE_INITIATOR","CHANGE_ORIGINATOR","CHANGE_MANAGER","QUEUE"
    FROM "PROP_OWNER2"."PROP_CHANGE_REQUEST_V" "CHG" WHERE "CUS_ID"=:1 (accessing 'ARS_BFG_DBLINK.WORLD' )
    31 - SELECT "PRP_CHG_REFERENCE","SIT_ID","SIT_NAME","ELEMENT_SUMMARY","PRODUCT_NAME" FROM
    "PROP_OWNER2"."PROP_CHANGE_INVENTORY_V" "INV" (accessing 'ARS_BFG_DBLINK.WORLD' )
    34 - SELECT "PRP_CHG_REFERENCE","CUS_ID","CUS_NAME","CNT_BFG_ID","PRP_TITLE","PRP_CHG_TYPE","PRP_DESCRIPTION","PR
    P_BTIGNITE_PRIORITY","PRP_CUSTOMER_PRIORITY","PRP_CHG_URGENCY","PRP_RESPONSE_REQUIRED_BY","PRP_REQUIRED_BY_DATE","P
    RP_CHG_OUTAGE_FLAG","PRP_CHG_STATUS","PRP_CHG_FOR_REASON","PRP_CHG_CUSTOMER_VISIBILITY","PRP_CHG_SOURCE_SYSTEM","PR
    P_RELATED_TICKET_TYPE","PRP_RELATED_TICKET_ID","CHANGE_INITIATOR","CHANGE_ORIGINATOR","CHANGE_MANAGER","QUEUE"
    FROM "PROP_OWNER2"."PROP_CHANGE_REQUEST_V" "CHG" WHERE "CUS_ID"=:1 (accessing 'ARS_BFG_DBLINK.WORLD' )
    35 - SELECT "PRP_CHG_REFERENCE","SIT_ID","SIT_NAME" FROM "PROP_OWNER2"."PROP_CHANGE_INVENTORY_V" "INV"
    (accessing 'ARS_BFG_DBLINK.WORLD' )
    37 - SELECT "PRP_CHG_REFERENCE","CUS_ID","CUS_NAME","CNT_BFG_ID","PRP_TITLE","PRP_CHG_TYPE","PRP_DESCRIPTION","PR
    P_BTIGNITE_PRIORITY","PRP_CUSTOMER_PRIORITY","PRP_CHG_URGENCY","PRP_RESPONSE_REQUIRED_BY","PRP_REQUIRED_BY_DATE","P
    RP_CHG_OUTAGE_FLAG","PRP_CHG_STATUS","PRP_CHG_FOR_REASON","PRP_CHG_CUSTOMER_VISIBILITY","PRP_CHG_SOURCE_SYSTEM","PR
    P_RELATED_TICKET_TYPE","PRP_RELATED_TICKET_ID","CHANGE_INITIATOR","CHANGE_ORIGINATOR","CHANGE_MANAGER","QUEUE"
    FROM "PROP_OWNER2"."PROP_CHANGE_REQUEST_V" "CHG" WHERE "CUS_ID"=:1 (accessing 'ARS_BFG_DBLINK.WORLD' )
    -------------------------------------------------------------------------------

    Please review the following threads:
    {message:id=9360002}
    {message:id=9360003}

Maybe you are looking for

  • Ipad doesn´t sync to itunes

    When I connect my new ipad to the laptop it does not appear on the left column as a device. I have other devices like  the first ipad and iphone 4 and they still appear. When I go to itunes Wi-Fi Sync on settings it says "click Sync over Wi-Fi connec

  • Macbook Pro random freezing

    Hi, I am experiencing random freezing of OSX, First I thought it was related to the latest flash, so I deleted it but the freezing keeps happening. Then I thought it was firefox so I switched to safari 5 but still it freezes. Now the computer freezes

  • Previous versions of Adobe Acrobat

    My system crashed recenly and had to be rebuilt. I can't find the media for Adobe Acrobat 9 Standard, but I have my serial number. Is there a download available?

  • Word document links won't open in IE 9

    I got a user who cannot open up a word document link in sharepoint online that should display a word  dialog box basically in IE 9. When clicking, nothing happens even if pop up blocker is off, but he can access the word documents from the link in Fi

  • Error when deploying to server. Offline deployment @currentUser

    So finally I am ready to deploy an LS HTML application to a webserver. I had to download and install the prereq offline, and think I got it right. However when I try to import the .zip file in IIS, I get the following error(the db gets created) An er