Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Surprising parameters for direct path read in 100046 trace
On 03/07/2006 05:14:35 AM, Chris Dunscombe wrote:
> Oracle version 9.2.0.4 64 bit on Solaris. Filenum# 202 is an Oracle temp file.
> The SQL was in the middle of a sort merge at the time.
Chris, Oracle uses direct path reads only to read LOB segments or temporary files.
If anything else is read using direct path, your application is RMAN. Why is Oracle
re-reading it? Have you dumped those blocks? I bet they are the header blocks,
re-read and updated for "maintenance reasons". Of course, another recourse would be
to search bug lists for 9.2.0.5, 9.2.0.6 and 9.2.0.7 versions for any bugs regarding
sort performance.
You can dump temporary file by using the following command:
1 alter system dump tempfile
2 '/oradata/10g/oracle/10G/datafile/o1_mf_temp_202xcsr1_.tmp'
3* block min 0 block max 300
SQL> /
System altered.
SQL> You can also do it like this:
1 alter system dump tempfile 1
2* block min 0 block max 300
SQL> /
System altered.
SQL>
The output looks a bit like this:
/oracle/product/10g/admin/10G/udump/10g_ora_7440.trc
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining Scoring Engine options
ORACLE_HOME = /oracle/product/10g
System name: Linux
Node name: medo.noip.com
Release: 2.6.15.4 Version: #1 Tue Feb 21 20:34:25 EST 2006 Machine: i686
Dump will tell you what kind of blocks you are looking at and may by, but just may be, you will be able to guess why is it re-reading the same two blocks gazillion times. Mysterious are the ways of Oracle.
-- Mladen Gogala http://www.mgogala.com -- http://www.freelists.org/webpage/oracle-lReceived on Wed Mar 08 2006 - 00:19:29 CST
![]() |
![]() |