Unity routes requests by request type (Read, Write, or Read/Write) or by connection type (Balanced, Default, Preferred, or Passive).
Routing by Request Type
The following table shows how various types of requests are routed in sessions that are managed (associated with a managed Routing Rule). For passive sessions, all queries go directly and exclusively to the single system where the session is open.
Request Type | Routing Rule | Types |
---|---|---|
Read | Specifies how Read requests are routed across Teradata systems. | Default, Preferred, and Create Routing-Preferred. |
Write | Specifies which systems are involved in processing Write requests for a session. | Default, Create Preferred, and Create Balanced. |
Read/Write | Specifies how Read and Write requests are routed for a session. | Default and Preferred. |
Routing by Connection Type
Session routing determines how Read and Write requests are routed from the client application or user to Teradata Database systems. This table shows routing behaviors based on connection type.
Connection Type | Session Source | To Add Routing Rule | Routing Behavior |
---|---|---|---|
BALANCED: User connection, as defined in user mapping, connects to multiple systems that are load balanced for optimum performance. |
|
|
If CREATE ROUTING - BALANCED routing is selected:
|
DEFAULT: User connection that matches the defined user mapping, connects to any system defined by the Default routing rule. Used by Unity when a routing rule is not specified for the userid in the user mapping. |
|
|
|
PREFERRED: User connection, as defined in user mapping, connects to
Options are:
|
|
|
If CREATE ROUTING - PREFERRED routing is selected:
If both Read Preferred and Create Routing Preferred options are specified, the system lists must be identical, Moving or failing over data requires that the new preferred system be able to apply the rules of both the Read Preferred and Create Write Preferred routing.
|
REJECT LOGON: Connections from the specified user are rejected by Unity. |
Sessions are not allowed, and the connection is rejected. |
Not applicable | Not applicable |
PASSIVE: User connection matches a User Mapping, as defined in the associated passive routing rule. This rule is used to open a connection to a single system. |
|
|
Unity also allows for manual Failover of a session.
|