Re: Writing most code in Stored Procedures

From: Steve Manes <smanes(at)magpie(dot)com>
To: Ron Johnson <ron(dot)l(dot)johnson(at)cox(dot)net>
Cc: PgSQL General ML <pgsql-general(at)postgresql(dot)org>
Subject: Re: Writing most code in Stored Procedures
Date: 2007-08-18 02:45:49
Message-ID: 46C65D5D.50108@magpie.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Ron Johnson wrote:
>> Moving all the application-bound inserts into stored procedures didn't
>> achieve nearly the performance enhancement I'd assumed I'd get, which I
>> figured was due to the overhead of the procs themselves.
>
> Would that be because the original app was written in a compiled
> language, but the SPs in an interpreted language?

No, because the application language was Perl5 for both. I think it was
just the overhead of 2 million inserts via procs versus 2 million inline
inserts (without the proc overhead).

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ron Olson 2007-08-18 03:11:04 Re: Blobs in Postgresql
Previous Message Ron Johnson 2007-08-17 23:43:49 Re: Writing most code in Stored Procedures