pgsql: Reduce the default size of the PortalHashTable in order to save a

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Reduce the default size of the PortalHashTable in order to save a
Date: 2004-11-21 22:48:03
Message-ID: 20041121224803.495223A5064@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Reduce the default size of the PortalHashTable in order to save a
few cycles during transaction exit. A typical session probably
wouldn't have as many as half a dozen portals open at once, so the
original value of 64 seems far larger than needed.

Modified Files:
--------------
pgsql/src/backend/utils/mmgr:
portalmem.c (r1.74 -> r1.75)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/mmgr/portalmem.c.diff?r1=1.74&r2=1.75)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2004-11-21 22:57:02 pgsql: Fix rounding problem in dynahash.c's decision about when the
Previous Message Tom Lane 2004-11-21 22:27:36 pgsql: While fixing plperl and pltcl, I realized plpgsql wasn't doing