Re: [HACKERS] [PATCH] Incremental sort

Поиск
Список
Период
Сортировка
От Teodor Sigaev
Тема Re: [HACKERS] [PATCH] Incremental sort
Дата
Msg-id 41aa271c-f97c-2d13-1b1a-c580b5e3a99d@sigaev.ru
обсуждение исходный текст
Ответ на Re: [HACKERS] [PATCH] Incremental sort  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [HACKERS] [PATCH] Incremental sort  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> I dunno, how would you estimate whether this is actually a win or not?
> I don't think our model of sort costs is anywhere near refined enough
> or accurate enough to reliably predict whether this is better than
> just doing it in one step.  Even if the cost model is good, it's not
> going to be better than our statistics about the number/size of the
> groups in the first column(s), and that's a notoriously unreliable stat.
I think that improvement in cost calculation of sort should be a 
separate patch, not directly connected to this one. Postpone patches 
till other part will be ready to get max improvement for postponed ones 
doesn't seem to me very good, especially if it suggests some improvement 
right now.


-- 
Teodor Sigaev                      E-mail: teodor@sigaev.ru
                                       WWW: http://www.sigaev.ru/


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Bring atomic flag fallback up to snuff
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Online enabling of checksums