Routing function statements
Use the following statements at the routing endpoint of a database cluster group for Aurora to create, drop, and read the routing functions that place the rows of scaleout tables. A routing function has no ALTER statement; to change one, see Changing a routing function.
A routing function uses one of the functions that Aurora provides: MOD, HASH, PREFIX, or COLUMN. For how each one places a key, see Routing functions.
| Statement | What it does |
|---|---|
| CREATE SCALEOUT ROUTING FUNCTION | Creates a routing function that maps a routing key to collocations. |
| DROP SCALEOUT ROUTING FUNCTION | Removes a routing function that no scaleout table uses. |
| SHOW CREATE SCALEOUT ROUTING FUNCTION | Returns the definition of one routing function. |
| SHOW SCALEOUT ROUTING FUNCTIONS | Lists the names of the routing functions in the group. |