hash table out of memory

Поиск
Список
Период
Сортировка
От Yang Shuqiang
Тема hash table out of memory
Дата
Msg-id 001501be230b$3a3f6c40$360bc5ca@S.Q.Yang.nudt.edu.cn
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Dev_Al
Дата:
Сообщение: Participate in "Freedom 64-bit CPU" project (PostgreSQL CPU!!)
Следующее
От: lyman1@mindspring.com
Дата:
Сообщение: ...