Sharding
Last updated
What is Sharding?
Sharding is a type of database partitioning that separates very large databases into smaller, faster, more easily managed parts called data shards. The word shard means a small part of a whole. Each shard is held on a separate database server instance, to spread load and reduce the risk of a single point of failure. Sharding can be done on a horizontal or vertical basis. Horizontal Sharding, also known as data sharding, involves putting different rows onto different tables. Vertical Sharding, on the other hand, involves putting different columns onto different tables. It's possible to shard on the basis of certain columns, and databases can be sharded in many different ways. Sharding is a complex process, but proper planning can allow for increased scalability and performance improvements.
Free resources to learn Sharding
More in stage 13: Multithreading
Sharding: common questions
Can I learn Sharding in Hindi?
This lesson is written in English. Once you sign in, open it in the interactive course and ask the AI tutor to explain Sharding in Hindi or Hinglish. The tutor answers from this lesson’s own text, so it stays on the syllabus, and it runs on your own Google, OpenAI or Anthropic key.
Is this Sharding tutorial for beginners?
It is lesson 68 of 156 in the free Server Side Game Developer roadmap, in stage 13, Multithreading. If you are new to Server Side Game Developer, start from stage 1 and come back here in order; if you already know the earlier stages, this lesson stands on its own.