[PERFORM] IS NOT NULL and LEFT JOIN

2014-10-18 Thread Laurent Martelli
Hello there, I have a strange query plan involving an IS NOT NULL and a LEFT JOIN. I grant you that the query can be written without the JOIN on user_user_info, but it is generated like this by hibernate. Just changing the IS NOT NULL condition to the other side of useless JOIN makes a big di

Re: [PERFORM] Yet another abort-early plan disaster on 9.3

2014-10-18 Thread Tomas Vondra
On 17.10.2014 19:25, Greg Stark wrote: > On Wed, Oct 15, 2014 at 7:02 PM, Tomas Vondra wrote: >> If you know the title of the article, it's usually available >> elsewhere on the web - either at the university site, or elsewhere. >> I found these two articles about block-based sampling: >> >> >>