Oracle connection will slow while in network.............

dear friends...
i connected oracle with jdk1.5
while connecting i give IP address... its very slow. instead of this i gave ' localhost' its very fast....
how can i connect thro network......(because oracle & tomcat server are in different machine)
is there any problem in driver or my connection................
i used thin driver for connection..........
please tell your suggestion
thanks

Hi,
I would consider the network as the bottleneck
Frank

Similar Messages

  • PHP Oracle connection randomly slow

    Hello,
    I have a very strange problem concerning the connection to a oracle database with php. Sometimes the same SQL-Statement takes a very long time to load for no obvious reason (more than 5 minutes). But if you try it later it pops up at once. During the waiting time Toad is just showing "SQL*Net message from client" for the session.
    Here the code:
    $db = "<connection string>";
    $c = oci_connect("user", "pwd", $db);
    $s = ociparse($c, "select content from database WHERE CATEGORY = '$category'");
    if(ociexecute($s)) {
    while (ocifetch($s))
    echo ociresult($s, "CONTENT");
    Maybe I should also mention that I'm using a page with frames with a navigation bar on the left which loads the code in the frame on the right with the variable $category. We are using Oracle9i Release 9.0.1 .
    I would really appreciate any help.

    Perceived slowness is something that is dealt with by using process called "tuning". Tuning process requires an extensive knowledge because it should go from end to end, starting with the application. There may be an issue with your application, database, operating system, middle tier or network and one has to know all of the above to be able to tune the application properly. It's always the application one tunes, because it's the application that makes the end users unhappy. In your posts, there is not enough information to even begin thinking about tuning, so I will outline the tuning process for you. One always begins the tuning process by blaming the network and by letting the network engineers use sniffer and dig out the slow component. Typical response from the network people is "network is OK but the server XXX is slow with responses
    and that's what causing the timeouts"). Now you know where the problem is so you can concentrate on a single server and figure out what the problem is. Whatever the problem is, it is usually solved by improving the cache hit ratio by increasing the SGA. Network engineers are
    used to that and they do not mind, but if you want to be mr. nice guy, you can go directly to your boss and ask him for more memory. That is so called modified method C, by Cary Millsap. That is why it's called "method C".

  • Oracle connection extremely slow(Oracle 11G on Linux RHEL4)

    Hi guru,
    In my production database connection suddenly starts taking significant time like 10-15 seconds.
    even I try to connect from same machine by using following command :
    sqlplus system/impetus@DB
    it is taking more then 10 seconds every time
    whereas if I use follwing command :
    sqlplus system/impetus
    connection is instant (taking only few milliseconds)
    We also used tnsping which is also instant ...
    any clue

    The problem is of course the DNS entry (as indicated in one of the responses above) configured either at OS installation or later. Whatever the case, it is of primary improtance. On the other hand, one might have to prepare Oracle totally disconnected from the network (which is what I prefer, anyway). This is what I usually make sure off before proceeding and I also get a static IP from my administrator first (although not a must):
    Example
    eth0 interface (static):
    IP : 192.168.1.101
    SM : 255.255.255.0
    GW: 192.168.1.101
    DNS: 192.168.1.101
    /etc/hosts :
    127.0.0.1 localhost
    192.168.1.101 myhost.acme.com myhost (replace myhost with your actual server hostname)
    The above entires are a minimum for a succesful Oracle DB installation. Assuming you have completed the installation and have a created a database, you will find all connections working "normally" and the way it should.
    Finally, (after I'm satisfied alls well), I get my network administrator to give me the correct entries for GW, DNS and make the necessary substitutions in the lan interface and /etc/hosts. Or have the administrator do it for you.
    Hope this helps.

  • One machine connecting very slow on home network

    Hi,
    I have what appears to be a werid situation. I have, at this very moment, an iBook G4, an iMac G4 and an iMac G5 all connected via Airort (Extreme) to an Airport Express (which is on the net). The iBook and the iMac G5 all connect quite quickly (2 Mbps). The iMac G4 connects at less then 20 kbits per second.
    There appears, I think, to be some networking setting "out of whack" which is causing it to network very slowly. (or, another possibility, is that the Airport card is damaged).
    I have looked (by comparing the sick machine to the good machines) at every network setting I could think of, but, to no avail.
    I have all three machines side by side. I am running a DSL speed test. The two good machines clock in at 2 Mbps, the sick machine at 20 kbps.
    They are all using Airport (Extreme) to talk to the same AE.
    Weird.
    Tom

    Follow up information...
    When I chcked the "Interference Robustness" option on the Airport menu item, the problem resolved itself. The iMac G4 is now as fast (over 2 Mbps) on my DSL connection as the iBook G4 two feet to the left and the iMac G5 two feet to the right.
    Odd as it seems, three machines on a desk, one required that option the other two did not.
    Tom

  • Why won't my iPhone connect to the Internet? It will goes days with no connection, then suddenly have a connection for a while. I am on the Sprint network.

    Why won't my iPhone connect to the Internet? It will goes days with no connection, then suddenly have a connection for a while. I am on the Sprint network.

    Have you contacted Sprint?  See if they can resolve your issue, if you can't get 3G.

  • My iPhone connects to a hotel network but my iPad3 while it shows connected will not connect to the Internet.

    My iPhone connects to a hotel network but my iPad3 while it shows connected will not connect to the Internet.

    Welcome to the support community group.
    First, are you sure that your AirPort Extreme has been configured correctly and is properly connected to your modem?
    Begin by telling us how you have things connected and if the Airport Extreme is replacing a previously owned router or is this an entirely new installation?
    First be sure that your modem is working and properly connects you to the internet using an ethernet cable directly connected to your laptop.  Once you're sure that's working, reset the AirPort to factory defaults by disconnecting it from power and pressing and holding in the small reset button on the back  for 15 - 20 seconds while you reconnect it to power.  Then turn everything off for 5 minutes. Connect the Airport to your modem with and ethernet cable to the Airport WAN port on the back (check the user guide to make sure you connect the cable to the correct port) then connect a second ethernet cable between the laptop and one of the LAN ports on the AirPort Extreme.
    Then power up the modem first, wait 5 minutes and then power up the Airport, wait 5 minutes and finally power up your laptop.
    Then run the airport configuration utility from your laptop.  Since you're not using an Apple computer, be sure that all of your firewall, and virus blocking and checking software is disabled before you run the airport configuration utility.  Once you run the utility, it should detect your AirPort and allow you to use the configuration wizard to set things up.
    Check back if you're still having problems.

  • The connection has failed while creating a New Repository using Oracle BI 11g Administration Tool

    hi
    In the BI Administration Tool when i try to create a “New Repository…” faced The connection has failed I try all of these solutions but dident work..
    1-configured my “System DSN"
    2-enter “TNS_ADMIN” for the “Variable Name” field and for the “Variable Value” enter the location of my OBIEE
    3-copy the sqlnet and tnsnames.ora files into E:\obiee11gtmt\Oracle_BI1\network\admin and E:\obiee11gtmt\oracle_common\network\admin
    4- put this in DSN with connection type OCI 10g/11g (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = IP Addr)(PORT = 1521)) ) (CONNECT_DATA = (SERVICE_NAME = ORCL) ))
    please help me
    regard

    1.Place tnsnames.ora file in the following paths,
    E:\obiee11gtmt\oracle_common\network\
    E:\obiee11gtmt\Oracle_BI1\network\admin
    2.Navigate to
    E:\obiee11gtmt\instances\instance1\bifoundation\OracleBIApplication\coreapplication\setup\
    Open user.sh file in a notepad
    Set Tns_names paths as shown below with your tnsnames.ora file’s location,
    set TNS_ADMIN=C:\oraclexe\app\oracle\product\10.2.0\server\NETWORK\ADMIN
    The above path is of your installed Database tnsnames.ora file
    I guess you didnt do this step. This will solve your issue.
    Restart all the services
    If helpful, please mark the answer.
    Srikanth

  • MBP to MacPro Network Connection Deadly Slow

    I recently purchased an Intel MBP, and am connected to my home network wirelesly via a Belkin N1 router. Connecting to the Internet works just fine: speed is good, connection is strong, etc.
    But connecting to shared drives over my home network - specifically, those on my MacPro - has become deadly slow. It can take hours to transfer files of a few MBytes. The MacPro is connected to the network via Ethernet. It has four full drive bays. The Internet performance (e.g., web browsing) on the MacPro is fine.
    I previously has a PowerBook G4, and it did not have this problem - network speeds worked fine. It's only after I moved to the MBP that this started.
    This problem occurs even if a connect the MBP to the network with an Ethernet cable.
    Any suggestions are appreciated.
    MacBook Pro/PowerMac   Mac OS X (10.4.9)  

    William:
    I've got DHCP turned on in the Belkin, so it's handing out IP addresses. The router does connect to a switch, and I haven't tried a different port on the switch, or resetting it, but I will.
    One other thing to note - I have a Mac Mini as well; the Mini runs wirelessly. The connection from the MBP to the Mini has slowed down as well.
    I was going to pick up an Airport Express router this afternoon and try it. If nothing else, I'll have a nice collection of Apple hardware...
    Thanks for the feedback.
    MacBook Pro/PowerMac   Mac OS X (10.4.2)  

  • Macbook Pro/linksys wrt54g slow wireless/wired network connection solution.

    I was pulling my hair out looking for a solution for this and it did not seem anyone had too much luck here. Hopefully this will help you all...
    Setup:
    - Macbook Pro, Mac mini, 2 windows boxes (not mine), 1 linux box
    - Linksys WRT54G v6 with dd-wrt installed. This solution should work with the standard WRT54G firmware.
    Symtoms:
    - All other computers performed fast on internet speed tests and on network transfers.
    - Macbook Pro Internet connection was slow (40KB/s on both the wired and wireless network using wpa)
    - Macbook Pro internal connection was slow (2MB/s on both the wired and wireless network using wpa)
    Things I tried to resolve this:
    - Disable IP v6 (no effect)
    - Set DNS Servers field to the dns servers as reported by the router. (Increased the initial speed but this quickly decreased making it useless... not to mention impractical)
    Thing that resolved my issue.
    - Disabled STP (Spanning Tree Protocol) on the router. In the DD-WRT it is towards the top of the Setup tab. I'm not sure where it is on the default firmware sorry.
    Hope this helps someone
    Mac mini 1.42 Ghz   Mac OS X (10.4.7)  

    Steve Caplin wrote:
    Darin,
    You're right - there are a lot of issues about MBP WiFi. I think there's a major problem with it.
    If there was a ..."major problem with it" you would see more complaints than wifi just being among the top 10 discussion items in a trouble shooting forum. There are millions of MBP users many of whom, like myself, use wifi every day without issue.
    Your statement "They exchanged it for a new machine. Worked fine in the store - but when I got it home, I was still getting very slow speeds." would lead one to suspect maybe interference from some source or a configuration issue rather than a "major problem".
    You probably already tried changing the channel, resetting your router, changing the security scheme, elimination possible sources of interference, separating your components (router, computer, external monitor, ...), etc. but maybe starting over with a default configuration will help isolate the problem.

  • HT1766 I have an ipad3(wifi +cellular). Now i want to upgrade my iOS5.1 to ios 7. But download speed in our country is too slow(100kbps). It can be disconnected anytime. Is there any problem if net connection get disconnected while upgrading ios? Please a

    I have an ipad3(wifi +cellular). Now i want to upgrade my iOS5.1 to ios 7. But download speed in our country is too slow(100kbps). It can be disconnected anytime. Is there any problem if net connection get disconnected while upgrading ios? Please ans me.

    There is something Definitely wrong with iOS 7 regarding DATA USAGE being logged to wireless carrier in for WIFI instead.
    I read all the previous replies and same issue.
    I rarely use my mac to sync....its all wifi sync for the last 2 years....never had this issue before... and i know it began with iOS7.... here is why....
    My iPhone was at home when I updated to iOS7 connected to wifi...but it logged Data Usage to Rogers Wireless (700MB approx)...data will never do an update over 50mb in app store (it gives the warning to use wifi) I play a lot of games and pay for them so I always update through App Store.  2 weeks later, simposons halloween update (650mb)...at home, using wifi.
    Rogers told me there was 700+mb data usage on the day of update and 650+mb data on oct 1.st (tapped out).
    Went over my 6GB plan and paid the fees.
    This has never happened before...It must come to apples attention by now...

  • Will using the old express slow down my network?

    I want to setup a network without being connected to the internet, with an Extreme N connected to an external drive, AppleTV, and Airport Express for music.
    1. If I use the old Express that is not running at N speed, will this significantly slow down my network?
    2. If I setup my network with the old one and later upgrade to the new one, is it a big deal to delete the old one off the network and add the new one?
    Thanks.

    You can have an N network with a G subnetwork. You connect the WAN connector of the G router to a LAN port of the N router. You set the N router to work only at N, that is without support for G networks. Let the G router handle those.

  • Skype will not connect to my wifi 4G network

    Skype when loaded just sits there with a circle running around.  Going into tools and selecting wifi connection. the message comes up....Can't connect to your wifi try another network. My wifi is a 4Gnetwork device from Verizon.... Is this the end of Skype for me!  Gmail chat works fine and will be my default video communications.

    Make sure you are using the correct CLEAR Spot network name and password. They can be found on the label of the CLEAR Spot and under the battery. When entering letters, please use lowercase.
    If you cannot connect your computer to your CLEAR Spot 4G’s Wi-Fi network you’ll need to -
    Ensure that:
    You are connecting to the correct CLEAR Spot network (SSID) as listed within your computer’s connection manager, Look for the network named “CLEAR Spot xxx” (where xxx are the last 3 digits of your device’s MAC ID as listed on the label on the back of the CLEAR Spot under the battery).
    You are using the correct password for your CLEAR Spot Wi-Fi network. (The password is also listed on the label on the back of the CLEAR Spot and under the battery).
    Your computer supports the same type of Wi-Fi security that your CLEAR Spot’s WiFI network is using.
    No one else is connected to your CLEAR Spot using a USB cable while “Disable Wi-Fi when connected via USB” is turned on.
    If all these conditions are correctly modified...I am sure your skype will be connect to wifi.
    Mailing lists

  • "network connection timed out while downloading ios6"...to my iphone 4. Now what?? help?

    "network connection timed out while downloading ios6"...to my iphone 4. Now what?? help?
    I am using windows.

    Hey yeah I have the same problem! They told me to uninstall all apple products off my PC and reinstall and now I'm running into the same issue while trying to download itunes and everything all over again. I am currently on hold with applecare to try and get a resolution, I will update as soon as I can!

  • "Network disabled because Internet connection is slow"

    I have both a Samsung Galaxy S3 and a new Samsung Tab 3.   After a recent software upgrade, I was having connectivity issues to wireless routers.   The message I got when connecting to a secure wireless network was "Network disabled because Internet connection is slow".   I determined that I had no issues with either my phone or tablet on either an unsecure router (WiFi hotspot), or with any older router that broadcast WPA2 personal with either aes OR tkip security.   I do have a problem with connecting to any new router that broadcasts BOTH aes and tkip at the same time.   When I change the routers under my control to broadcast only aes or tkip, then I can immediately connect both my phone and tablet to the router.   There are obviously a lot of routers over which I have no control, so this needs to be fixed.  I am pretty sure that there is a problem with the latest Android software upgrade in this regard

    I am having the same problem with my Galaxy 3S since the upgrade. Have searched for settings, etc. but haven't found anything I can control. My home network is getting 54.4 down and 5.7 up! Have had this issue nearly everywhere I am connected.
    I think it needs a fix - noticed today that Verizon has doubled my DATA for free. May need it if this continues.

  • How to connect to excel document at network machine through oracle ?

    Hello !
    I am able to read excel doc at my local drive through sqlplus(oracle).
    Please help me to modify steps to access excel docs at network machine.
    steps:->
    1) start\settings\control\panel\administartive tolls\data source odbc\system dns\driver for microsoft excel (*.xls)\dns source at my local drive.
    2)C:\oracle10g\product\10.2.0\db_1\hs\admin\initNITIN.ora
    # This is a sample agent init file that contains the HS parameters that are
    # needed for an ODBC Agent.
    # HS init parameters
    HS_FDS_CONNECT_INFO = TESTDS
    HS_FDS_TRACE_LEVEL = 0
    #HS_FDS_TRACE_FILE_NAME = aetna_xls.trc
    # Environment variables required for the non-Oracle system
    #set <envvar>=<value>
    3) adding one more listener in listner.ora
    SID_LIST_HSODBC_LISTENER =
         (SID_LIST=
              (SID_DESC=
              (SID_NAME=NITIN)
              (ORACLE_HOME=C:\oracle10g\product\10.2.0\db_1)
              (PROGRAM=hsodbc)
    HSODBC_LISTENER =
         (DESCRIPTION_LIST =
         (DESCRIPTION =
         (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1555))
    4) entry in tnsnames.ora
    ABC.SCF.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1555))
    (CONNECT_DATA =
    (SID=NITIN)
    (HS=OK)
    5)lsnrctl stop listner
    6) listner start HSODBC_LISTENER
    Starting tnslsnr: please wait...
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
    System parameter file is C:\oracle10g\product\10.2.0\db_1\network\admin\listener
    .ora
    Log messages written to C:\oracle10g\product\10.2.0\db_1\network\log\hsodbc_list
    ener.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1555)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1555)))
    STATUS of the LISTENER
    Alias HSODBC_LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
    ction
    Start Date 30-JUN-2007 12:30:25
    Uptime 0 days 0 hr. 0 min. 3 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File C:\oracle10g\product\10.2.0\db_1\network\admin\listene
    r.ora
    Listener Log File C:\oracle10g\product\10.2.0\db_1\network\log\hsodbc_li
    stener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1555)))
    Services Summary...
    Service "NITIN" has 1 instance(s).
    Instance "NITIN", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    7)create database link test
    connect to "ben"
    identified by joe
    using 'ABC.SCF.COM';
    8)SQL> select * from all_objects@testin;
    OWNER OBJECT_NAME S OBJECT_ID
    DATA_OBJECT_ID OBJECT_TYPE CREATED LAST_DDL_ T S T G S
    Sheet1$ 0
    0 TABLE 30-JUN-07 30-JUN-07
    Sheet2$ 0
    0 TABLE 30-JUN-07 30-JUN-07
    Sheet3$ 0
    0 TABLE 30-JUN-07 30-JUN-07
    My queries are :
    1)Is it possible to connect to a document at network
    if yes then for , do i need to map a drive.
    please explaqin how what changes required to make it possible to read a network excel documnet through oracle.
    Thanks in Advance
    --Ajay                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hi Justin ,
    Thanks for your prompt reply ...
    I have mapped network machine folder to X:\
    now I can access this on my local machine by x:\
    And dsn it pointing to document on x:\
    then i tried to connect , but got an error.
    SQL> select * from all_objects@testin;
    select * from all_objects@testin
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC][Microsoft][ODBC Excel Driver] '(unknown)' is
    not a valid path. Make sure that the path name is spelled correctly and that
    you are connected to the server on which the file resides. (SQL State: S1009;
    SQL Code: -1023)
    ORA-02063: preceding 2 lines from TESTIN
    Do I need need any other changes in above confiiguration..
    or create link statement need to be modified...
    SQL> create database link testin
    2 connect to "SCF\ben"
    3 identified by "joe"
    4 using 'ABC.SCF.COM';
    please suggest

Maybe you are looking for

  • How can i restore my shuffle if itunes cant even detect it????

    my ipod shuffle 4 is non responsive to any of the "r" trouble shooters (with the exception to restore because it is not detectable on itunes). ive bought new cables, checked usb, updated all windows and itunes, tried wall outlet charger, tried a diff

  • Adding widgets to iWeb

    Hi there, Another question....i have added widgets to my page via the html snippet option on iWeb. What I would like to do is take it a step further and customize the look of the widget. Is this possible??

  • Install SOA suite for IDM

    Question about SOA suite installation After RCU setup creates tablespace for Identity Manager and SOA- question: how does SOA install connect or know about the tables created by RCU. Because in the SOA setup process there was no configuration for Dat

  • JApplet class key methods

    JApplet class has following key methods: public void init() public void start() public void paint( Graphics g ) public void stop() public void destroy() I have an applet that only uses the key method init() and I don't have multithreaded logic and it

  • Ibook Indigo 466SE Touchpad unresponsive when power adapter plugged in.

    I've had this power adapter for about a year now (after the OEM adapter was damaged). I mostly use this as a backup to our desktop or when traveling (which is rare due to the economy). About two weeks ago I started to notice that the touchpad was sti