Partitioning ஒரு பெரிய table ஐ ஒரு column ன் மதிப்பின் அடிப்படையில் சிறிய physical pieces (partitions) ஆக பிரிக்கிறது, இது ஒரு logical table ஆக இருக்கிறது. PostgreSQL இன் declarative partitioning (Postgres 10+) இதை깨끗ாக செய்கிறது. இது மிகப்பெரிய tables க்கு செயல்திறன் மற்றும் நிர்வாகத்தை மேம்படுத்துகிறது.
Declarative partitioning (நவீன வழி)
orders (id , order_date , amount )
(order_date);
orders_2023 orders
() ();
orders_2024 orders
() ();
