Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Which of the following scenarios reflect the atomicity property? a . ) 1 . Transaction 1 updates customer 1 ' s address. 2 . Transaction
Which of the following scenarios reflect the atomicity property?
a
Transaction updates customer s address.
Transaction updates customer s address.
Transaction commits the changes.
The changes are queued in the disk cover waiting to be committed to disk.
The system fails, and the changes are not written to memory.
Once the database is started up again, the recovery management component saves the changes to memory.
b
There are desks available for purchase in the product table.
In one transaction, the customer purchases desks.
In the same transaction, the customer purchases desks.
The validation check runs and sees there are desks left.
The entire transaction is reverted.
c
An HR employee updates Jeff's salary by increasing it by
The general manager updates Sally's salary by increasing it by
The HR employee hasn't finished the transaction yet and gets on a call.
The general manager updates Jeff's salary by increasing it by
The HR employee's database session timed out.
The database reverts Jeff's salary to what it was prior to the HR employee updating it and applies the increase by the general manager.
d
A user attempts to add an order to the database.
They successfully add the customer, then add the order table.
However, when trying to add the products to the order, the products no longer had any stock.
The entire order has to be canceled.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started