Tagged articles
2 articles
Page 1 of 1
ITPUB
ITPUB
Mar 18, 2016 · Databases

Horizontal Table Partitioning: MD5 Hash vs. Bit‑Shift Sharding

This article explains two practical horizontal sharding techniques for large databases—using an MD5 hash of the user UID to distribute rows across 256 tables, and right‑shifting the UID to create scalable table ranges—while discussing their capacity limits and extensibility.

MD5 hashScalabilitybit shifting
0 likes · 5 min read
Horizontal Table Partitioning: MD5 Hash vs. Bit‑Shift Sharding
21CTO
21CTO
Mar 16, 2016 · Databases

How to Horizontally Partition Tables Using MD5 Hashing and Bit Shifting

This article explains two practical horizontal sharding techniques for large‑scale projects—MD5‑based hashing and bit‑shifting of user IDs—detailing their PHP implementations, scalability limits, and how to extend table counts as data grows.

MD5 hashingPHPbit shifting
0 likes · 5 min read
How to Horizontally Partition Tables Using MD5 Hashing and Bit Shifting