Load Balancing
Load balancing is an attempt to distribute connections among all the COPs of a Teradata server, rather than only using COP 1.
The basic scheme is:
IF the... |
then... |
NumberOfCOPs is not set |
OLE DB Provider for Teradata attempts to connect to the data source name, and if necessary, the server's first COP. All of the known IP addresses (both IPv6 and IPv4) for those two are used in trying to make a connection. |
NumberOfCOPs > 0 |
OLE DB Provider for Teradata chooses a COP at random on the first connection attempt; on successive connection attempts, it chooses the next COP in sequence. For each COP, only the first known IP address is used. If both IPv6 and IPv4 addresses are known, only the first known IPv6 address is used. If a COP is known to be down, it is skipped unless the time period given by the COPDownRetry attribute has expired. Note: The COP definitions is retained for the life of OLE DB Provider for Teradata. |
NumberOfCOPs is zero |
Load balancing is disabled. OLE DB Provider for Teradata only attempts to connect to the specified server name. The specific COP names are not used, and all known IP addresses (both IPv6 and IPv4) for the name are used in attempting a connection. Note: This option is more limited than not specifying NumberOfCOPs; for that option OLE DB Provider for Teradata also tries to use the name of the first COP. |
A DNS caching problem might occur when utilizing load balancing with DNS Round Robin on clients running on Windows Server 2003. For more information on this problem in Windows 2003, please refer to Microsoft Knowledge Base Article 318803.