Partitioning splits a large table into smaller physical pieces (partitions) based on a column's value — while it still appears as one logical table to queries. It improves performance and manageability for very large tables by letting the database scan or maintain only relevant partitions.
How partitioning works
orders (id , order_date , amount )
(order_date);
orders_2023 orders
() ();
orders_2024 orders
() ();
