Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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)

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group