pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rod Taylor <rbt@rbt.ca>
To: Ricky Prasla <praslar@hotmail.com>
Cc: Postgresql Performance <pgsql-performance@postgresql.org>
Subject: Re: Select Query Performance
Date: 01 Jun 2003 21:48:31 -0400
Message-ID: <1054518510.77081.4.camel@jester> (raw)
In-Reply-To: <Law8-F48x1DkIUoXd7J00041c6a@hotmail.com>
References: <Law8-F48x1DkIUoXd7J00041c6a@hotmail.com>

> 2)Also, I execute this query over the web. If there are mltiple select 
> queries then I have to execute one get its reultset and then send the other 
> one. Is there a faster way to execute multiple select queries over the web?

Going with the assumption the result-set is not used to generate further
queries, you might look into the use of Asynchronous connections.

It'll enable you to easily establish several connections to the database
for parallel work to be done.

http://www.postgresql.org/docs/view.php?version=7.3&idoc=1&file=libpq-connect.html


Even PHP will let you use the Asynchronous query mechanism within
PostgreSQL.

-- 
Rod Taylor <rbt@rbt.ca>

PGP Key: http://www.rbt.ca/rbtpub.asc

Attachments:

  signature.asc (application/pgp-signature, 186B) download

view thread (2+ messages)

Message-ID: <1054518510.77081.4.camel@jester>
Permalink:  ../1054518510.77081.4.camel@jester/
Also on:    postgresql.org/message-id/1054518510.77081.4.camel@jester

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: rbt@rbt.ca, praslar@hotmail.com
  Subject: Re: Select Query Performance
  In-Reply-To: <1054518510.77081.4.camel@jester>
  References: <Law8-F48x1DkIUoXd7J00041c6a@hotmail.com> <1054518510.77081.4.camel@jester>

* 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