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: 9.2 V$ views

RE: 9.2 V$ views

From: Wolfson Larry - lwolfs <lawrence.wolfson_at_acxiom.com>
Date: Mon, 26 Jul 2004 18:24:11 -0500
Message-ID: <433A07749711884D8032B6A0AB115262C2BCB6@conmsx07.corp.acxiom.net>


Tanel, thanks for the crystal clear explanation of the dba_extents problem.

        Larry

-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org]On Behalf Of Tanel P=F5der Sent: Monday, July 26, 2004 6:13 PM
To: oracle-l_at_freelists.org
Subject: Re: 9.2 V$ views

> (like even analyzing DD in 9.2, etc.)
>
> Can't that lead us to other problems?

Yep, it can ;)
But in 9.2 it's supported and in 10g it's default anyway...

Btw, the dba_extents performance problem you mentioned earlier probably comes from the fact that in LMT configuration you can get detailed extent information only from the segment header itself, this means at least one consistent get per segment which you're querying. Given that lots of segment headers aren't in buffer cache, a count(*) on dba_extents may cause thousands of physical IO's, recursive calls and latching...

SQL> set autot trace stat
SQL> select count(*) from dba_extents;

1 row selected.

Statistics


      41228  recursive calls
          1  db block gets
      20799  consistent gets
       3389  physical reads
          0  redo size
        380  bytes sent via SQL*Net to client
        511  bytes received via SQL*Net from client
          2  SQL*Net roundtrips to/from client
          0  sorts (memory)
          0  sorts (disk)
          1  rows processed

So, dba_extents is a quite dangerous view to query in LMT environment.

Tanel.



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
-----------------------------------------------------------------


**********************************************************************
The information contained in this communication is
confidential, is intended only for the use of the recipient
named above, and may be legally privileged.
If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination,=20
distribution, or copying of this communication is strictly
prohibited.
If you have received this communication in error,
please re-send this communication to the sender and
delete the original message or any copy of it from your
computer system. Thank You.

----------------------------------------------------------------
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 Mon Jul 26 2004 - 18:23:57 CDT

Original text of this message

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