Re: Partitioning Optimizer Questions and Issues

2019-02-11 Thread keith anderson
019, 13:05:04 GMT, Justin Pryzby wrote: On Fri, Feb 08, 2019 at 11:13:51AM +, keith anderson wrote: > So to summarise the findings/questions from above: > - It seems like the Postgres optimizer sometimes uses the partition level > statistics, and sometimes the global table l

Partitioning Optimizer Questions and Issues

2019-02-08 Thread keith anderson
I am using Postgres on a large system (recording approximately 20million transactions per day). We use partitioning by date to assist with both vacuum processing time and to archive old data. At the core of the system are records in 2 different tables detailing different types of activity for mo