الانتقال إلى المحتوى
View in the app

A better way to browse. Learn more.

مجموعة مستخدمي أوراكل العربية

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

ماهو ال Cursor Sharing

Featured Replies

بتاريخ:

اخواني اريد ان اعرف ماهو هذا ال parameter
cursor sharing
وبياخد 3 قيم
exact, force and similar
فما هو الفرق بينهم
تحياتي لكم

بتاريخ:

EXACT - (Default) Only statements with an exact text match will share the same SQL area.
SIMILAR - Oracle will substitute bind variable for all literals, thereby increasing the chances of a text match. Oracle will force similar statements to share the SQL area without deteriorating execution plans.
FORCE - The same as SIMILAR except that execution plans may deteriorate. This option should only be used if the risk of suboptimal plans is outweighed by the increase in cursor sharing.
In an ideal world the application should be written to encourage cursor sharing, but existing applications may gain reduced memory usage, faster parses, and reduced latch contention when using this option.

بتاريخ:
  • كاتب الموضوع

برضه موش فاهم ؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟

بتاريخ:

if a SQL statment is executes it will be stored in the shared SQL Area in the Shared Pool.

Cursor Sharing:
EXACT-when the same SQL statement is executed again it will be retrieved from the Shared SQL Area in memory not from disk which will be fast.

SIMILAR :if one SQL statment like this
select ename from emp
where empid=10;
is executed it will be saved in the shared SQL Area.and when another SQL statemnt is executed like this
select ename from emp
where empid=20;
it will be retrieved from the Shared SQL Area like the old one but substitute the empid in the 2 SQLs

FORCE : The same as SIMILAR except that execution plans of SQL Statements may be different.



sorry for using English,but the DBA work has to be in English

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

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

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

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

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

Account

Navigation

البحث

إعداد إشعارات المتصفح الفورية

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.