| From: | tgl(at)postgresql(dot)org (Tom Lane) | 
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org | 
| Subject: | pgsql: Extend the MinimalTuple concept to tuplesort.c, thereby reducing | 
| Date: | 2006-06-27 16:53:02 | 
| Message-ID: | 20060627165302.C1ADE9FA502@postgresql.org | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-committers | 
Log Message:
-----------
Extend the MinimalTuple concept to tuplesort.c, thereby reducing the
per-tuple space overhead for sorts in memory.  I chose to replace the
previous patch that tried to write out the bare minimum amount of data
when sorting on disk; instead, just dump the MinimalTuples as-is.  This
wastes 3 to 10 bytes per tuple depending on architecture and null-bitmap
length, but the simplification in the writetup/readtup routines seems
worth it.
Modified Files:
--------------
    pgsql/src/backend/access/nbtree:
        nbtsort.c (r1.101 -> r1.102)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/nbtree/nbtsort.c.diff?r1=1.101&r2=1.102)
    pgsql/src/backend/executor:
        nodeSort.c (r1.56 -> r1.57)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/nodeSort.c.diff?r1=1.56&r2=1.57)
    pgsql/src/backend/utils/sort:
        tuplesort.c (r1.66 -> r1.67)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/sort/tuplesort.c.diff?r1=1.66&r2=1.67)
    pgsql/src/include/utils:
        tuplesort.h (r1.20 -> r1.21)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/utils/tuplesort.h.diff?r1=1.20&r2=1.21)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2006-06-27 18:34:41 | Re: [COMMITTERS] pgsql: Disallow changing/dropping default | 
| Previous Message | Bruce Momjian | 2006-06-27 16:42:00 | pgsql: Will revert in next patch more cleanly. |