Timesten - Client/Server Connection

> Database > (TimesTen|TT) (In-Memory Database|IMDB)

1 - About

The client application refers to the Client DSN when initiating a connection to locate and connect to the TimesTen database.

The Client DSN defines:

The Server DSN specifies the TimesTen database on that server, how the database is to be loaded, and how connections are to be managed.

Advertising

3 - Configuration

Before the client application can connect to a TimesTen database, the user must configure:

3.1 - Logical Server Name

The logical server name is an optional configuration on the client. When used, it specifies the server host name where the TimesTen database is installed. This is used when you want to hide or simplify the server host name.

You must use the logical server name when using shared memory IPC or UNIX domain sockets.

The logical server names are configured in the logical name file: TTCONNECT.INI. This file is searched:

  • first with the help of the SYSTTCONNECTINI environment variable
  • otherwise in this location daemon_home_dir/sys.ttconnect.ini

Example:

[ttserver_logical]
Description=TimesTen Server 11.2.2
Network_Address=server.mycompany.com
TCP_Port=53385

4 - How to

4.1 - disconnect client/server connections

To disconnect client/server connections, stop the server. The connections are forcefully and immediately terminated.

5 - Documentation / Reference

Advertising