Read Requests for Managed Routing - Teradata Unity

Teradata Unity User Guide

Product
Teradata Unity
Release Number
16.10
Published
January 2018
Language
English (United States)
Last Update
2018-03-29
dita:mapPath
anz1496162519675.ditamap
dita:ditavalPath
ft:empty
dita:id
B035-2520
lifecycle
previous
Product Category
Analytical Ecosystem

Unity routes session Read requests to a single Teradata Database system. If no routing rules are defined for a client logon, Unity provides a default routing rule (DefaultRouting).

When the requested data resides in tables on a subset of Teradata Database systems, the Sequencer determines which Teradata Database systems have all of the tables requested in the Read operation.

The algorithm selected for routing depends on both the routing rule specific to the session client logon and current system and table states. Only tables in Active or Read-Only state are available for reading. If there are no tables in Active or Read-Only state, but one or more tables are in Standby state, then Unity uses one of the tables in Standby state for the Read operation.

In a managed routing session, Unity automatically load balances incoming read requests across all systems that have the needed tables. To do this, it keeps track of the number of outstanding requests on each system and sends the next read to the system with the least number of outstanding requests. Unity includes the EnableIncludeReadsInLBQ configuration setting. If set to true, the count of outstanding reads is included in the count of outstanding requests for load balancing in managed sessions. If set to false, only the outstanding writes are counted.