Doo Group interview question

How do you partition a database