bizgres - bizgres: Modify logtape.c so that the initial

Поиск
Список
Период
Сортировка
От aparashar@pgfoundry.org (User Aparashar)
Тема bizgres - bizgres: Modify logtape.c so that the initial
Дата
Msg-id 20060303220944.9A5EA1033806@pgfoundry.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Modify logtape.c so that the initial LogicalTapeSetCreate call only
allocates the control data.  The per-tape buffers are allocated only
on first use.  This saves memory in situations where tuplesort.c
overestimates the number of tapes needed (ie, there are fewer runs
than tapes).  Also, this makes legitimate the coding in inittapes()
that includes tape buffer space in the maximum-memory calculation:
when inittapes runs, we've already expended the whole allowed memory
on tuple storage, and so we'd better not allocate all the tape buffers
until we've flushed some tuples out of memory.
Work by Simon and Tom.

Modified Files:
--------------
    bizgres/postgresql/src/backend/utils/sort:
        logtape.c (r1.1.1.2.2.1 -> r1.2)

(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/bizgres/bizgres/postgresql/src/backend/utils/sort/logtape.c.diff?r1=1.1.1.2.2.1&r2=1.2)

В списке pgsql-committers по дате отправления:

Предыдущее
От: momjian@postgresql.org (Bruce Momjian)
Дата:
Сообщение: pgsql: Rename Online Backup to Continuous Archiving.
Следующее
От: aparashar@pgfoundry.org (User Aparashar)
Дата:
Сообщение: bizgres - bizgres: Improve tuplesort.c to support variable merge order.