SortMem...

From: mchron(at)aueb(dot)gr
To: pgsql-hackers(at)postgresql(dot)org
Subject: SortMem...
Date: 2005-04-12 12:39:59
Message-ID: courier.425BC19F.00005A8C@red.servers.aueb.gr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi
in the function ExecChooseHashTableSize()
(~/src/backend/executor/nodeHash.c)
are determined the bytes of the hash table. The correspondent code is:

/*
* Target in-memory hashtablesize in SortMem kilobytes
*/
hash_table_bytes = SortMem *1024L

(~/src/include/miscadmin.h)
extern DLLIMPORT int SortMem;

What SortMem represents? Where is evaluated and what is its value?

I want to create 2 hash tables. One for the inner and one for the outer rel.
What should be the hash_table_bytes in that case?

Thanks in advance!
-martha

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Hallgren 2005-04-12 13:52:50 HEAD version of initdb fails on Win32
Previous Message Thomas Hallgren 2005-04-12 09:24:47 OUT parameters in PL/Java