Oddbean new post about | logout
 Partitioning in databases is a crucial technique for optimizing performance and improving manageability. There are two main types: horizontal partitioning and vertical partitioning.

Horizontal partitioning divides tables into smaller pieces based on rows, improving query performance and manageability through range, list, and hash partitioning. For example, a sales table can be partitioned by date to improve query performance.

Vertical partitioning divides tables into smaller tables based on columns, enhancing performance and data integrity through normalization, BLOB separation, and in-memory storage. Normalization reduces redundancy and improves data integrity by splitting larger tables into smaller, related tables.

By understanding these different partitioning techniques, database administrators can make informed decisions to optimize their databases for better performance and management.

Source: https://dev.to/mrcaption49/summary-of-horizontal-and-vertical-partitioning-16j2