Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Urgent Tuning Question....
Hi,
Are you sure .. join is correct..
where js.jsu_journal_code = v_journal_code and js.jsu_start_date < p_start and rt.jsu_rate = rt.rty_code(+) and jsu_payment_code = pm.payment_code and pm.real_payment_code = '1';
you are joining the rt table with itself. Is this table has no link with tables.
You have not told us about the expected no. of records.
If it is less then remove rt table from join and use a co-related sub-query.
Regards,
Js
Received on Sun May 14 2006 - 02:16:31 CDT