انتقل إلى المحتوى
أمين أبوزيد
درس مخطط لهMID-015-L01

شذوذات التزامن

  • الدرس 1 من 7
  • Mid-level
في هذا الدرس 4 موضوعات

هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.

نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.

في هذا الدرس

name and recognize the five anomalies.

الموضوعات المخطط لها

  • Dirty read: reading another transaction's uncommitted data.
  • Non-repeatable read: the same row read twice gives different values.
  • Phantom: the same query returns a different set of rows the second time.
  • Lost update: two transactions read, then both write; one overwrites the other.
  • Write skew: two transactions read overlapping data and write different rows, breaking a rule that spans both (two doctors going off call).
تفاصيل المخطط المبدئي

عرض عملي

a timeline table for each anomaly with two columns (T1, T2) and the surprising result, using a Shop stock example for lost update.

اختبر فهمك

Two transactions each read stock = 5 and each write stock = 4. Which anomaly?

أظهر الإجابة

Lost update.

التطبيق

طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.

المختبر والتمارين الاختبار

تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.

اكتب للبحث في المستويات والمراحل والوحدات والدروس.