

# Data mapping statements

Use the following statements at the routing endpoint of a database cluster group for Aurora to read and change its data mappings. A read reaches no member cluster. A mapping write moves no data. It changes where the routing layer sends statements, and the change reaches the routing layer within a short time. For what an open session sees during that time, see [Applying data mapping changes](databaseclustergroups-data-mappings.md#databaseclustergroups-when-a-data-mapping-change-takes-effect).

On Aurora MySQL, a mapping places a database or a table.


| Statement | What it does | 
| --- | --- | 
| [SELECT FROM dbclustergroup\_sys.data\_mappings](databaseclustergroups-sql-select-data-mappings.md) | Reads the mappings: which member cluster holds each database or table, under which router name, in which collocation. | 
| [INSERT INTO dbclustergroup\_sys.data\_mappings](databaseclustergroups-sql-insert-data-mappings.md) | Adds mappings that place databases or tables on member clusters. | 
| [UPDATE dbclustergroup\_sys.data\_mappings](databaseclustergroups-sql-update-data-mappings.md) | Changes the cluster name behind a router name, or repoints or renames a collocation. | 
| [DELETE FROM dbclustergroup\_sys.data\_mappings](databaseclustergroups-sql-delete-data-mappings.md) | Removes a mapping. The object on the member cluster stays. | 

**Topics**
+ [SELECT FROM dbclustergroup\_sys.data\_mappings](databaseclustergroups-sql-select-data-mappings.md)
+ [INSERT INTO dbclustergroup\_sys.data\_mappings](databaseclustergroups-sql-insert-data-mappings.md)
+ [UPDATE dbclustergroup\_sys.data\_mappings](databaseclustergroups-sql-update-data-mappings.md)
+ [DELETE FROM dbclustergroup\_sys.data\_mappings](databaseclustergroups-sql-delete-data-mappings.md)