Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Which of the following scenarios DOES NOT reflect the consistency property at work? a . ) 1 . There are 5 0 desks available for

Which of the following scenarios DOES NOT reflect the consistency property at work?
a.)
1. There are 50 desks available for purchase in the product table.
2. In one transaction, the customer purchases 10 desks.
3. In the same transaction, the customer purchases 50 desks.
4. The validation check runs and sees there are 40 desks left.
5. The entire transaction is reverted.
b.)
1. Transaction 1 updates customer 1's address.
2. Transaction 1 updates customer 2's address.
3. Transaction 1 commits the changes.
4. The changes are queued in the disk cover waiting to be committed to the disk.
5. The system fails and the changes are not written to memory.
6. Once the database is started up again, the recovery management component saves the changes to memory.
c.)
1. A user attempts to add an order into the database.
2. They successfully add the customer, then add the order table.
3. However, when trying to add the products to the order, the products no longer had any stock.
4. The entire order has to be canceled.
d.)
1. An HR employee updates Jeff's salary by increasing it by 2.5%.
2. The general manager updates Sally's salary by increasing it by 5%.
3. The HR employee hasn't finished the transaction yet and gets on a call.
4. The general manager updates Jeff's salary by increasing it by 5%.
5. The HR employee's database session times out.
6. The database reverts Jeff's salary to what it was prior to the HR employee updating it and applies the 5% increase by the general manager.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database Systems

Authors: Ramez Elmasri, Shamkant B. Navathe

7th Edition Global Edition

1292097612, 978-1292097619

More Books

Students also viewed these Databases questions