Cognitive Scaffold

Preparing your thinking workspace

arrow_back_ios_new
MENTAL MODEL · M2752

Sharding

Sharding
BusinessHigh supportManagement
Included
account_tree

Version 1.0.0 · Updated 2026-07-30

CORE DEFINITION

When a database becomes too large for a single machine to handle, it is horizontally split into multiple independent shards, each storing a portion of the data and distributed across different servers.

SCAFFOLDING EFFECT

psychology

Reduce cognitive load

- Infinite scalability: As a company grows, don't try to have one CEO manage everything (single-machine bottleneck). "Shard" the company into multiple independent business units (Amoeba/divisions), each responsible for its own profit and loss, achieving horizontal scaling.

anchor

Anchor fast decisions

Horizontal sharding distributes data rows to different physical nodes based on a shard key (e.g., modulo of user ID), with each node responsible for a subset. The mechanism is "divide and conquer + shared-nothing"—a single node failure or capacity limit does not affect the whole, and scaling is achieved by adding nodes (horizontal scaling).

MINIMUM ACTION

In progress 0/4

Practice this model in one real situation:

Check to track your progress (stored locally)
Learning progress0%
account_treeGenealogyexpand_more
menu_bookReferencesexpand_more

Source support: Explicit

  • link
    en.wikipedia.orghttps://en.wikipedia.org/wiki/Shard_%28database_architecture%29ZH · Explicit
    verified

RELATED MODELS