Schema for routing of database connections to shards