Re: Random note of encouragement

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: Random note of encouragement
Дата
Msg-id CAEepm=3DPphFKDvqoEDXorM7uKvKOd_SbA_fGkSf5EserXGg3A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Random note of encouragement  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: Random note of encouragement  (James Sewell <james.sewell@lisasoft.com>)
Re: Random note of encouragement  (David Rowley <david.rowley@2ndquadrant.com>)
Re: Random note of encouragement  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
On Thu, Feb 25, 2016 at 12:26 PM, Bruce Momjian <bruce@momjian.us> wrote:
> On Thu, Feb 25, 2016 at 10:06:34AM +1100, James Sewell wrote:
>> Now when I run the following SQL (multiple times to allow for getting
>> everything into shared buffers, which is 4GB on my machine):
>>
>>
>>     select sum(count_n) from base group by view_time_day;
>>
>>
>> I get the following results:
>>
>>
>>     PSQL 9.5 - ~21 seconds
>>     PSQL 9.6 devel - ~8.5 seconds
>>
>>
>> I think that's pretty good!
>>
>> I know this is a devel release, things may change, blah blah. But still,
>> something has changed for the better here!
>
> Wow, that is cool.  Can anyone suggest which commit improved this?

Since it sums numerics, maybe integer transition functions from commit
959277a4f579da5243968c750069570a58e92b38 helped?

-- 
Thomas Munro
http://www.enterprisedb.com



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Random note of encouragement
Следующее
От: James Sewell
Дата:
Сообщение: Re: Random note of encouragement