subject

Deadlocks happen when two or more access operations happen at the same time in a database. In an HR operation, the HR Clerk is trying to delete records which will then be in the job_history and update salaries that were recommended by the Director on promotion of the records deleted, while the Senior HR Officer is trying to use salaries to calculate this month’s pay out. A third operation on the salaries involves the HR Manager who wants to know who was promoted last month so that their salaries reflect correctly in this month’s payroll. a. Write out a scenario with schematics (or diagrams) to show a typical deadlock situation that would arise as a result of the scenario given. [15]
b. What granularity would you recommend to use for each of these operations, and why? [8]
c. What would a scheduler’s role be in this scenario? Which would be best according to your understanding of deadlock resolution? [4]

d. Recommend a suitable, future solution based on:
i. Optimistic Approach. [4]
ii. Pessimistic Approach. [4]

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 17:00
In which of the following ways can using test-taking tips you? a. you can focus on the information that you need to study. b. you will see the answers to the test. c. you will study more. d. you will be less organized.
Answers: 1
question
Computers and Technology, 25.06.2019 05:00
Carmina works at a fast-food restaurant. during the slow afternoon hours, carmina always find projects to keep her busy, like washing all the trays or deep-cleaning the drive-thru area. what workplace habit does carmina show by doing this? efficiency initiative interpersonal skills problem solving
Answers: 1
question
Computers and Technology, 25.06.2019 08:30
In the context of intentional computer and network threats a is a programming routine built into a system by its designer
Answers: 2
question
Computers and Technology, 25.06.2019 11:30
Give two reasons why cloud computing could be detrimental to a company.
Answers: 1
You know the right answer?
Deadlocks happen when two or more access operations happen at the same time in a database. In an HR...
Questions
question
Mathematics, 28.10.2020 17:10
question
Mathematics, 28.10.2020 17:10
question
Chemistry, 28.10.2020 17:10
question
Mathematics, 28.10.2020 17:10
Questions on the website: 13722363