テクノロジ系 2025年度 問61 ★★★☆☆ Medium
DBMSのトランザクションに関する記述として,適切なものはどれか。
English
Which is an appropriate description of transactions in a DBMS?
မြန်မာ
DBMS ရှိ transaction နှင့်ပတ်သက်သော ဖော်ပြချက်အဖြစ် သင့်လျော်သည်မှာ အောက်ပါတို့အနက် အဘယ်နည်း?
Correct answer: ウ — データベースに対する一連の処理が全て成功したら変更結果を確定し,途中で失敗したら処理前の状態に戻す。
トランザクションとは,データベースに対する複数の操作をひとまとまりとして扱う処理単位である。ACID特性(原子性・一貫性・独立性・永続性)のうち,原子性(Atomicity)に基づき,トランザクション内の全処理が成功した場合のみコミット(確定)し,一つでも失敗した場合は全てをロールバック(取消し)して整合性を保つ。
English
A transaction in DBMS is a logical unit of work comprising one or more database operations that must all succeed or all fail together. Based on the Atomicity property of ACID, if every operation in a transaction succeeds, the changes are committed (made permanent); if any operation fails, all changes are rolled back to the state before the transaction began, preserving data integrity.
မြန်မာ
DBMS တွင် transaction ဆိုသည်မှာ database လုပ်ဆောင်ချက်တစ်ခု သို့မဟုတ် တစ်ခုထက်ပို၍ ပါဝင်သော တရားဝင် လုပ်ငန်းယူနစ်တစ်ခုဖြစ်ပြီး အားလုံး အောင်မြင်ရမည် သို့မဟုတ် အားလုံး ကျရှုံးရမည်ဖြစ်သည်။ ACID ၏ Atomicity (အနုမြူ) ဂုဏ်သတ္တိအပေါ် အခြေခံ၍ transaction တစ်ခုရှိ လုပ်ဆောင်ချက်အားလုံး အောင်မြင်ပါက ပြောင်းလဲမှုများကို commit (အမြဲတမ်း) ပြုလုပ်သည်။ မည်သည့် လုပ်ဆောင်ချက်မဆို ကျရှုံးပါက ပြောင်းလဲမှုအားလုံးကို transaction မစတင်မီ အခြေအနေသို့ rollback ပြန်လုပ်ပြီး ဒေတာ ခိုင်မာမှုကို ထိန်းသိမ်းသည်။