Problem

Ms. Marcia Wilson owns and operates Marcia’s Dry Cleaning, which is an upscale dry clean...

Ms. Marcia Wilson owns and operates Marcia’s Dry Cleaning, which is an upscale dry cleaner in a well-to-do suburban neighborhood. Marcia makes her business stand out from the competition by providing superior customer service. She wants to keep track of each of her customers and their orders. Ultimately, she wants to notify them that their clothes are ready via email.

Assume that Marcia has hired you as a database consultant to develop an operational database having the following four tables:

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

INVOICE (InvoiceNumber, CustomerID, DateIn, DateOut, Subtotal, Tax, TotalAmount)

INVOICE_ITEM (InvoiceNumber, ItemNumber, ServiceID, Quantity, UnitPrice,

ExtendedPrice)

SERVICE (ServiceID, ServiceDescription, UnitPrice)

A. Assume that Marcia’s has the following personnel: two owners, a shift manager, a parttime seamstress, and two salesclerks. Prepare a two-to-three-page memo that addresses the following points:

1. The need for database administration.

2. Your recommendation as to who should serve as database administrator. Assume that Marcia’s is not sufficiently large to need or afford a full-time database administrator.

3. Using the main topics in this chapter as a guide, describe the nature of database administration activities at Marcia’s. As an aggressive consultant, keep in mind that you can recommend yourself for performing some of the DBA functions.

B. For the employees described in part A, define users, groups, and permissions on data in these four tables. Use the security scheme shown in Figure 6-16 as an example. Create a table like that in Figure 6-17. Don’t forget to include yourself.

C. Suppose that you are writing a part of an application to create new records in SERVICE for new services that Marcia’s will perform. Suppose that you know that while your procedure is running another part of the same application that records new or modifies existing customer orders and order line items can also be running. Additionally, suppose that a third part of the application that records new customer data also can be running.

1. Give an example of a dirty read, a nonrepeatable read, and a phantom read among this group of stored procedures.

2. What concurrency control measures are appropriate for the part of the application that you are creating?

3. What concurrency control measures are appropriate for the two other parts of the application?

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search