Search Postgresql Archives

Re: workaround for column cross-correlation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 12, 2017 at 8:17 PM, Justin Pryzby <pryzby@xxxxxxxxxxxxx> wrote:
I know PG 10 will have support "CREATE STATISTICS.." for this..

..but I wondered if there's a recommended workaround in earlier versions ?

Not without seeing the query....
 

2) memory explosion in hash join (due to poor estimate?) caused OOM.

As far as I know, the only way a hash join should do this is if the join includes a huge number of rows with exactly the same 32 bit hash codes.  Otherwise, it should spill to disk without causing OOM.  Hash aggregates, on the other hand, are a different matter.

 Cheers,

Jeff

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux