Re: Single client performance on trivial SELECTs

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Single client performance on trivial SELECTs
Дата
Msg-id 201104142208.34998.andres@anarazel.de
обсуждение исходный текст
Ответ на Re: Single client performance on trivial SELECTs  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Single client performance on trivial SELECTs  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
Hi,

On Thursday 14 April 2011 16:43:16 Tom Lane wrote:
> I doubt that it's possible to make AllocSetAlloc radically cheaper.
I actually doubt your doubt. I think you could add some SLAB like interface 
for common allocation sizes making it significantly faster for some uses 
(because allocation/deallocation is a single linked list operation).
Maybe even treat everything < some_size as a slab object in the next bigger 
slab.

Note that I think youre otherwise right...

Andres


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Single client performance on trivial SELECTs
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Single client performance on trivial SELECTs