Sigma Software interview question

What is the difference between duplicate databases, partitioning, and sharding?