Domanda di colloquio di Zeller

How does database sharding work? How was a database indexed?