Like organizing a filing cabinet by year — you only open the 2024 drawer to find 2024 files.
Range partitioning splits a table into child tables based on a column range. Queries for a time range only scan relevant partitions.
> logs table: PARTITION BY RANGE (created_at) > Parent table: virtual — no data stored here > Monthly partitions store the actual rows
Like organizing a filing cabinet by year — you only open the 2024 drawer to find 2024 files.
Range partitioning splits a table into child tables based on a column range. Queries for a time range only scan relevant partitions.
> logs table: PARTITION BY RANGE (created_at) > Parent table: virtual — no data stored here > Monthly partitions store the actual rows
Sign in to cast your vote
Sign in to share your feedback and join the discussion.