Explain the concept of database partitioning vs sharding.

Technical