Site icon IT Tutorial

sqlnet.ora file in Oracle

I will explain sqlnet.ora file in Oracle in this post.

 

sqlnet.ora file in Oracle

The sqlnet.ora file is very important file for database server and client machines, because it includes the profile configuration file ( tracing options, encryption, route of connections, external naming parameters etc).

Database server can be configured with access control parameters using the sqlnet.ora file.

 

 

 

sqlnet.ora location

sqlnet.ora is located under $ORACLE_HOME/network/admin directory.

 

Sample sqlnet.ora file is as follows.

 

NAMES.DIRECTORY_PATH= (LDAP, TNSNAMES, HOSTNAME) 
NAMES.DEFAULT_DOMAIN = ORACLE.COM
TRACE_LEVEL_CLIENT = ON
SQLNET.EXPIRE_TIME = 60
SQLNET.IDENTIX_FINGERPRINT_DATABASE = MSDB
AUTOMATIC_IPC = ON
SQLNET.AUTHENTICATION_SERVICES = (ALL)
SQLNET.CRYPTO_CHECKSUM_CLIENT = ACCEPTED
TNSPING.TRACE_DIRECTORY = /u01/app/diag/traces

 

 

You can create the sqlnet.ora file by running the Network Configuration Assistant (NETCA) tool.

My sqlnet.ora file is as follows.

 

[oracle@MehmetSalih ~]$ cd $ORACLE_HOME
[oracle@MehmetSalih install]$ cd network/admin/
[oracle@MehmetSalih admin]$


[oracle@MehmetSalih admin]$ cat sqlnet.ora
# sqlnet.ora Network Configuration File: /oradata/install/network/admin/sqlnet.ora
# Generated by Oracle configuration tools.

NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)


SQLNET.ALLOWED_LOGON_VERSION_SERVER=8
SQLNET.ALLOWED_LOGON_VERSION_CLIENT=8




You can read the following post to learn more details about TNS_ADMIN.

TNS_ADMIN Environment Variable in Oracle

 

Tnsping Tips in Oracle

 

 

Do you want to learn Oracle Database Performance Tuning detailed, then Click this link.

Performance Tuning and SQL Tuning Tutorial in the Oracle Database

 5,979 views last month,  2 views today

Exit mobile version