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

ماهو ال Transaction ؟

Featured Replies

بتاريخ:

السلام عليكم ورحمة الله وبركاته
اريد ا ن اخذ فكرة كاملة عن ال TRANSACTION
هل هو مخزن بيانات ام مجموعة عمليات ؟
هل هو ضروري في النظام؟

بتاريخ:

السلام عليكم ورحمة الله وبركاته
ال TRANSACTION
هي عبارة عن نقل البيان من مكان الى آخر وبمجاميع معينه بالنظام حيث يمر البيان بمجموعة اضافات او مجاميع معينه يتم تحديدها مسبقا وتكون ثابته برمجيا وهي مهمة بالانظمة التي تحتوي على بيانات مالية وكذلك نحتاج اليها اذا كنت تستخدم اكثر من نظام مثل نظام العملاء ونظام الاستاذ العام فيتم نرحيل البيانات من العملاء واقصد بترحيل نقل مجموعة من البيانات في جداول خاصة بالاستاذ العام لاصدار الميزانية مثلا
واهمتها تكمن بسرعة اخراج وحفظ البيانات

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

جزاك الله خيرا

بتاريخ:

بالاضافة لشرح الأخ / اسامه

Introduction to Transactions
A transaction is a logical unit of work that contains one or more SQL statements. A transaction is an atomic unit. The effects of all the SQL statements in a transaction can be either all committed (applied to the database) or all rolled back (undone from the database).

A transaction begins with the first executable SQL statement. A transaction ends when it is committed or rolled back, either explicitly with a COMMIT or ROLLBACK statement or implicitly when a DDL statement is issued.

To illustrate the concept of a transaction, consider a banking database. When a bank customer transfers money from a savings account to a checking account, the transaction can consist of three separate operations:

Decrement the savings account

Increment the checking account

Record the transaction in the transaction journal

Oracle must allow for two situations. If all three SQL statements can be performed to maintain the accounts in proper balance, the effects of the transaction can be applied to the database. However, if a problem such as insufficient funds, invalid account number, or a hardware failure prevents one or two of the statements in the transaction from completing, the entire transaction must be rolled back so that the balance of all accounts is correct.



بمعنى ان مجموعه من الاوامر الموثرة فى قاعدة البيانات يجب ان تنفذ كوحدة واحدة ... وقد تنتهي هذه الاوامر بامر حفظ دائم commit او عدم تنفيذ لمجموعه الاوامر مكتمله معا بامر rollback

والمثال السابق الخاص بالبنك وهو السحب من حساب معين ثم الاضافة على حساب آخر يجب ان تتم هاتين العمليتين معا
وتسمى transaction
اما لو حدث مشكلة اثناء تنفيذ هذه الاوامر مثل انقطاع كهرباء او فشل كتابة على الديسك او اى سبب طارئ
فلا بد ان تنتهى هذه الحركة transaction بأمر rollback وعدم التاثير على اى من الحسابين المسحوب منه او المودع اليه
وتسمى مجموعه الاوامر هذه مجتمعه منذ بدايتها وحتى اخر امر فيها logical unit of work

التفاصيل من هنـــــــــــــــــــا

transaction.gif

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

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

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

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

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

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.