Re: Reduce palloc's in numeric operations.

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Reduce palloc's in numeric operations.
Дата
Msg-id 20121017150436.GE5217@alvh.no-ip.org
обсуждение исходный текст
Ответ на Reduce palloc's in numeric operations.  (Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>)
Ответы [BUG] False indication in pg_stat_replication.sync_state
Список pgsql-hackers
Kyotaro HORIGUCHI wrote:
> Hello, I will propose reduce palloc's in numeric operations.
>
> The numeric operations are slow by nature, but usually it is not
> a problem for on-disk operations. Altough the slowdown is
> enhanced on on-memory operations.
>
> I inspcted them and found some very short term pallocs. These
> palloc's are used for temporary storage for digits of unpaked
> numerics.

This looks like a neat little patch.  Some feedback has been provided by
Heikki (thanks!) and since we're still waiting for an updated version, I
have marked this Returned with Feedback for the time being.  Please make
sure to address the remaining issues and submit to the next commitfest.
Thanks.

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services



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

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: [PATCH] Enforce that INSERT...RETURNING preserves the order of multi rows
Следующее
От: Greg Stark
Дата:
Сообщение: Re: [RFC] CREATE QUEUE (log-only table) for londiste/pgQ ccompatibility