CP363 : Data

Metadata


Data Relations


Data Redundancy

Uncontrolled redundancy (repetition of data) can lead to problems:

Controlled redundancy can be used in specific instances - ex. data repeated in order to improve query performance. In such a case the DBMS must be designed to make sure that repeated data is automatically added or updated as necessary in order to avoid duplication of effort and inconsistent data.


Data Integrity

A DBMS must define and enforce constraints on its data. This helps to verify the correctness of the data, at least so far as the constraints are defined.

Data insert or update attempts that violate these integrity checks can be rejected by the DBMS. Application programs do not need to worry about applying the rules, and thus these integrity checks do not have to be programmed into every application.


The Relational Model