pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Yang Shuqiang <sqyang@nudt.edu.cn>
To: pgsql-sql@postgresql.org
Subject: hash table out of memory
Date: Wed, 9 Dec 1998 08:31:10 +0800
Message-ID: <001501be230b$3a3f6c40$360bc5ca@S.Q.Yang.nudt.edu.cn> (raw)

Hello:
I have two tables: tenk1 and tenk2. I start postmaster with command
"postmaster -o'-fm -fn' -S" to ensure that the backend will produce
hash join planner. Then I enter psql and execute the statement: 
    select count(*)
    from tenk1,tenk2
    where tenk1.unique1=tenk2.unique2;
It reports:
ERROR:  hash table out of memory. Use -B parameter to increase buffers.

Then I start postmaster with command
"postmaster -B1024 -o'-fm -fn' -S" to increase the buffer. But it still
reports the error.

The tables I used each has 16 fields and each contains 100000 tuples.

How can I overcome this problem?

Thanks in advances.
email address: sqyang@nudt.edu.cn

Message-ID: <001501be230b$3a3f6c40$360bc5ca@S.Q.Yang.nudt.edu.cn>
Permalink:  ../001501be230b$3a3f6c40$360bc5ca@S.Q.Yang.nudt.edu.cn/
Also on:    postgresql.org/message-id/001501be230b$3a3f6c40$360bc5ca@S.Q.Yang.nudt.edu.cn

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: sqyang@nudt.edu.cn
  Subject: Re: hash table out of memory
  In-Reply-To: <001501be230b$3a3f6c40$360bc5ca@S.Q.Yang.nudt.edu.cn>
  References: <001501be230b$3a3f6c40$360bc5ca@S.Q.Yang.nudt.edu.cn>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox