

# Managing data placement

In a database cluster group for Aurora with routing enabled, you decide where each database, table, and set of rows lives, and when data moves. After you design the placement, as described in [Designing data placement](databaseclustergroups-choosing-routing.md), you change it with the tasks in this section. Placement follows a cycle that you repeat as the workload grows:

1. **Design.** Choose the mapping level, the routing key, and the collocations. For more information, see [Designing data placement](databaseclustergroups-choosing-routing.md).

1. **Place.** Write data mappings, routing functions, and scaleout tables at the routing endpoint, and keep the schemas of the member clusters consistent.

1. **Observe.** Compare the load on each member cluster, and find the collocations and keys that carry it. For more information, see [Troubleshooting uneven load across member clusters](databaseclustergroups-ts-uneven-load.md).

1. **Move.** Move collocations onto the member clusters that have spare capacity, one collocation per move. To run on more or fewer member clusters, add or remove member clusters and move collocations. For the moves that the group offers, see [Moving data between member clusters](databaseclustergroups-data-movement.md).

You make these changes with SQL, at the routing endpoint or on a member cluster (direct). For when a change to data mappings reaches the routing layer, see [Applying data mapping changes](databaseclustergroups-data-mappings.md#databaseclustergroups-when-a-data-mapping-change-takes-effect). Export the mappings before and after each change, as described in [Exporting the mappings before and after a change](databaseclustergroups-changing-mappings.md#databaseclustergroups-export-mappings).

The following table shows where to find each task.


| Task | See | 
| --- | --- | 
| Add, repoint, rename, or remove data mappings | [Changing data mappings](databaseclustergroups-changing-mappings.md) | 
| Change how a scaleout table maps keys to collocations | [Changing a routing function](databaseclustergroups-changing-routing-function.md) | 
| Move a collocation to another member cluster | [Moving data between member clusters](databaseclustergroups-data-movement.md) | 
| Find a busy member cluster and what makes it busy | [Troubleshooting uneven load across member clusters](databaseclustergroups-ts-uneven-load.md) | 
| Spread data across more or fewer member clusters | [Rebalancing member clusters](databaseclustergroups-rebalancing.md) | 
| Run DDL on every member cluster and keep them consistent | [Rolling out schema changes](databaseclustergroups-schema-changes.md) | 
| Bulk load data into member clusters, or import it from outside Aurora | [Loading data into member clusters](databaseclustergroups-loading-data.md) | 
| Copy data yourself, or rewrite many rows in small batches | [Copying data and running backfills](databaseclustergroups-backfill.md) | 

**Topics**
+ [Changing data mappings](databaseclustergroups-changing-mappings.md)
+ [Changing a routing function](databaseclustergroups-changing-routing-function.md)
+ [Moving data between member clusters](databaseclustergroups-data-movement.md)
+ [Rolling out schema changes](databaseclustergroups-schema-changes.md)
+ [Loading data into member clusters](databaseclustergroups-loading-data.md)
+ [Copying data and running backfills](databaseclustergroups-backfill.md)