tns
This is an old revision of the document!
Table of Contents
TNS
Some basic reminders
Original at edstevensdba.wordpress.com<br /> <br />
- The listener itself doesn’t give a flying fig about what is in tnsnames.ora. That file (tnsnames.ora) is used ONLY by client processes. In the case of dynamic registration, the database IS the client process.
- The listener is quite capable of starting with no listener.ora file at all. In this case it will start with all default values, including the default name of LISTENER and default port of 1521. For most people, most of the time, this is sufficient.
- If the local_listener parameter is not set (null) the database will send the registration request to port 1521. Notice that 1521 is also the default port of of the listener.
- If you choose to set local_listener, you can either use a full connect string 1)) or simply reference an entry in tnsnames.ora, to resolve to the address (server name and port) of the listener.
- The SID_LIST section of listener.ora has nothing to do with dynamic registration. Quite the opposite. The SID_LIST section is how you implement static registration.
Connections fail 10% of the time. How to fix?
Turn on tracing<br /> There are some settings that can help…
sqlnet.ora
Setting a value greater than 0 ensures that connections are not left open indefinitely, due to, for example, an abnormal client termination.
0@@
tnsnames.ora
The clause for LISTENER_FEUK11UD is a reference for the local_listener parameter.
1@@
Setting the local_listener in the database to the connection string instead of the connect identifier can help the debugging process…
2@@
listener.ora
Setting STARTUP_WAIT_TIME_LISTENER Setting CONNECT_TIMEOUT_LISTENER
3@@
1)
ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1421
tns.1544130327.txt.gz · Last modified: 2018/12/06 21:05 by 91.177.234.129
