

































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
This lecture was delivered by Prof. Mriganka Rao for Distributive Database System at Anna University of Technology. It includes: Relational, Databases, Model, Record, Semantic, Hierarchical, Network, Relational, Strengths, Components
Typology: Slides
1 / 73
This page cannot be seen from the preview
Don't miss anything!


































































Spring 2012
Data Model A set of tools/ constructs used to model a database Record/Semantic
Two major Strengths Three Components Relational databases based on relational DM
A relation R defined over domains D
, D
, …., D
is a set of n-tuples, <d
, d
, …, d
such that <d
D
……, d
D
eNo eName eTitle eSal pNo eResp eDur 12 7 12 15 10 10 Work Mangr Cons Cons Cons Mangr
Supr Desin Prog Eng Prog Anlyst Naeem Rahila Narjis Aslam Hafeez Liaqat
Each of the attribute in these two relations has a domain, like… Domains need not to be distinct
Minimum nonempty subset of a relation whose values uniquely identify each tuple in relation
The superset of the key is super key, like… We also have candidate, alternate, secondary, foreign key
Three Normal Forms BCNF Lossless decomposition Dependency preservation
Norm. based on dependencies Up to BCNF on FDs MVD and P-JD
1 st: A relation is in first normal form iff every attribute in every tuple contains an atomic value or there is no multivaued (repeating group) in the relation 2 nd: A relation is in 2nd^ normal form iff it is in the first normal form and all non key attributes are fully functionally dependent on key, that is, there is no partial dependency 3 rd: A table is in third normal form (3NF) iff it is in 2NF and there is no transitive dependency, that is, no non-key attribute is dependent on another non-key attribute BCNF: A table is in BCNF if every determinant is a candidate key