Quick Answer
Partitioning splits one logical table into multiple physical segments (partitions) based on a key. Types: RANGE (by date range), LIST (by specific values), HASH (evenly distributed), KEY (like hash using MySQL's hashing). Benefits: partition pruning (queries only scan relevant partitions), faster DELETE of old data (DROP PARTITION), parallel queries across partitions. Best for time-series data with range queries on the partition key.
Answer
Partitioning splits a large table into smaller parts to improve performance, maintenance, and query speed.
S
SugharaIQ Editorial Team
Verified Answer
This answer has been peer-reviewed by industry experts holding senior engineering roles to ensure technical accuracy and relevance for modern interview standards.