CommLinks connection parameter [Links]

Function

To specify client side network communications links.

Usage

Anywhere

Values

String

Default

Use only the shared memory communications link to connect.

See also

“Network communications parameters”

“-x list” in Table 1-1, Sybase IQ Utility Guide

Description

If you specify CommLinks=ALL, the client searches for a server using all available communication protocols. Since there may be an impact on performance if you specify CommLinks=ALL, use this setting only when you don't know which protocol to use.

If you specify one or more protocols in the CommLinks (LINKS) connection parameter, the client uses the named communication protocol(s), in the order specified, to search for a network database server. A connection error appears and the connection attempt aborts if the connection fails to connect using a specified protocol, even if there are protocols remaining in the list to try.

If you do not specify a CommLinks (LINKS) connection parameter, the client searches for a server on the current machine only, and only using a shared memory connection. This is the default behavior, and is equivalent to CommLinks=ShMem. The shared memory protocol is used for communication between a client and server running under the same operating system on the same machine.

Available values of the CommLinks parameter are as follows:

Each of these values can have additional network communications parameters supplied. For a list of parameters, see “Network communications parameters”.

You may wish to use a specific protocol, as opposed to ALL, for the following reasons:

Additional network communications parameters may be provided for each link, to tune the broadcast behavior of the link.

The CommLinks parameter corresponds to the database server -x command-line switch. By default, the network server starts all available protocols, which is equivalent to -x ALL.

Examples