From: Stephan Szabo <sszabo@megazone23.bigpanda.com>
To: Waruna Geekiyanage <waruna@nirmani.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Sub SELECTS
Date: Fri, 27 Sep 2002 09:15:34 -0700 (PDT)
Message-ID: <20020927091506.X40745-100000@megazone23.bigpanda.com> (raw)
In-Reply-To: <003701c2649f$a5f6fc80$705e5ecb@A.GEEKIYANAGE>
On Wed, 25 Sep 2002, Waruna Geekiyanage wrote:
> I have a select query with 2 sub selects.
> When I run that query CPU usage goes to 98% for postgres.
> Does sub selects eat more resources and slower the queries?
> Is there any alternatives to sub selects?
It depends on what you're doing. The query and table schema
would be useful.
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-admin@postgresql.org
Cc: sszabo@megazone23.bigpanda.com, waruna@nirmani.com
Subject: Re: Sub SELECTS
In-Reply-To: <20020927091506.X40745-100000@megazone23.bigpanda.com>
References: <003701c2649f$a5f6fc80$705e5ecb@A.GEEKIYANAGE> <20020927091506.X40745-100000@megazone23.bigpanda.com>
* 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