bizgres - bizgres: Improve tuplesort.c to support variable merge order.

From: aparashar(at)pgfoundry(dot)org (User Aparashar)
To: pgsql-committers(at)postgresql(dot)org
Subject: bizgres - bizgres: Improve tuplesort.c to support variable merge order.
Date: 2006-03-03 21:51:59
Message-ID: 20060303215159.7E0241033891@pgfoundry.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Improve tuplesort.c to support variable merge order. The original coding
with fixed merge order (fixed number of "tapes") was based on obsolete
assumptions, namely that tape drives are expensive. Since our "tapes"
are really just a couple of buffers, we can have a lot of them given
adequate workspace. This allows reduction of the number of merge passes
with consequent savings of I/O during large sorts.

Simon Riggs with some rework by Tom Lane

Modified Files:
--------------
bizgres/postgresql/src/include/utils:
tuplesort.h (r1.1.1.1.30.1 -> r1.2)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/bizgres/bizgres/postgresql/src/include/utils/tuplesort.h.diff?r1=1.1.1.1.30.1&r2=1.2)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2006-03-03 21:52:37 pgsql: Update ipcclean to use try 'id' first for root check.
Previous Message Bruce Momjian 2006-03-03 21:35:46 pgsql: Add workaround so MSVC doesn't try to load strings.h, which it