Re: [HACKERS] Hashjoin status report - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] Hashjoin status report
Date
Msg-id 199905070349.XAA09836@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] Hashjoin status report  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> The Hermit Hacker <scrappy@hub.org> writes:
> >> Opinions?  Should I plow ahead, or leave this to fix after 6.5 release?
> 
> > Estimate of time involved to fix this?  vs likelihood of someone
> > triggering the bug in production?
> 
> I could probably get the coding done this weekend, unless something else
> comes up to distract me.  It's the question of how much testing it'd
> receive before release that worries me...
> 
> As for the likelihood, that's hard to say.  It's very easy to trigger
> the bug as a test case.  (Arrange for a hashjoin where the inner table
> has a lot of identical rows, or at least many sets of more-than-10-
> rows-with-the-same-value-in-the-field-being-hashed-on.)  In real life
> you'd like to think that that's pretty improbable.
> 
> What started this go-round was Contzen's report of seeing the
> "hash table out of memory. Use -B parameter to increase buffers"
> message in what was evidently a real-life scenario.  So it can happen.
> Do you recall having seen many complaints about that error before?

New optimizer does more hashjoins, so we will see it more often.

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Chris Bitmead
Date:
Subject: pg_dump problem?
Next
From: Chris Bitmead
Date:
Subject: Re:pg_dump barfs?