MSIT 630 Database Systems

1. What are two advantages of encrypting data stored in the database? (2 points)

2. RAID systems typically allow you to replace failed disks without stopping access to the

system. Thus, the data in the failed disk must be rebuilt and written to the replacement disk while

the system is in operation. Which of the RAID levels yields the least amount of interference

between the rebuild and ongoing disk accesses? Explain your answer. (4 points)

3. In the sequential file organization, why is an overflow block used even if there is, at the

moment, only one overflow record? (4 points)

4. For each of the following two B+ trees, show the steps involved in the following queries: (10

points) (Note: there are two B+ trees. You are supposed to answer question #a and #b for both


a. Find records with a search-key value of 11

b. Find records with a search-key value between 11 and 19, inclusive.

B-tree 1

B-tree 2

5. What are the causes of bucket overflow in a hash file organization? What can be done to

reduce the occurrence of bucket overflows? (4 points)

6. Why is a hash structure not the best choice for a search key on which range queries are likely?

(4 points)

7. A drawback of cost-based optimization is the cost of optimization itself. Optimizers use

heuristics to reduce the cost of optimization. Please describe at least three heuristic approaches

for transforming relational-algebra queries. (4 points)

8. Consider the following two transactions: (10 points)

T13: read(A);


if A = 0 then B := B + 1;


T14: read(B);


if B = 0 then A := A + 1;


Let the consistency requirement be A = 0 or B = 0, with A = 0 and B = 0 as the initial values.

a. Show that every serial execution involving these two transactions preserves the consistency of

the database.

b. Show a concurrent execution of T13 and T14 that produces a nonserializable schedule.

c. Is there a concurrent execution of T13 and T14 that produces a serializable schedule?

9. Consider the log in Figure 16.5 below. Suppose there is a crash just before the < T0 abort> log

record is written out. Explain what would happen during recovery. Describe the redo and undo

phase of the recovery algorithm and the log records to be added during recovery. (8 points)

MSIT 630 Database Systems

We offer the best custom writing paper services. We have answered this question before and we can also do it for you.


We offer the bestcustom writing paper services. We have done this question before, we can also do it for you.

Why Choose Us

  • 100% non-plagiarized Papers
  • 24/7 /365 Service Available
  • Affordable Prices
  • Any Paper, Urgency, and Subject
  • Will complete your papers in 6 hours
  • On-time Delivery
  • Money-back and Privacy guarantees
  • Unlimited Amendments upon request
  • Satisfaction guarantee

How it Works

  • Click on the “Place Order” tab at the top menu or “Order Now” icon at the bottom and a new page will appear with an order form to be filled.
  • Fill in your paper’s requirements in the "PAPER DETAILS" section.
  • Fill in your paper’s academic level, deadline, and the required number of pages from the drop-down menus.
  • Click “CREATE ACCOUNT & SIGN IN” to enter your registration details and get an account with us for record-keeping and then, click on “PROCEED TO CHECKOUT” at the bottom of the page.
  • From there, the payment sections will show, follow the guided payment process and your order will be available for our writing team to work on it.