Re: Hash Join vs Nested Loops in 7.2.1 ...

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ed Loehr <pggeneral(at)bluepolka(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Hash Join vs Nested Loops in 7.2.1 ...
Date: 2002-04-09 13:14:59
Message-ID: 28415.1018358099@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Ed Loehr <pggeneral(at)bluepolka(dot)net> writes:
> Tom Lane wrote:
> Second, the same query sometimes takes 10-50 seconds shortly after
> possibly a dump or other high-data-volume queries are executed, after
> which it then returns to 1 second execution time. Getting crowded out
> of shared memory?
>>
>> Sounds like it. What shared-buffers setting are you using? How much
>> RAM in the box?

> shared_buffers = 256

That's not a lot --- 256*8K = 2MB. You might try something in the low
thousands.

> RAM: 2.4GB, maybe? Not that familiar with HPUX mem setup...

swapinfo won't tell you anything about physical RAM. If you poke around
in SAM, I think there's some displays in there about hardware ...

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Papp, Gyozo 2002-04-09 13:27:15 SPI_execp() failed in RI_FKey_cascade_del()
Previous Message Daniel Morgan 2002-04-09 13:13:59 PostgreSQL and C#