hash table out of memory - Mailing list pgsql-sql

From Yang Shuqiang
Subject hash table out of memory
Date
Msg-id 001501be230b$3a3f6c40$360bc5ca@S.Q.Yang.nudt.edu.cn
Whole thread Raw
List 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@nudt.edu.cn

pgsql-sql by date:

Previous
From: Dev_Al
Date:
Subject: Participate in "Freedom 64-bit CPU" project (PostgreSQL CPU!!)
Next
From: lyman1@mindspring.com
Date:
Subject: ...