Re: Pl/Perl function: Speed of the First time executing pl/perl function in connection;
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Pl/Perl function: Speed of the First time executing pl/perl function in connection; |
| Дата | |
| Msg-id | 537.1226854833@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Pl/Perl function: Speed of the First time executing pl/perl function in connection; (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: Pl/Perl function: Speed of the First time executing
pl/perl function in connection;
|
| Список | pgsql-hackers |
I wrote:
> On my Fedora 9 machine, the overhead to start plperl seems to be about
> 40 msec. This compares unfavorably to the time to start perl from the
> command line, which is under 4 msec. I see that /usr/bin/perl pulls in
> libperl.so, so it's paying the same shlib overhead as we do. How is it
> that we take ten times longer to start up?
The above number was for plperl in a SQL_ASCII database.
Some more data points:
plperl plperlu
SQL_ASCII 40 18
UTF8 67 18
which leads to the conclusion that those random little startup things
plperl does are just unbelievably expensive.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера