What are the symptoms of poor design?
Redundacy and anomalies
When is something considered poor design when splitting a relation?
If the initial set R cannot be recovered from S and T
If you want to put a relationship in BCNF, when do you have to change something?
If attributes in R determined by something that isn’t a (super)key, then B is determined that is not necessarily unique
thus:
- avoidable reduncacy
- decomposition of R advised
When is R in BCNF?
For each non-trivial FD a –> b of R:
left-hand side A is a (super)key of R
What is a lossless join?
All relations are in BCNF, all data in original relation R represented faithfully by decomposition
What is the BCNF Decomposition algorithm?