Skip to content

Choosing a shard key

A submissions table is sharded across 8 machines. Queries are almost always "all submissions by this student".

Which shard key serves that best?