Return-Path: <root@fatcity.cts.com>
Received: from ensim.rackshack.net (root@localhost)
 by orafaq.net (8.11.6/8.11.6) with ESMTP id h0T3ukH07862
 for <oracle-l@orafaq.net>; Tue, 28 Jan 2003 21:56:46 -0600
X-ClientAddr: 209.68.248.164
Received: from newsfeed.cts.com (newsfeed.cts.com [209.68.248.164])
 by ensim.rackshack.net (8.11.6/8.11.6) with ESMTP id h0T3ukm07857
 for <oracle-l@orafaq.net>; Tue, 28 Jan 2003 21:56:46 -0600
Received: from fatcity.UUCP (uucp@localhost)
 by newsfeed.cts.com (8.9.3/8.9.3) with UUCP id QAA10284;
 Tue, 28 Jan 2003 16:40:16 -0800 (PST)
Received: by fatcity.com (26-Feb-2001/v1.0g-b72/bab) via UUCP id 0053CB6F; Tue, 28 Jan 2003 16:09:25 -0800
Message-ID: <F001.0053CB6F.20030128160925@fatcity.com>
Date: Tue, 28 Jan 2003 16:09:25 -0800
To: Multiple recipients of list ORACLE-L <ORACLE-L@fatcity.com>
X-Comment: Oracle RDBMS Community Forum
X-Sender: brain_damage@eth.net
Sender: root@fatcity.com
Reply-To: ORACLE-L@fatcity.com
Errors-To: ML-ERRORS@fatcity.com
From: brain_damage@eth.net
Subject: to much time to execute query
Organization: Fat City Network Services, San Diego, California
X-ListServer: v1.0g, build 72; ListGuru (c) 1996-2001 Bruce A. Bergman
Precedence: bulk
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hello list,

This query is taking to much time (26 secs). What can be the problem ? Is the query not written properly ? All other queries involving v$sesstat amd v$statname do not take this much time. 

--->
select sum(value)/1024||' KB' as Kilo,b.name from v$sesstat a,v$statname b where a.statistic# in (select b.statistic# from v$statname where b.name like '% uga %') group by b.name;
----

TIA

Tc
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: 
  INET: brain_damage@eth.net

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

