Summary of Steps:. Note: The environment path should not have a trailing slash; if the format of the path is incorrect, users may encounter an ORA error. If the Oracle client is installed on your server, the tnsnames. You can verify if this file exists with the following commands:.
Note: It is not necessary to have the Oracle client installed to use tnsnames. This step is simply to help you work with any existing installation. If no tnsnames. Keep in mind the following restrictions:. Below is a potential template for an entry. Elements in brackets must be replaced by values obtained from your database administrator. For example:. Under System Variables, click New. Restart your computer to ensure that the new variable is recognized. Step 2: Use the Oracle net service name to connect to Oracle in Tableau.
Close all open Tableau workbooks and open a new instance of Tableau. Enter username and password as appropriate. To do so:. Logon as Administrator. Click Start? From System Properties, select Environment tab. Highlight OS in the list of Systems Variables. Change the Value to the file path where the configuration files will reside. Click set , then apply. Click OK to close window. A separate net service name must be created for the failover node.
TYPE : Specifies the type of failover. For example, if a user's connection is lost, then a new session is automatically created for the user on the backup. This type of failover does not attempt to recover selects. However, this mode involves overhead on the client side in normal select operations.
NONE : This is the default, in which no failover functionality is used. This can also be explicitly specified to prevent failover from happening. This option requires almost no work on the backup database server until failover time.
This provides faster failover but requires that the backup instance be able to support all connections from every supported instance. Shared server must be configured in the database initialization file in order for the client to connect to the database with a shared server process.
The server CMAN listener will route the connection to a gateway that has a tunnel connection to the requested client ID. When you configure Kerberos authentication for an Oracle Database client, you can specify multiple Kerberos principals with a single Oracle Database client.
This is an optional parameter. When specified, it is used to verify if the principal name in the credential cache matches the parameter value. Each Kerberos principal must have a valid credential cache.
The security section of the tnsnames. To change the security properties of the connection. Parent topic: Security Section. The server DN must be known by the client ahead of time. The client uses this information to obtain the list of DNs it expects for each of the servers, enforcing the database server DN to match its service name. For partial DN matching, do not include this parameter. Use this parameter with the sqlnet. This means that the clients will initiate multiple TLS connections using different TLS certificates, in the same client process.
Use this feature if you have a single client that must rely on more than one TLS session. An example would be for a client that requires access to multiple pluggable databases PDBs , each with its own identity certificate.
This feature enables you to configure the client to connect to the correct identity for each PDB. After the configuration is complete, multi-threaded clients will be able to access more than one wallet with different certificates in simultaneous TLS sessions. This parameter denotes a connection specific wallet. You can use this parameter when different connections need to use different wallets on the clients side. The timeout section of the tnsnames. To specify the timeout duration in ms , sec , or min for a client to establish an Oracle Net connection to an Oracle database.
It includes the time to be connected to the database instance providing the requested service, not just the duration of the TCP connection. It accepts different timeouts with or without space between the value and the unit. In case, no unit is mentioned, the default unit is sec. Parent topic: Timeout Parameters. To specify the delay in seconds between subsequent retries for a connection.
To specify the transport connect timeout duration in ms , sec , or min for a client to establish an Oracle Net connection to an Oracle database. The default value is 60 seconds. To specify the time, in ms , sec , or min , for a database client or server to wait for data from the peer after establishing a connection. The peer must send data within the time interval that you specify.
Setting this parameter for clients ensures that receive operations are not left in a wait state indefinitely or for a long period due to either server host being down or server busy state or network connectivity.
The compression section of the tnsnames. Parent topic: Compression Parameters. The compression levels are used at the time of negotiation to verify which levels are used at both ends, and select one level. Use this parameter to specify if an application needs a new session that is not tainted with any prior session state or to reuse a previous session.
Previous Next JavaScript must be enabled to correctly display this content. Overview of Local Naming Parameters This section provides an overview of Oracle Net service names local naming parameters. General Syntax of tnsnames. Using Multiple Descriptions in tnsnames.
Multiple Address Lists in tnsnames. Optional Parameters for Address Lists For multiple addresses, you can use the optional parameters to configure address lists. Connection Data Section Learn how to configure network connections with protocol addresses. Security Section Timeout Parameters The timeout section of the tnsnames. Compression Parameters The compression section of the tnsnames.
If the file is not found in the directory specified, then it is assumed that the file does not exist. With Oracle Instant Client, the tnsnames.
0コメント