Chapter Six – Database Administration
F. For each of these three types of transaction, describe whether you think optimistic or
pessimistic locking would be better. Explain the reasons for your answer.
G. 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. Describe processing
rights that you think would be appropriate for this situation. Use Figure 6-17 as an
example.
Read
Insert
Update
Delete
Grant Rights
Modify Structure
Read
Insert
Update
Delete
Grant Rights
Modify Structure
Read
Insert
Update
Delete
Grant Rights
Modify Structure
This security system isn’t particularly strong. Because Acceptance Transactions require creating
a new JEWELRY_ITEM row and possibly a new OWNER row, both Managers and Administrative
H. 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 purchase and sales transactions for an
entire year. If it ever loses its database, it plans to restore it from a backup and
unrecorded transactions. Do you think this backup and recovery program is sufficient for
James River Jewelry? What problems might occur? What alternatives exist? Describe
any changes you think the company should make to this system.