From: Work <sbhatt@installs.com>
To: pgsql-general@postgresql.org
To: pgsql-php@postgresql.org
Subject: Optimizing queries
Date: Wed, 19 Jun 2002 14:44:33 -0400
Message-ID: <aeqjev$2gts$1@news.hub.org> (raw)
Hi ,
I am a newbie to the world of Postgres, I am currently optimizing
PHP/Postgres applications. My problem is that I have a query that throws
certain rowsets and depending on these values I loop other tables to get the
desired columns. I am using a heavy for-loop for this purpose, within the
for-loop I have further sub-queries, so that for every loop iteration I
execute these sub-queries, I dont see a way to reorganize this structure.
Can somebody suggest a better way.
Thanks
Regards
Sid
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-php@postgresql.org
Cc: sbhatt@installs.com, pgsql-general@postgresql.org
Subject: Re: Optimizing queries
In-Reply-To: <aeqjev$2gts$1@news.hub.org>
References: <aeqjev$2gts$1@news.hub.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