Re: Partition pruning / agg push down for star schema in pg v11

2017-12-05 Thread legrand legrand
Partition pruning doen't work in this case as described at http://www.postgresql-archive.org/Partition-pruning-for-Star-Schema-td5995163.html#a5995168 Partition wise join works for ONLY ONE dim table (that is better than nothing). -- Sent from: http://www.postgresql-archive.org/PostgreSQL-gener

Re: Partition pruning / agg push down for star schema in pg v11

2017-12-03 Thread legrand legrand
Adding partitioning on the dim tables, with the same keys as those used in the fact table, gives any star schema a good chance to use Partition Wise Join / Aggregate plans. Will test it soon Regards PAscal -- Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html