pgsql: Grab some low-hanging fruit in the new hash index build code.

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Grab some low-hanging fruit in the new hash index build code.
Date: 2008-03-17 03:45:36
Message-ID: 20080317034536.D131F7558DC@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Grab some low-hanging fruit in the new hash index build code.
oprofile shows that a nontrivial amount of time is being spent in
repeated calls to index_getprocinfo, which really only needs to be
called once. So do that, and inline _hash_datum2hashkey to make it
work.

Modified Files:
--------------
pgsql/src/backend/utils/sort:
tuplesort.c (r1.82 -> r1.83)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/sort/tuplesort.c?r1=1.82&r2=1.83)

Browse pgsql-committers by date

  From Date Subject
Next Message User Dpage 2008-03-17 09:21:04 pginstaller - pginst: Update for 8.3.1
Previous Message User Jbcooley 2008-03-17 02:55:28 npgsql - Npgsql2: Added support for INTERSECT and EXCEPT.