Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Subject: RE: Tuning issue, 10046 trace and Scheduled Jobs
Given your comments about numbers of rows, and the execution plan you have produced here, the number of extra tablescans you get in the stats is consistent with the hash join turning into a nested loop with full tablescan, and the filter operating in a way that results in a tablescan per row from the driving table.
I am, however, a little puzzled, because I can't see the 180K row table - only three tables with exactly the same cardinality prediction; and I can't see the filter doing its usual 5% adjustment to the cardinality of the first table.
Is it possible that your scheduler mechanism causes code to run with some other session parameters also adjusted - for example hash joins disabled ?
Regards
Jonathan Lewis
http://jonathanlewis.wordpress.com
Author: Cost Based Oracle: Fundamentals
http://www.jlcomp.demon.co.uk/cbo_book/ind_book.html
The Co-operative Oracle Users' FAQ
http://www.jlcomp.demon.co.uk/faq/ind_faq.html
>I call the procedure both from the scheduler and from the command line so
-- http://www.freelists.org/webpage/oracle-lReceived on Tue Nov 21 2006 - 16:16:19 CST
![]() |
![]() |