الانتقال إلى المحتوى

هل nested select سيئة ؟ ولماذا؟


ammartalal2005

Recommended Posts

مرحبا

Correlated sub-query or nested query is bad, because for every record in the outer query, then inner query will have to execute.

You cannot say it is bad in general, if you need it,and you have no alternative, ,then it is OK,

If you want me to answer you correctly, then you have to answer me first, Is the join operation bad?
The actual answer is that it depends on the data and the usage and most importantly, the no of blocks that needs to be executed to retrieve the .result

You can find an interesting paper about tuning and how to measure tuning on my website

www.e-ammar.com/download.htm

then download the document called

Tuning your application using SQL optimization Techniques PDF 41KB

it will teach you the basics of tuning

regards

Ammar Sajdi
oracle consultant
amman - Jordan
www.e-ammar.com
PALCO/REALSOFT

رابط هذا التعليق
شارك

انضم إلى المناقشة

يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.

زائر
أضف رد على هذا الموضوع...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   تمت استعادة المحتوى السابق الخاص بك.   مسح المحرر

×   You cannot paste images directly. Upload or insert images from URL.

جاري التحميل
×
×
  • أضف...

برجاء الإنتباه

بإستخدامك للموقع فأنت تتعهد بالموافقة على هذه البنود: سياسة الخصوصية