SQL Slow Response from remote DB

I have two sites of which I am executing SQL querys and updates to an Oracle DB. Both sites have the identical code. I am querying against an Oracle 9.0.2 DB. I have tried using both the 8i JDBC Driver and the 9i JDBC Driver. At one site which is closer to the DB site the response is 10 times as fast as the response from my second site. I've had the network administrators to test the network between sites for packet latency. The results were 40ms to pass packets between sites. Traceroute also showed the same response times. I have employed Oracle's assistance with tuning the database optimally. This has not improve the response time. I thought that the problem might be with my SQL so I created the following simple test and the response times were the same. Any thoughts as to were the problem might lie? Your help is much appreciated.
Site 1 response time: 4ms
Site 2 response time: 137ms
CODE:
try{
Class.forName("oracle.jdbc.driver.OracleDriver");
con=DriverManager.getConnection(url,name,pw);
if(con!=null){
System.out.println("Got Connection");
Statement s = con.createStatement();
long begintime = System.currentTimeMillis();
int bt = (int)begintime;
ResultSet rs = s.executeQuery("select sysdate from dual");
long endtime = System.currentTimeMillis();
int et = (int)endtime;
rs.next();
Time t = rs.getTime("sysdate");
System.out.println("Time: " + t.toString());
System.out.println("Time to Retrieve Records: "+ (endtime - begintime) + "ms");
rs.close();
con.close();
catch(SQLException sql){
System.err.println("SQL Error: " + sql.getMessage());
sql.printStackTrace();
catch(ClassNotFoundException cnfe){
System.err.println("SQL Error: " + cnfe.getMessage());

If it was me I would write a client server socket tester and run it on both machines. And do some tests that run individual and burst transmissions throughout the day. You could do the same thing without code by manually FTP'ing some large files between the systems. But that will have more of a real impact on the system however.
A simple trace route is only going to show a problem if it exists at a particular point in time.

Similar Messages

  • Error trying to publish (real time) to delivery: No response from remote execute trying to save assettype [error was -103].

    Hi all,
    I'm trying to publish for first time to a new environment (delivery).
    The light of target destination is green.
    When i click on "inicialize" i get these errors and in the docs i cannot find why or what i have to do.
    Trying to publish asset types during inicialization it returns this error:
    No response from remote execute trying to save assettype [error was -103].
    Looking for the meaning for this i found: No table. What does it mean? Why the tool has not created the table?
    And then, the next error message is shown (all of them are shown in the same screenshot) trying to mirroring. It might have to do with the previos error message... but i have no idea!
    -12011. No response from remote execute trying to save assettype [error was -103]
    sites.log in delivery environment says as follows
    [2014-01-24 12:13:52,496 CET] [ERROR] [.kernel.Default (self-tuning)'] [fatwire.logging.cs.db] SQLException loading table definition for SiteCatalog with state HY000: [FMWGEN][SQLServer JDBC Driver]Object has been closed.
    java.sql.SQLException: [FMWGEN][SQLServer JDBC Driver]Object has been closed.
    [2014-01-24 12:13:52,527 CET] [ERROR] [.kernel.Default (self-tuning)'] [com.fatwire.logging.cs] ContentServer exception running CS recursively
    COM.FutureTense.Common.ContentServerException: pagename not supplied  Error code:BAD PARAMETER
    [2014-01-24 12:13:52,543 CET] [ERROR] [.kernel.Default (self-tuning)'] [logging.cs.satellite.request] Error accessing the external page with pmd: page: ?Browser=Unknown  Browser&SystemAssetsRoot=/dlv/futuretense_cs/&errdetail=0&errno=0&null= &pagename=fatwire/wem/sso/casInfo
    [2014-01-24 12:13:52,543 CET] [ERROR] [.kernel.Default (self-tuning)'] [fatwire.logging.cs.request] COM.FutureTense.Common.ContentServerException: ContentServerException: (Reading page page: ?Browser=Unknown  Browser&SystemAssetsRoot=/dlv/futuretense_cs/&errdetail=0&errno=0&null= &pagename=fatwire/wem/sso/casInfo from co-resident Content Server failed (errno=0).) Error code:GENERIC SERVER ERROR
    [2014-01-24 12:14:06,021 CET] [ERROR] [.kernel.Default (self-tuning)'] [fatwire.logging.cs.db] SQLException loading table definition for SystemInfo with state HY000: [FMWGEN][SQLServer JDBC Driver]Object has been closed.
    java.sql.SQLException: [FMWGEN][SQLServer JDBC Driver]Object has been closed.
    Does anybody know how to help here?
    Thank you very much.
    Gala

    What SQL server driver are you using, Microsoft's or the jTDS driver (see jTDS JDBC Driver)? It may be worth trying the other.
    Also, can you enable
    com.fatwire.logging.cs=DEBUG
    in log4j.properties and retest, then post the entire resulting sites.log and application server log somewhere for us to see? e.g somewhere like pastebin.com
    Phil

  • New OIF installation - Very slow response from OHS

    Hi,
    I've installed two instances of OIF 10.1.4.0.1 in order to create a test configuration to test XASP Attribute Sharing (i.e., we are not doing any other profiles).
    Both OIF instances are using a separate instance of Sun Directory Server as its User Data Store, and both are using in-memory for Transient Data Store and have no Federation Data Store. Both OIF instances were installed similarly, using the "BASIC" installation choices, and are running on separate Redhat Linux servers.
    The problem that we're seeing is very slow (10+ seconds to 30+ seconds) responses, even when we try to access a static HTML test page that we've placed in the OHS htdocs directory.
    We've eliminated any networking problems as possibilities by a couple of tests that we've done, including shutting down the OHS and running a small, different test web server listening on port 7777. When we do that, response time for requests from that web server is almost instantaneous.
    We are also seeing the same slow response when we try to access the test HTML page from the same server itself.
    We have an SR open with Oracle, but so far, we've not been able to identify what the problem might be, so I'm hoping that perhaps someone else may have encountered this problem and have a resolution.
    It is really puzzling because, as I said, this is a pretty vanilla default OIF installation, and it is doubly puzzling because even getting a tiny static HTML page is taking 10+ seconds. Also, I had installed OIF 10.1.4.0.1 on a Windows machine previously, and I don't see this problem on that earlier installation.
    If anyone here has any insight into this problem, please let me know.
    Thanks,
    Jim

    Hi,
    I think I was able to temporarily eliminate this slow response problem. I think that the slow response problem is related to another problem that I posted about in the "Application Server - General" forum (see below, and Port 7200 conflict?
    Jim
    ======= POSTED to Application Server - General forum ============
    I think that I was able to temporarily work around this problem, plus another problem that I think is related (see: New OIF installation - Very slow response from OHS
    What I did was to just comment out the "include" line for "dms.conf" in the Apache httpd.conf.
    Doing that got rid of the "Address already in use" errors I was seeing in Apache error_log and also eliminated the slow response I was seeing from Apache/OHS (see that other post in "Identity Management" forum), BUT I am getting new errors about Apache not being able to find "htdocs/dms/Spy0".
    I have the impression that dms is some kind of process monitoring system that Oracle has in 10gAS infrastructure? So, I have some questions:
    1) What's the effect of dms not working?
    2) Is it possible to just disable dms?
    I hope that Oracle support can come up with a "real" fix for both problems, but in the meantime, as long as what I did doesn't break anything else besides dms, we can at least test the OIF stuff.
    Jim

  • Slow response from SAR command

    Hi,
    I see slow response from SAR command on M5000 series server.
    SunOS prod452 5.10 Generic_144488-09 sun4u 01/03/2012
    sar 1 100
    14:25:43 %usr %sys %wio %idle
    14:25:45 1 1 0 98
    14:25:46 1 0 0 99
    14:25:48 1 1 0 98
    14:25:50 1 2 0 97
    14:25:52 1 1 0 98
    14:25:54 1 1 0 98
    14:25:56 1 2 0 97
    14:25:58 1 2 0 98
    14:26:00 1 2 0 97
    14:26:01 1 2 0 97
    Ideally i should have output at every one second, but it shows at every 2 seconds. Even i have tried to increase the interval but still i see it takes extra 1 sec. to give output.
    These are the pretty newly configured Machine, do you think something to do with server perf./config/ etc ? Does this impacts perf. to my running workload on this machine ?
    REgards
    Tilok

    Well, you could simply have a gigazillion fonts on your system that mess with the text engine. in that case some serious weeding out of fonts that you never use would help immensely. Otherwise you can always turn off hardware acceleration in the preferences, assuming the issue is related to that...
    Mylenium

  • Slow response from search

    When I type in the search bar, I get a very slow response--the letters appear sluggishly, one by one, with about a one second delay between each. I have about 6000 songs and they are all on an internal drive.
    I created a new user account and dragged all my songs into iTunes in that account. Searching was lightning fast.
    So it sounds like the problem is isolated to my account. I want to know if there is a way to speed up the search. The easy solution is to rebuild the xml file by deleting the songs from my library and re-importing them, but I do not want to lose my play counts, last played dates, etc. If there is a program that can save all that information for me, that would also be acceptable.
    Any tips would be appreciated. Thanks!
    --Tim
    iMac G4   Mac OS X (10.4.6)  

    A few questions:
    -Is the application running on the same server as the database?
    -Single DB or RAC?
    -When last was the database analyzed?(SQL Stats)
    -Was there database admin scheduled jobs running(exports,RMAN ect.)
    -When last did you rebuild indexes? (do we need to rebuild indexes)

  • Slow response from PE3

    Sorry to be posting a question about this older version but I have just discovered the lack of Adobe support for PE3 and as a low volume user, I am not particularly keen to upgrade to PE7 if it won't recognize PE3 project files, and PE3 does all I want for now anyway. I am in the middle of editing this project by adding narration and background music, and finding very slow response to virtually everything I want to do. When trying to add narrative, it takes several minutes before it will start to record, then several more to save it. If I want to change any audio effects, same thing. Won't even open a function without a long delay, let alone save it. This problem only started as I've tried to add the audio. Up to now, editing the video clips has worked fine with only minimal delays.
    The file is 9MB, which I wouldn't have thought to be a problem, and it's a reasonably new system, with 2GHz dual core AMD processor, 500GB of hard drive & 2GB of memory. Not sure what other info I should provide that might help. Has anyone else had this problem and or know what I should try to fix? very appreciative of any suggestions. TIA

    Is yours a Vista machine? If so, you may want to optimize it for video editing.
    http://www.adobeforums.com/webx/.3bc448a7
    And, of course, ensure that you've got the 3.02 patch.
    http://www.adobeforums.com/webx/.3bc2fd1f
    The other thing that will greatly affect the program's performance is what you're using for source video.
    The program works best with DV-AVIs files captured over FireWire from a miniDV camcorder. Other files (such as video from hard drive or DVD camcorders) pose a variety of challenges that can impact performance.
    Another key issues is photographs. If you're using them as source files, you can easily choke the program if you're not optimizing them to no larger than 1000x750 pixels in size before you bring them into your project.
    If you can offer more details, we can give you more specific advice.

  • Slow Response from the server

    It seems that after 1 - 1:30 hrs after the server start the response from app server
    (weblogic 5.1 here) is very very slow. This remains as it is until we stop and
    restart the server..But again after the same period of time the problem continues
    and the server tends to respond slowly.Where could be the problem? If you can
    let us know the underlying problem, it would be great.

    "Amit" <[email protected]> wrote in message news:<3e7054c6$[email protected]>...
    It seems that after 1 - 1:30 hrs after the server start the response from app server
    (weblogic 5.1 here) is very very slow. This remains as it is until we stop and
    restart the server..But again after the same period of time the problem continues
    and the server tends to respond slowly.Where could be the problem? If you can
    let us know the underlying problem, it would be great.OK, check in the admin console for Garbage Collection. You will see
    the heap usage reach 100% and the drop off suddenly. If this is the
    case, consider increasing your heap, if that isnt an option.. Try
    checking your code to make sure everything that is called is
    destroyed.
    That may help... If not it could be JDBC,other connectivity, or code.
    But try that 1st and let me know.
    Steve

  • Slow response from DPS

    I am seeing a very slow response time from our Directory Proxy Server.
    10:15:16 -0500 - PROFILE    - INFO  - conn=6 assigned to connection handler cn=default connection handler, cn=connection handlers, cn=config
    10:15:36 -0500 - CONNECT    - INFO  - conn=6 client=127.0.0.1:48475 server=127.0.0.1:7389 protocol=LDAP
    10:15:36 -0500 - OPERATION  - INFO  - conn=6 op=0 BIND dn="cn=proxy manager" method="SIMPLE" version=3 controls=""From the timestamps there is a 20 second delay (always seems to be the case) between when a connection request is handled by the "default connection handler" and the actual connection.
    I am assuming the problem lies in a misconfiguration in the "default connection handler" .
    I can provide additional info upon request.
    Any suggestions would be greatly appreciated.

    1 second for a query seems very slow...
    Did you really measure 1s on the client side or did you get that number from the proxy logs ? Note that times shown in DPS logs may be inaccurate to some extends. For more info about that , have a look at
    [http://blogs.sun.com/sduloutr/entry/etime_granularity|http://blogs.sun.com/sduloutr/entry/etime_granularity]

  • Slow response from DB

    Hi ,
    My database is 10.02.0.4.0 on Solaris 5.9.
    We are using Oracle 10g AS as Application server to
    host the Application. Whenever the end user trying to access the
    application who got the very solw response. At the application level
    we have configured enough settings on datasource and connection pool parameters.
    At Oracle Level 150 session, Processes 300 has set.
    what could be the reason for End user getting problem like "Slow response","Connection Tiemd out".
    Any parameter need to change. When I getting this error, what is the appraoch i need to follow to mitigate these kind of error in future .
    Thanks,
    Tippu

    I have a performance checklist at :
    Re: Multiple Sessions Performance Issue …………
    Hth
    Girish Sharma

  • Slow response from SRM 5.0

    Hi Expert,
    We have a recently upgraded SRM4.0 to SRM 5.0 server
    The SRM application that we use via web-browser(ITS) is very slow.
    Any approaches/suggestions to debug the slow response and improve on it.
    Thanks
    AK

    Yes note 1318249 would be your best bet.
    If you can access the same transactions in the SAPGui without performance problem then it would be a BASIS issue so you should alos look at BASIS notes.
    Upgrage kernel first.
    Hope this helps,
    Regards,
    Matthew

  • Extremely slow response from Maverics with working account

    Hi all,
    let me reference an earlier issue I had after I switched to Mavericks on my MacBook:
    https://discussions.apple.com/message/23576494?ac_cid=tw123456#23576494
    I don't know if this problem is related to the earlier incident or not...
    In any case, here is the scenario: MacBook (late 2008), previously with Mountain Lion. My main account ("nick") has a home folder location different than standard. This is because the boot drive is a (smallish) SSD, I.e. the home folder had been moved (long time ago) to a second HDD that I've installed instead of the Superdrive. The specialty here is that this 2nd HDD is encrypted (done at formatting time).
    Subsequently, when I restart the MacBook, I first have to log into the admin account, which will automatically mount the HDD (password in keychain), then log back out and log into my user account.
    This worked like a charm with Lion and Mountain Lion.
    Along comes Mavericks. As you'll see in the link posted above, I had some issues getting the user to log in at all. Possibly a quirk in Mavericks, fixed by using a symbolic link.
    In any case, the responsiveness of the system with that one account logged in is - to say the least - excessively slow.
    It seems that something is holding up the CPU for long periods of time (30 seconds? 60 seconds?) between activities. This might be launching a program and waiting forever for it to show the initial window. Then selecting a function and waiting for that, etc.
    Really odd is the fact that this only happens with this one account. I've tried logging in and then holding the Shift key (keeps the login script from loading selected programs automatically), but this didn't help.
    Again, it only happens with this one account, so it has to be something to do with a setting or something.
    Odd, too, is that the CPU isn't loaded at all - in fact, nothing seems to be happening (which, in fact, is what is happening...).
    Ideas anyone?
    I had a very similar effect when moving from Snow Leopard to Lion (Upgrade, not a clean install), so maybe it is something that isn't unusual?

    Sorry to hear about the issues you've been having. Hard drives do sometimes fail, and it really isn't a fun experience when it does. I don't work for Apple, but I'm a certified tech that like others has access to the warranty repair system and I know how it works. Normally we get all parts very quickly, but there are some cases where backorders and incorrect repairs are inputted which slow things down.
    Apple actually does read the forums and responds to them as well. I have several friends who do just that. I would suggest to the repair center that they try the "mark for review" checkbox because this shouldn't be taking this long and it will get a repair advisor's attention to find what's delaying it. Hopefully it'll be resolved shortly.

  • Slow response from Oracle AS 10g on web

    Hi all,
    We have recently migrated from 6i to 10g successfully.
    Now when I run my application locally it gives me very good response . But when I run the same application from a remote place on web it gives me pathetic response .
    Can anyone suggest me what are the parameters to tune so that it gives me a better performance.
    Regards
    Sai.

    I suppose you are using Forms type on Application server. Consult the following article on Metalink.
    - Subject:      How to Find the Oracle Application Server 10g Performance Guide
    Doc ID:      Note:437109.1
    This article gives pointers to the documentation links based on your particular version for application server performance guides.
    hope that helps!
    AMN

  • Normal, then slow response to remote control

    I just had FiOS TV installed less than one week ago (on 1/15/10) and have noticed the following annoying behavior: After powering-up my TV and Set Top Box (STB), the remote control responds normally. I am able to change channels using direct numeric entry or the Channel up/down buttons. Also, the volume control responds normally. However, once I enter the program guide, or VOD, or select the DVR, response to commands from the remote works fine for a while, then the response completely stops, similar to when a PC stops responding to mouse or keyboard commands. It seems like the STB's on-board microprocessor or RAM are suddenly max'd out. If I let it sit there for a long time (e.g., about 10 minutes), response to the remote control is back to normal. Alternately, if I power the TV and STB off and on again, responsiveness to the remote control is normal (until I again try to use the Guide, VOD, or DVR). I have put fresh batteries in the remote, but the problem remains the same. Any ideas on how to fix this? Thanks.

    Please call 1-888-553-1555. The tech will have to send some commands to the stb to refresh it. Please mention exactly the things you typed here.

  • Windows 8.1 not activating - very slow response from HP

    Sir/Madam,
    For past 4-5 days, i have been calling every day to HP regarding my windows activation issue.(every 10 mins a pop up shows " windows about to expire")PC settings show my windows will expire on 16th Dec if activation not done.
    1. On the first day i was told to update the windows and install it, i did that
    2. on second day i was send a link to update bios, i did that but no use.
    3. on the third day i talked over 50 mins on phone and some thing was installed through command prompt.nothing happened
    so than customer executive remotely accessed my computer again installed some files and told me to call next day.
    4. next day i was told to take backup on an external disk, and my system was restored, still nothing happened.
    After all this mental trauma and huge loss of work and time, today i decided to connect with Microsoft people.
    5. Now they asked "please ask HP for your product key" for you pre-installed windows. They should provide it"
    6. the Microsoft executive checked my system for key and suggested
    that the current key is only a trial version or test key and that is why this problem is persisting.
    Sir/ Madam this is a new laptop, and i have been so tensed and now i am loosing patience.
    Your executives give time and then they just don't call, even if they do it is not on suggested time slot.
    I request you to kindly resolve this matter ASAP. Please arrange a call back today between 9 AM to 11 AM, with a senior person who can answer all queries.
    An annoyed customer
    Thanks and Regards,Priyanshu Jaiswal

    Hi @PriyanshuJ ,
    I have brought your issue to the attention of an appropriate team within HP. They will likely request information from you in order to look up your case details or product serial number. Please look for a private message from an identified HP contact. Additionally, keep in mind not to publically post ( serial numbers and case details).
    If you are unfamiliar with how the Forum's private message capability works, you can learn about that here.
    Regards,
    George
    I work for HP

  • Slow response from user input

    Hi.
    I have a very strange problem with some of my clients. Sometimes they experience a huge delay between key pressed on keyboard and actual character printed on monitor. So there is a simple text item involved and when the user starts typing the delay could be two or even three seconds between user input (each character) and actual forms displaying it.
    First I suspected network contention but I am not quite sure if there is any network traffic (client browser -> application server) involved while user is typing text into text item. Next I tried to monitor clients machine processes (like anti virus program) but no luck. I have also tried various JRE versions but again no luck.
    I am using 11.1.2.1 version of forms with Mozilla and JRE 1.6.35 on client side.
    Does anybody have/had similar experience? Any suggestion in helping resolving the issue appreciated.
    Also I am really curious what is happening (is there any network traffic involved) while user is typing text into text item where there is no trigger on that item except when_validate_item.
    Best regards.

    Also I am really curious what is happening (is there any network traffic involved) while user is typing text into text item where there is no trigger on that item except when_validate_item.Unless you have implemented a Java Bean on the item to monitor the keystrokes in the field, no events are trigger by the act of typing characters in a field. The act of typing characters in a field occurs completly on the client - no network traffic at this point. Only when a field event occurs (navigation away from the item) will an event occur that would cause network communication between the client and the appilcation server.
    Sometimes they experience a huge delay between key pressed on keyboard and actual character printed on monitor. I encountered something similar to this with a user once who complained about how slow the application ran on their computer. The slowness was intermitant and there was no apparent pattern. Like you, I looked at JRE and other things. Finally, told the user to call me when the slowness occured so I could come look at the computer while it was occuring. Turns out, the user had at least 30+ applications running at the same time. The workstation was running Windows XP with 2gb Ram. Looking at their system resources, there was no memory available and the pc was memory thrashing really bad. I had the user close all but the absolute necessary programs and our Forms application started responding quickly again. After a little user education - miraculously, the slowness problem went away. :)
    Craig...

Maybe you are looking for

  • Has a life on his own

    My iPad has a problem that comeback and goes, it has a life on his own. Think that you use your finger, and click like a maniac on the screen, fast as lightning, opening programs, edit settings, surf internet, writing etc etc.... I just let it have a

  • Terms of Payment in case of Residual Payment

    Dear All I have made a Terms of Payment K1 for my Customer. After  making a residual payment, the terms of payment for the residual amount  is coming by default 0004. But I want it should come from Original Invoice payment terms... Please guide me. K

  • Need help with program for Inner join

    Hello Experts, I need to create a list from table sbook containing booking number (sbook-bookid), customer number (sbook-customid), customer name (scustom-name) , customer class (sbook-class) and ticket price (sflight-price). I am new to ABAP and am

  • Web pages are displayed with oversize fonts and text is overlaying why

    This is what I Get If i could insert an image here to show you what my screen looks like. It would be better. If I coppy what I get in Firefox here , it displays correctly. I am using G Chrome to write you. Text is overlapping in fonts the size of on

  • Raising errors in trigger of table underlying OAF page

    we have the standard customer page of Oracle R12. We are modifying the triggers of the TCA tables to check for certain conditions during updates. In the trigger I am checking for a condition and setting an error message as follows : IF nvl(:OLD.ATTRI