hash table out of memory

From: "Yang Shuqiang" <sqyang(at)nudt(dot)edu(dot)cn>
To: <pgsql-sql(at)postgresql(dot)org>
Subject: hash table out of memory
Date: 1998-12-09 00:31:10
Message-ID: 001501be230b$3a3f6c40$360bc5ca@S.Q.Yang.nudt.edu.cn
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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(at)nudt(dot)edu(dot)cn

Browse pgsql-sql by date

  From Date Subject
Next Message lyman1 1998-12-09 19:46:54
Previous Message Dev_Al 1998-12-08 17:38:00 Participate in "Freedom 64-bit CPU" project (PostgreSQL CPU!!)