الانتقال إلى المحتوى
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.

ال Lru و ال Mru فى ال Database Buffer Cache

Featured Replies

بتاريخ:

الاخوة الكرام السلام عليكم ورحمة الله تعالى وبركاته
لدى سؤال حول كيفية عمل خوارزمية ال LRU و ال MRU وانا حديث نعا ما فى مجال ال DBA ووجدت هذا الشرح
ولم افهم جذا كبير منه لذا ارجو التوضيح وجزاكم الله خيرا

The buffers in the cache are organized in two lists: the write list and the least
recently used (LRU) list. The write list holds dirty buffers, which contain data that
has been modified but has not yet been written to disk. The LRU list holds free
buffers, pinned buffers, and dirty buffers that have not yet been moved to the write
list. Free buffers do not contain any useful data and are available for use. Pinned
buffers are currently being accessed.
When an Oracle process accesses a buffer, the process moves the buffer to the most
recently used (MRU) end of the LRU list. As more buffers are continually moved to
the MRU end of the LRU list, dirty buffers age toward the LRU end of the LRU list.
The first time an Oracle user process requires a particular piece of data, it searches
for the data in the database buffer cache. If the process finds the data already in the
cache (a cache hit), it can read the data directly from memory. If the process cannot
find the data in the cache (a cache miss), it must copy the data block from a datafile
on disk into a buffer in the cache before accessing the data. Accessing data through
a cache hit is faster than data access through a cache miss

وشكرا

بتاريخ:

السلام عليكم
المقصود بذلك
most recently used :MRU
الاكثر استخدام
least recently used :LRU
الاقل استخدام
ضمن ذاكرة الخبء حيث تكون مرتبة الذاكرة من الاكثر استخداما الى الادنى استخداما
وعندما يتم عمل خبء لblock معيين فانه يتم وفق خوارزمية MRU ويذهب الى اخر سلسلتها
اي الفكرة انه عندما يتم عمل خبء ولا توجد ذاكرة كافية فانه يتم تفعيل خوارزمية ال lru ويتم
البحث عن الbuffers الاقل استخداما لتقوم بحذف تلك ال buffers والتوضع مكانها

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

شكرا لك اخ x-file كثيرا وجزاك الله خيرا

بتاريخ:

شكرا لك أخي الكريم X-File علي المعلومة ونتمني تواجدك معنا دوما

  • بعد 2 سنة...
بتاريخ:

شكرا جزيلا

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

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

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

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

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

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.