Post

Partitioning, Sharding

βœ… Partitioning

divide big table into small several tables

  • πŸ‘πŸ» improve query performace
  • data is physically divided into seperate tables
  • but user can access the data as if it is on the same table

  • πŸ†š save all data on one computer

βœ… Sharding

save divided data in small unit
on several DB server with same schema

  • shard: small unit to divide data into
  • one of parallel partitioning

  • πŸ‘πŸ» query performace
  • πŸ‘πŸ» balance overhead
  • πŸ‘πŸ» parallel scale-out of DB

  • πŸ†š save data on several computers
This post is licensed under CC BY 4.0 by the author.