Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: ** dictionary table access slow

RE: ** dictionary table access slow

From: John Kanagaraj <john.kanagaraj_at_hds.com>
Date: Wed, 11 Feb 2004 13:40:43 -0800
Message-ID: <35CFD500D7BDCE43B9030BBA5979DC181D92D5@ussccem13.hds.com>


Joshi,

Time for Queries against these virtual tables is based on (a) the 'sessions' parameter (which in turn depends on 'processes') - the larger this number, the longer it will take (b) V$SQLAREA performs a Group by on V$SQL - can you not replace v$sqlarea by v$sql? A large Shared pool, of course will have a contributory effect

John Kanagaraj <><
DB Soft Inc
Phone: 408-970-7002 (W)

Grace - Getting something we do NOT deserve Mercy - NOT getting something we DO deserve Click on 'http://www.needhim.org' for Grace and Mercy that is freely available!

>-----Original Message-----
>From: oracle-l-bounce_at_freelists.org
>[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of A Joshi
>Sent: Wednesday, February 11, 2004 12:44 PM
>To: oracle-l_at_freelists.org; oracledba_at_lazydba.com
>Subject: ** dictionary table access slow
>
>
>Hi,
> Queries to v$ tables are taking too long. We have Sun UNIX
>with 8174. For example the following queries take around 1
>minute. How can this be tuned. Is it a symptom of some other
>problem? :
>
>select a.sid, a.serial#, c.spid, a.username, a.osuser,
>a.status,a.process, b.sql_text
>from v$session a , v$sqlarea b, v$process c
>where a.sql_address = b.address
>and c.addr = a.paddr
>order by a.username, a.osuser
>
>Thanks. Help is appreciated.
>
>
>
>---------------------------------
>Do you Yahoo!?
>Yahoo! Finance: Get your refund fast by filing online
>
>----------------------------------------------------------------
>Please see the official ORACLE-L FAQ: http://www.orafaq.com
>----------------------------------------------------------------
>To unsubscribe send email to: oracle-l-request_at_freelists.org
>put 'unsubscribe' in the subject line.
>--
>Archives are at http://www.freelists.org/archives/oracle-l/
>FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
>-----------------------------------------------------------------
>



Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
Received on Wed Feb 11 2004 - 15:40:43 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US