pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Cosimo Streppone <cosimo@streppone.it>
To: Merlin Moncure <merlin.moncure@rcsonline.com>
Cc: Postgresql Performance list <pgsql-performance@postgresql.org>
Subject: Re: High end server and storage for a PostgreSQL OLTP system
Date: Tue, 01 Feb 2005 22:00:50 +0100
Message-ID: <41FFEE02.3080605@streppone.it> (raw)
In-Reply-To: <6EE64EF3AB31D5448D0007DD34EEB3412A75FE@Herge.rcsinc.local>
References: <6EE64EF3AB31D5448D0007DD34EEB3412A75FE@Herge.rcsinc.local>

Merlin Moncure wrote:

> Corollary: use pl/pgsql.  It can be 10 times or more faster than query
> by query editing.

Merlin, thanks for your good suggestions.

By now, our system has never used "stored procedures" approach,
due to the fact that we're staying on the minimum common SQL features
that are supported by most db engines.
I realize though that it would provide an heavy performance boost.

> You also have the parse/bind interface

This is something I have already engineered in our core classes
(that use DBI + DBD::Pg), so that switching to 8.0 should
automatically enable the "single-prepare, multiple-execute" behavior,
saving a lot of query planner processing, if I understand correctly.

-- 
Cosimo




view thread (21+ messages)  latest in thread

Message-ID: <41FFEE02.3080605@streppone.it>
Permalink:  ../41FFEE02.3080605@streppone.it/
Also on:    postgresql.org/message-id/41FFEE02.3080605@streppone.it

 · 

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-performance@postgresql.org
  Cc: cosimo@streppone.it, merlin.moncure@rcsonline.com
  Subject: Re: High end server and storage for a PostgreSQL OLTP system
  In-Reply-To: <41FFEE02.3080605@streppone.it>

* 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