lecture 6 Flashcards
redundancy
redundancy gives rise to waste of memory ,
update, insert and delete anomalies
what is a good database and how to achive it
a good database is that one which has no redudncy and no update, insertion and deletion anomalies
how to creat a good schema
in order to design a “good” schema, it is necessary
to represent each concept separately in a distinct
relation
how can the concepts represented in a (well-
designed) schema be identified?
it can be found by a key
define a constraint
constraint can be defind as the the condition that is given to the database but the conditionmust be valid in real intrest
what is ment by legal in database
instant of database which satisfy all the constriants
different type of constraint in DBMS
domain constraint: those constriant that tell us about the domain like the grade can not be higher then 30 and can not be less then 18
keys : it is used for unique like all student have unique matricola number
containment of domains: this is used where we need same key in two difffent schema i.e matricola number of student must be same in exam schema