Scenario: A multinational e-commerce company wants to implement data partitioning for its product database. How would you advise them on choosing between range-based and hash-based partitioning?

  • Hash-based for specific access patterns
  • Hash-based for uniform distribution
  • Range-based for easy data range queries
  • Range-based for even data distribution
When choosing between range-based and hash-based partitioning, hash-based is advised for uniform distribution and to avoid hotspots. Range-based is suitable for queries involving specific data ranges. The decision depends on the access patterns and distribution goals.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *