Tuning need for a large data [message #323854] |
Thu, 29 May 2008 14:48 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
gyankr
Messages: 11 Registered: January 2008
|
Junior Member |
|
|
Hi experts,
Please help me to tune the below
update sq_product_description sqpd
set (short_description
,long_description
,update_date
,update_source)=
( select ifl.short_description
,ifl.long_description
,sysdate
,'nancy'
from if_nan_prod_l ifl
,if_parameters ip
where sqpd.product_code = ifl.product_code
and sqpd.locale_language =trim(ifl.LANGUAGE_CODE)
and sqpd.locale_country =ip.country_code
and ip.interface_id='NAN')
where exists (
select 1
from if_nan_prod_l ifl
,if_parameters ip
where sqpd.product_code = ifl.product_code
and sqpd.locale_language = trim(ifl.LANGUAGE_CODE)
and sqpd.locale_country =ip.country_code
and ip.interface_id='NAN'
and (sqpd.short_description <> ifl.short_description
or sqpd.long_description <> ifl.long_description
)
);
The explain plan is attached.
Regards,
Gyan
[Updated on: Thu, 29 May 2008 22:19] by Moderator Report message to a moderator
|
|
|
|
|