Oracle TNS
The Oracle Transparent Network Substrate is a proprietary networking protocol used by Oracle Database to facilitate communication between clients and database servers. It operates at the Application Layer and typically uses TCP port 1521 by default.
TNS is responsible for establishing and managing database connections in an Oracle environment. Its main features are:
Client-to-database communication over a network
Session multiplexing and load balancing
Secure authentication and encryption
High Availability using failover and clustering
In short, the client-side Oracle Net Services software uses the tnsnames.ora file to resolve service names to network addresses, while the listener process uses the listener.ora file to determine the services it should listen to and the listener's behavior.
A tnsnames.ora file looks similar to this:
And a listener.ora file looks similar to this:
Last updated
Was this helpful?