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
It is important that each database server has a unique name. Giving different database servers the same name can lead to identification problems.
Discuss this page in DocCommentXchange.
|Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1|