Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: 9.2 V$ views
>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...
See below for a 'select count(*) from dba_extents' on an Apps database (total of 217,167) extents sitting on 452 datafiles, and the snapshot of V$SESSTAT and V$SESSION_EVENT for that SID. The query too about 13 minutes (dev server, slightly slow disk). Interesting stats to note? Look at 'revursive calls', 'CPU used%', 'cluster key scans' and 'cluster key block gets' stats, 'session logical reads', number of dbfile reads. Most were against the C_FILE#_BLOCK#, UET$, SEG$, SYS_IOT_TOP_132603, I_FILE#_BLOCK#, OBJ$, C_TS#, TS$, FET$ objects among others.
John Kanagaraj <><
DB Soft Inc
Phone: 408-970-7002 (W)
http://tahiti.oracle.com - Manuals for DBAs (English only) http://www.bibleserver.com - Manual for Life (in English, Deutsch, French, Italian, Spanish, Portugese, Turkish,...)
EVENT TOT_WAITS TOT_TMOUTS TIME_WAITEDAV_WAIT
----------------------------------- --------- ---------- ----------- -------- db file sequential read 51353 0 53449 1.0408 db file scattered read 13226 0 16985 1.2842 file open 344 0 4 .0116 latch free 342 318 828 2.4211 SQL*Net message to client 42 0 0 0 SQL*Net message from client 41 0 4302 104.9268 SQL*Net more data to client 2 0 0 0 SQL*Net break/reset to client 2 0 0 0 buffer busy waits 1 0 0 0 log file sync 1 0 00
10 rows selected.
Session Statistics......
Name
VALUE
-- 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 - 19:28:43 CDT
![]() |
![]() |