pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Fuhr <mike@fuhr.org>
To: Marc G. Fournier <scrappy@postgresql.org>
Cc: pgsql-sql@postgresql.org
Subject: Re: pl/* overhead ...
Date: Wed, 26 Oct 2005 00:55:42 -0600
Message-ID: <20051026065542.GA19386@winnie.fuhr.org> (raw)
In-Reply-To: <20051026005729.V993@ganymede.hub.org>
References: <20051026005729.V993@ganymede.hub.org>

On Wed, Oct 26, 2005 at 12:58:13AM -0300, Marc G. Fournier wrote:
> Does anyone know of, or have, any comparisions of the overhead going with 
> something like pl/perl or pl/php vs using pl/pgsql?

Benchmark results will probably depend on the type of processing
you're doing.  I'd expect PL/pgSQL to be faster at database operations
like looping through query results, and other languages to be faster
at non-database operations like text munging and number crunching,
depending on the particular language's strengths.

[Does quick test.]

Whale oil beef hooked.  PL/pgSQL just outran PL/Perl when I expected
the latter to win.  Hang on, let me play with it until it comes back
with the results I want....

-- 
Michael Fuhr



view thread (4+ messages)  latest in thread

Message-ID: <20051026065542.GA19386@winnie.fuhr.org>
Permalink:  ../20051026065542.GA19386@winnie.fuhr.org/
Also on:    postgresql.org/message-id/20051026065542.GA19386@winnie.fuhr.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: mike@fuhr.org, scrappy@postgresql.org
  Subject: Re: pl/* overhead ...
  In-Reply-To: <20051026065542.GA19386@winnie.fuhr.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox