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

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Oleg Serov <serovov(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Pl/Perl function: Speed of the First time executing pl/perl function in connection;
Date: 2008-11-16 14:15:28
Message-ID: 49202B00.7090207@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2008-11-16 14:52:41 Re: CVS can't be built on mingw
Previous Message Hiroshi Saito 2008-11-16 13:36:50 Re: [PATCHES] Solve a problem of LC_TIME of windows.