Oracle connection faster with network connection, slow when in standalone

Posted on 2009-04-26
Medium Priority
Last Modified: 2013-11-11

When I conect using sqlplus on the local machine running Oracle it connects to within a sec. However, if I pull out the network cable, and then try and connect, it takes over 20 sec. I have this repeatedly with the same results. Hence it is cumbersome for me to work with the computer in standalone. Where is the problem with the local connection (ie. without network connected?? I have even tried a loopback plug and a switch with only one machine with the same slow results. Only if the machine is part of a bigger network with my internet connection (ie. DNS setup with ISP addresses) does it work fast -- hence it leads me to believe that it has something to do with DNS. I have the machine defined in /etc/hosts as a private network machine, with a gateway and a firewall for external connection. Hence surely from a local perspective this connection should be fast. Is Oracle doing something else in resolving the name, like not looking in /etc/hosts first??


Question by:harrichr
LVL 48

Accepted Solution

schwertner earned 375 total points
ID: 24239577
You have to activate the Loopback adapter and to make it first adapter in the list as explained here:

2.4.5 Installing a Loopback Adapter


Author Closing Comment

ID: 31574698
The link provided valuable information  understanding the network/standalone operation of Oracle. However, for now I just remove the DNS setting and Oracle works fine in standalone. However, when I get on to network I add DNS values in again.

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.
Suggested Courses

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question