Re: Inlining comparators as a performance optimisation

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Inlining comparators as a performance optimisation
Дата
Msg-id 20120128145504.GA18005@momjian.us
обсуждение исходный текст
Ответ на Re: Inlining comparators as a performance optimisation  ("Pierre C" <lists@peufeu.com>)
Список pgsql-hackers
On Fri, Jan 13, 2012 at 10:48:56AM +0100, Pierre C wrote:
> Maybe an extra column in pg_proc would do (but then, the proargtypes
> and friends would describe only the sql-callable version) ?
> Or an extra table ? pg_cproc ?
> Or an in-memory hash : hashtable[ fmgr-callable function ] => C version
> - What happens if a C function has no SQL-callable equivalent ?
> Or (ugly) introduce an extra per-type function
> type_get_function_ptr( function_kind ) which returns the requested
> function ptr
> 
> If one of those happens, I'll dust off my old copy-optimization patch ;)

I agree that COPY is ripe for optimization, and I am excited you have
some ideas on this.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Avoiding shutdown checkpoint at failover
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: initdb and fsync