Re: Performance options for CPU bound multi-SUM query

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: Performance options for CPU bound multi-SUM query
Дата
Msg-id CAKJS1f_yxkKPGrMWvzBhfs6EGWsDLXAevk3g9Lz72obRkUmkow@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Performance options for CPU bound multi-SUM query  (Matt <bsg075@gmail.com>)
Список pgsql-general
On 28 January 2016 at 08:41, Matt <bsg075@gmail.com> wrote:
> Moving from NUMERIC to FLOAT(8) did indeed lower query times by about 20%.
>
> I will try fixeddecimal and agg() as time permits.

That's surprisingly little gain. Please note that you'll not gain any
further improvements from the fixeddecimal type than you won't have
already gotten from float8. My tests showed that it's very slightly
slower than float8, which is possibly due to float8 addition not
having overflow checks.


--
 David Rowley                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


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

Предыдущее
От: Berend Tober
Дата:
Сообщение: Re: Multi-Table Insert/Update Strategy - Use Functions/Procedures?
Следующее
От: Kaushal Shriyan
Дата:
Сообщение: Difference between UDR and BDR replication