Re: [PERFORM] Hash Anti Join performance degradation - Mailing list pgsql-hackers

From Robert Haas
Subject Re: [PERFORM] Hash Anti Join performance degradation
Date
Msg-id BANLkTimRjbzjqA13MLtjLf1XCini_UAAQw@mail.gmail.com
Whole thread Raw
In response to Re: [PERFORM] Hash Anti Join performance degradation  (Cédric Villemain <cedric.villemain.debian@gmail.com>)
Responses Re: [PERFORM] Hash Anti Join performance degradation
List pgsql-hackers
On Tue, May 31, 2011 at 8:43 PM, Cédric Villemain
<cedric.villemain.debian@gmail.com> wrote:
> Yes, while here I noticed that the query was long to be killed.
> I added a CHECK_FOR_INTERRUPT() in the for(;;) loop in nodeHashjoin.c.
> It fixes the delay when trying to kill but I don't know about
> performance impact this can have in this place of the code.

Well, seems easy enough to find out: just test the query with and
without your patch (and without casserts).  If there's no measurable
difference on this query, there probably won't be one anywhere.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Mark Kirkwood
Date:
Subject: Re: patch review : Add ability to constrain backend temporary file space
Next
From: Robert Haas
Date:
Subject: Re: creating CHECK constraints as NOT VALID