ebook img

db_class_FunctionalDependencies.pdf (PDFy mirror) PDF

0.05 MB·English
by  
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview db_class_FunctionalDependencies.pdf (PDFy mirror)

Relational Design Theory Functional Dependencies Jennifer Widom Functional Dependencies Relational design by decomposition  “Mega” relations + properties of the data  System decomposes based on properties  Final set of relations satisfies normal form – No anomalies, no lost information  Functional dependencies  Boyce-Codd Normal Form  Multivalued dependences  Fourth Normal Form Functional dependencies are generally useful concept  Data storage – compression  Reasoning about queries – optimization Jennifer Widom Functional Dependencies Example: College application info. Student(SSN, sName, address, HScode, HSname, HScity, GPA, priority) Apply(SSN, cName, state, date, major) Jennifer Widom Functional Dependencies Student(SSN, sName, address, HScode, HSname, HScity, GPA, priority) Suppose priority is determined by GPA Two tuples with same GPA have same priority Jennifer Widom Functional Dependencies Student(SSN, sName, address, HScode, HSname, HScity, GPA, priority) Two tuples with same GPA have same priority Jennifer Widom Functional Dependencies Functional Dependency  Based on knowledge of real world  All instances of relation must adhere Jennifer Widom Functional Dependencies Student(SSN, sName, address, HScode, HSname, HScity, GPA, priority) Jennifer Widom Functional Dependencies Apply(SSN, cName, state, date, major) Jennifer Widom Functional Dependencies Functional Dependencies and Keys  Relation with no duplicates  Suppose Ᾱ  all attributes Jennifer Widom Functional Dependencies Trivial Functional Dependency Nontrivial FD Completely nontrivial FD Jennifer Widom

See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.