Interactive Visualization
Database Sharding — Hash-based Partitioning
Incoming Key
—
waiting...
Hash Function
shard = hash(key) % N
Shards (N=4)
Click a button or wait for auto-insert to see sharding in action
👤 Insert User
📦 Insert Order
🏷️ Insert Product
⚡ Bulk Insert (20)
🔄 Reset