Re: Pl/Perl function: Speed of the First time executing pl/perl function in connection;

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Pl/Perl function: Speed of the First time executing pl/perl function in connection;
Дата
Msg-id 49202B00.7090207@dunslane.net
обсуждение исходный текст
Ответ на Re: Pl/Perl function: Speed of the First time executing pl/perl function in connection;  ("Oleg Serov" <serovov@gmail.com>)
Ответы Re: Pl/Perl function: Speed of the First time executing pl/perl function in connection;  (Martijn van Oosterhout <kleptog@svana.org>)
Re: Pl/Perl function: Speed of the First time executing pl/perl function in connection;  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers


Oleg Serov wrote:
> Hey, you are wrong, compile time is 1 ms, but not 100 ms, it hapens on
> first plperl function call, it is perl init problem. not function
> compilation.
>   

Please do NOT top-answer - it makes threads totally unreadable.

Is a one-off cost per connection of 100ms so bothersome?

The alternative would be to start it up when the backend starts, but 
backend startup cost is already high, so that doesn't seem like a win.

cheers

andrew




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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: CVS can't be built on mingw
Следующее
От: Tom Lane
Дата:
Сообщение: Re: CVS can't be built on mingw