Patch for circular buffer in tuplestore to optimize merge joins (v1)

Поиск
Список
Период
Сортировка
От stark
Тема Patch for circular buffer in tuplestore to optimize merge joins (v1)
Дата
Msg-id 87d52ueukb.fsf@oxford.xeocode.com
обсуждение исходный текст
Ответы Re: Patch for circular buffer in tuplestore to optimizemerge joins (v1)  ("Simon Riggs" <simon@2ndquadrant.com>)
Re: Patch for circular buffer in tuplestore to optimize merge joins (v1)  (Bruce Momjian <bruce@momjian.us>)
Re: Patch for circular buffer in tuplestore to optimize merge joins (v1)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
This patch implements a circular buffer in tuplestore which drops old tuples
as they're no longer needed. It uses this for merge joins to avoid having to
spill the tuplestore if no single value exceeds work_mem. It also is what's
needed for both recursive query support and OLAP window functions (hence why
it implements the more complex circular buffer rather than just moving the
single tuple up to the head of the buffer).

This was mostly already done by Simon, I just finished the logic in tuplesort.c.

This is actually not quite polished so I guess it's still a WIP but it's
certainly ready to be reviewed. All that remains is polishing. If there's
anything in there people object to now I would like to know.



--
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com

Вложения

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

Предыдущее
От: "Marko Kreen"
Дата:
Сообщение: Replace badly licensed blf.c in pgcrypto
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Improvement of procArray.xmin for VACUUM