Partitioning Strategies for Distributed Databases
Source: https://arpitbhayani.me/blogs/data-partitioning Date: 2022-01-24
Learn database partitioning! Scale reads/writes & improve availability by splitting your database. Explore horizontal/vertical strategies.
Partitioning plays a vital role in scaling a database beyond a certain scale of reads and writes. In this essay, we take a detailed look into Partitioning basics and understand how it can help us scale our Reads and Writes beyond a single machine.
What is Partitioning?
A database is partitioned when we split it, logically or physically, into mutually exclusive segments. Each partition of the database is a subset that can operate as a smaller independent database on its own. A database is always deterministically partitioned on a particular attribute like User ID, Time, Location, etc., allowing all records having the same attribute value to reside in the same partition. This will enable us to fire localized queries on a partitioned attribute.




