PostgreSQL - Table Partitioning
You have a
transactions table partitioned by transaction_date (RANGE) and sub-partitioned by store_id (LIST). To optimize queries filtering by both date and store, which strategy is best?