Академический Документы
Профессиональный Документы
Культура Документы
Database Integrity
1
Muhammad Asghar Khan
Database Integrity (1/5)
• Unique constraints
• An attribute value can have null values but no duplicates are allowed
• Check constraints
• Applies a condition to a column value where that value must evaluate
to TRUE
• A condition can be of the form columnA = 5
3
Database Integrity (3/5)
Semantic Aspect of Data Integrity
• It relates to meaning of the data
• Index consistency
• An index is really nothing but an ordered list of pointers to data in
database tables
• Pointer consistency
• Sometimes large multimedia objects are not stored in the same
physical files as other data.
• Therefore, the DBMS requires pointer structures to keep the
multimedia data synchronized to the base table data
5
Database Integrity (5/5)
• Backup consistency
• Some DBMS products occasionally take improper backup copies
that effectively cannot be used for recovery
• It is essential to identify these scenarios and take corrective
actions