next up previous
Next: Queries Up: Database Basics Previous: Constraints

Normalization

Due to the requirement that the value of any column in any row in any table must be atomic, some relational databases suffer these problems:

What data values are likely to be null in our example database?
What data values are repeated many times in our example database?
What logical updates are manifested into multiple physical updates in our database?

To avoid such problems:

Example normalized database:

genpepts: {(
   #accn:  string,
   #uid:   num,
   #title: string,
   #seq:   string)}

features: {(
   #uid:   num,
   #fid:   num,
   #start: num,
   #end:   num,
   #name:  string
   #anno:  string)}



Wong Lim Soon
4/9/2000