Re: [HACKERS] pow support for pgbench

Поиск
Список
Период
Сортировка
От Raúl Marín Rodríguez
Тема Re: [HACKERS] pow support for pgbench
Дата
Msg-id CAM6_UM6fy2ZmUw=f5epciSfF5PWT-GiL_X3HULzcLVw6LbWf1g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] pow support for pgbench  (Fabien COELHO <coelho@cri.ensmp.fr>)
Ответы Re: [HACKERS] pow support for pgbench  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Hi,

I've implemented the overflow checks and made some benchmarks and the ipow() version became slower except with some specific inputs (base 0 for example). It's true that the new auxiliary functions could be optimized, but I don't think it makes sense to keep working on them just to match pow() speed.

I'm attaching both patches in case someone wants to have a look but I would go with the simpler solution (pgbench_pow_v10.patch).

Regards,
--
Raúl Marín Rodríguez 
carto.com

Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Deadlock between concurrent index builds on different tables
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: [table partitioning] How many partitions are possibel?