

# Variables, character sets, and statements the routing layer answers

The routing layer of a database cluster group for Aurora keeps one session for each client connection. It reads a few session variables of its own, holds or forwards your other settings, and answers some statements from its own state. A direct connection to a member cluster behaves like a connection to a standalone Aurora DB cluster, so the topics in this section apply to sessions at the routing endpoint.

**Topics**
+ [Where the routing layer answers a variable or statement](#databaseclustergroups-sysviews-session-variables)
+ [Routing layer session variables](databaseclustergroups-router-session-variables.md)
+ [Supported system variables](databaseclustergroups-system-variables.md)
+ [Status variables](databaseclustergroups-status-variables.md)
+ [Statements the routing layer answers itself](databaseclustergroups-router-answers.md)
+ [Character sets and collations](databaseclustergroups-character-sets.md)

## Where the routing layer answers a variable or statement
<a name="databaseclustergroups-sysviews-session-variables"></a>

For a session at the routing endpoint, the routing layer answers some reads and settings, and a member cluster answers others. A session pinned to a member cluster passes its statements through to that member cluster, so reads in a pinned session return the member cluster's answers. For more information, see [Session pinning](databaseclustergroups-sessions.md#databaseclustergroups-session-pinning).

The following table shows what answers each kind of read or setting in an unpinned session at the routing endpoint.


| Kind | Aurora MySQL | Topic | 
| --- | --- | --- | 
| Routing layer session variables, such as router\_cluster\_pin | The routing layer. They aren't member cluster parameters | [Routing layer session variables](databaseclustergroups-router-session-variables.md) | 
| Session settings that you set with SET | The routing layer buffers them and replays them on each member session | [Supported system variables](databaseclustergroups-system-variables.md) | 
| Table-less reads of a setting | The routing layer, from the session state that it tracks: SELECT @@{{variable}} and SHOW VARIABLES | [Supported system variables](databaseclustergroups-system-variables.md), [Statements the routing layer answers itself](databaseclustergroups-router-answers.md) | 
| Status and statistics reads | Each member cluster. At the routing endpoint, SHOW STATUS returns no rows, and other server-wide reads return an error | [Status variables](databaseclustergroups-status-variables.md) | 
| SHOW, KILL, and catalog reads | The routing layer, for a fixed set of statements | [Statements the routing layer answers itself](databaseclustergroups-router-answers.md) | 
| Connection character set and encoding | The utf8mb4 character set family only | [Character sets and collations](databaseclustergroups-character-sets.md) | 