pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter T. Breuer <ptb@inv.it.uc3m.es>
To: Richard Huxton <dev@archonet.com>
Cc: ptb@inv.it.uc3m.es
Cc: pgsql-performance@postgresql.org
Subject: Re: general PG network slowness (possible cure) (repost)
Date: Sat, 26 May 2007 00:24:39 +0200 (MET DST)
Message-ID: <200705252224.l4PMOd720862@inv.it.uc3m.es> (raw)
In-Reply-To: <4656EE15.6030101@archonet.com>

"Also sprach Richard Huxton:"
> > scheme each time, for example!  (how that?). I could presumably also
> > help it by preloading the commands I will run and sending over the 
> > params only with a "do a no. 17 now!".
> 
> PREPARE/EXECUTE (or the equivalent libpq functions).

Yes, thank you. It seems to speed things up by a factor of 2.

But can I prepare a DECLARE x BINARY CURSOR FOR SELECT ...  statement?
The manual seems to say no.

Peter



view thread (22+ messages)  latest in thread

Message-ID: <200705252224.l4PMOd720862@inv.it.uc3m.es>
Permalink:  ../200705252224.l4PMOd720862@inv.it.uc3m.es/
Also on:    postgresql.org/message-id/200705252224.l4PMOd720862@inv.it.uc3m.es

 · 

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: ptb@inv.it.uc3m.es, dev@archonet.com
  Subject: Re: general PG network slowness (possible cure) (repost)
  In-Reply-To: <200705252224.l4PMOd720862@inv.it.uc3m.es>

* 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