Which three application transactions must be made atomic

Assignment Help Database Management System
Reference no: EM131070343

Data Base work

Suppose you are given the James River Jewelry database design as follows:

CUSTOMER ( CustomerID, LastName, FirstName, Phone, Email)

PURCHASE ( InvoiceNumber, Date, PreTaxAmount, CustomerID)

PURCHASE_ITEM ( InvoiceNumber , ItemNumber, RetailPrice)

ITEM ( ItemNumber, Description, Cost, ArtistName)

OWNER ( OwnerID, Name, Phone, Email, AmountOwed)

JEWELRY_ITEM ( I temNumber, DateReceived, DateSold, NegotiatedSalesPrice, ActualSalesPrice, CommissionPercentage, OwnerID)

where

CustomerID in PURCHASE must exist in CustomerID in CUSTOMER

InvoiceNumber in PURCHASE_ITEM must exist in InvoiceNumber in PURCHASE

ItemNumber in PURCHASE_ITEM must exist in ItemNumber in ITEM

OwnerID in JEWELRY_ITEM must exist in OwnerID in OWNER

ItemNumber in JEWELRY_ITEM must exist in ItemNumber in ITEM

The OWNER and JEWELRY_ITEM tables are used to record data and maintain owner data about jewelry accepted on consignment. JEWELRY_ITEM (which is a subtype of ITEM-n ote the referential integrity constraint) is used to record the negotiated sales price, the commission percentage, and the actual sales price for each item of consigned jewelry.

Assume that office personnel at James River Jewelry use a database application to record consignment data.

When an item is received on consignment, owner data are stored in OWNER if the owner is new; otherwise existing owner data are used. New ITEM and JEWELRY_ITEM rows are created. In ITEM, ItemNumber and Description are recorded, Cost is set to $0.00, and if there is an artist associated with the piece, ArtistName is entered. For JEWELRY_ITEM, data are stored for all columns except DateSold and ActualSalesPrice. James River Jewelry personnel refer to these actions as an Acceptance Transaction.

Later, if the jewelry item does not sell, the NegotiatedSalesPrice and CommissionPercentage values may be reduced. This is called a Price Adjustment Transaction.

Finally, when an item sells, the DateSold and ActualSalesPrice fields for the item are given values, and the AmountOwed value in OWNER is updated by increasing AmountOwed by the owner's percentage of the ActualSalesPrice value. This third transaction is called a Sales Transaction

Suppose James River Jewelry identifies three groups of users: managers, administrative personnel, and system administrators. Suppose further that managers and administrative personnel can perform Acceptance Transactions and Sales Transactions, but only managers can perform Price Adjustment Transactions.

James River Jewelry has developed the following procedure for backup and recovery. The company backs up the database from the server to a second computer on its network each night. Once a month, it copies the database to a CD and stores it at a manager's house. It keeps paper records of all services provided for an entire year. If it ever loses its database, it plans to restore it from a backup and reprocess all service requests.

Which of the three application transactions must be made atomic (e.g., specify transaction boundaries) to prevent possible lost update? Why and why not?

Describe processing rights that you think would be appropriate for the identified three groups of company users.

Comment on the company's strategy on DB backup and recovery. Describe any changes you think the company should make to its current backup and recovery scheme.

Reference no: EM131070343

Questions Cloud

What are the examples of ethnocentrism : What are the examples of ethnocentrism and cultural relativism related to 'The Faraway Familiar Place' by Michael French Smith
Find induced emf across the open-circuited ends of coil : Determine the force exerted on q2 by q1 if q1 = 3 x 10-4 C and q2 = -10-4 C and are located at point A(1, 2, 3) and point B(2, 0, 5). respectively.
What kind of corporate-level strategies did news corp pursue : What kind of corporate-level strategies did News Corp pursue to build its multibusiness model - what are the advantages and disadvantages as-sociated with these strategies?
How psychological changes evolved in the hominid : Give a detailed explanation of how psychological changes evolved in the hominid.List the size or capacity of the cranial capacity of the hominid
Which three application transactions must be made atomic : Which of the three application transactions must be made atomic (e.g., specify transaction boundaries) to prevent possible lost update? Why and why not?
What is the meaning of the name : In 1924, Raymond Dart discovered a fossil which he called "Australopithecanthropus africanis. " What is the meaning of the name
What did you find most surprising : What did you find most surprising? What piqued your interest the most? Finally, based on the material presented here, do you think we can use chimpanzees as a model for understanding early evolutionary behaviors of ancestral hominids (proto human..
Difference between murder and accidental death : What is the difference between murder, manslaughter and accidental death? What kind of data and/or interpretations might an archaeologist use to help infer these important distinctions
What routes are present in the routing table of hq router : What routes are present in the routing table of the HQ router? What networks are present in the routing table of the ISP router? What networks, including the metric, are present in the RIP updates sent from the HQ router?

Reviews

Write a Review

Database Management System Questions & Answers

  Using the normalization process and rules

The 1NF table(s) - and an explanation of why each table(s), is in 1NF - using normal form definitions.

  Identify five different it systems that have affected

identify five different it systems that have affected business in the past few years i.e. business software

  Describe database management systems

Describe Database Management Systems and the various models - Describe how organizations use databases to make decisions

  In your opinion what are the three biggest challenges in

in your opinion what are the three biggest challenges in planning and designing a solution for a programming

  Case study-zen chiropractic clinic

Display the full details for the cheapestservices provided by ZC2 -  The Case Study-Zen Chiropractic Clinic

  Find entity relationship and relational database modelling

You are required to design (using an E-R diagram) an entity-relationship model of the problem, convert the model into a relational model, and assess the normal form of each schema.

  List four of mintzbergs decisional roles of managers

List four of Mintzberg's Decisional roles of managers. What storage system and processing algorithm were developed by Google for Big Data?

  Explain how to develop a project charter

Using the above scenario, develop a project charter. Include the problem statement, justification for the project, and how the project will be measured for success.

  Computer literacy and information literacy

Use the Internet or the Strayer Library to research one (1) concept in information systems that you have studied in this course. You may select a topic of your choice or you may use one (1) of the following:

  Creating an er model including entity classes

You will need to start by creating an ER model, including both Entity Classes and attributes. This is to be done in MySQL Workbench

  Discuss the apache web server in regard to cost

Discuss the Apache Web server in regard to cost, functionality, and compatibility. Are there certain implementations were it may not be suitable

  How can you create and manipulate an object in sql

How can you create and manipulate an object in SQL?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd