ACID بالأمثلة
في هذا الدرس 4 موضوعات
هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.
نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.
في هذا الدرس
explain A, C, I, and D with a failure story each.
الموضوعات المخطط لها
- Atomicity: all steps or none. Money leaves account A but a crash stops before B is credited: rollback undoes the debit.
- Consistency: rules stay true (stock never below zero, foreign keys valid).
- Isolation: concurrent transactions do not see each other's half-done work (levels come in later modules).
- Durability: once committed, data survives a crash.
- A transaction is one unit of work that begins, then commits or rolls back.
تفاصيل المخطط المبدئي
عرض عملي
a table: letter / promise / failure it prevents.
اختبر فهمك
Which letter protects a half-finished transfer?
أظهر الإجابة
Atomicity.
التطبيق
طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.
تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.