Re: 9.2 V$ views

  • From: Tanel Põder <tanel.poder.003@xxxxxxx>
  • To: <oracle-l@xxxxxxxxxxxxx>
  • Date: Tue, 27 Jul 2004 02:12:31 +0300

> (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@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
--
Archives are at //www.freelists.org/archives/oracle-l/
FAQ is at //www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------

Other related posts: