Description
Route queries to shards based off of which tables are used in the query. This is useful for splitting traffic between sharded and unsharded tables, keeping unsharded tables on a single database.
Example config
[[sharded_mappings]]
database = "prod"
table = "ip_blocks"
kind = "table"
shard = 0
Description
Route queries to shards based off of which tables are used in the query. This is useful for splitting traffic between sharded and unsharded tables, keeping unsharded tables on a single database.
Example config