Caching database server address information in sasrv.ini for faster connections

When using the Host or CommLinks connection parameter, attempting multiple TCP/IP connections or broadcasting over large networks to search for a database server of a specific name can be time-consuming. Caching database server addresses speeds up network connections by saving the following information to the sasrv.ini file to be used for subsequent connections:

  • the database server name

  • the database server's IP address

The cache file contains a set of sections, each of the following form:

[Server name]
LINK=TCPIP
Address=IP_address:port
Note

It is important that each database server has a unique name. Giving different database servers the same name can lead to identification problems.

 How the database server address cache (sasrv.ini) is used
 Location of the sasrv.ini file
 See also