Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 93D4E47683A for ; Wed, 25 Sep 2002 10:50:32 -0400 (EDT) Received: from kumudu.nslk.com (kumudu.nslk.com [64.247.55.254]) by postgresql.org (Postfix) with ESMTP id D9EBE47680D for ; Wed, 25 Sep 2002 10:50:31 -0400 (EDT) Received: from [203.94.94.112] (helo=W) by kumudu.nslk.com with asmtp (Exim 3.36 #1) id 17uDUl-0006yk-00 for pgsql-php@postgresql.org; Wed, 25 Sep 2002 10:50:32 -0400 Message-ID: <00a701c264a3$05bb4100$705e5ecb@A.GEEKIYANAGE> Reply-To: "Waruna Geekiyanage" From: "Waruna Geekiyanage" To: Subject: Fw: Sub SELECTS Date: Wed, 25 Sep 2002 20:51:20 +0600 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00A4_01C264D5.4D40CFE0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - kumudu.nslk.com X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [0 0] X-AntiAbuse: Sender Address Domain - nirmani.com X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200209/53 X-Sequence-Number: 1508 This is a multi-part message in MIME format. ------=_NextPart_000_00A4_01C264D5.4D40CFE0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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? ------=_NextPart_000_00A4_01C264D5.4D40CFE0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
 

I have a select query with 2 sub=20 selects.
When I run that query CPU usage goes = to 98%=20 for postgres.
Does sub selects eat more resources a= nd slower=20 the queries?
Is there any alternatives to sub=20 selects?
------=_NextPart_000_00A4_01C264D5.4D40CFE0--