<b>Loss of Information</b>



next up previous
Next: Normalization Using Functional Up: Pitfalls in Relational Previous: Representation of Information

Loss of Information

  1. The previous example might seem to suggest that we should decompose schemes as much as possible.

    This too can lead to a bad design.

  2. Consider a design where Borrow-scheme is decomposed into two schemes

  3. We construct our new relations from borrow by:

  4. It appears that we can reconstruct the borrow relation by performing a natural join on the new schemes amt and loan.

  5. Figure 6.5 shows what we get by computing amt loan.

  6. We notice that there are tuples in amt loan that are not in borrow.

  7. How did this happen?
  8. When we decomposed Lending-scheme into Borrow-scheme and Branch-scheme earlier, we did not have a similar problem. Why not?
  9. The branch associated with a loan depends on the customer, not on the amount of the loan (which is not unique).

  10. We'll make a more formal definition of lossless-join:
  11. In other words, a lossless-join decomposition is one in which, for any legal relation , if we decompose and then ``recompose'' , we get what we started with - no more and no less.



next up previous
Next: Normalization Using Functional Up: Pitfalls in Relational Previous: Representation of Information



Page created and maintained by Osmar R. Zaï ane
Last Update: Mon Oct 16 17:18:28 PDT 1995