As Chapter 10
As Chapter 10
D AT A B A S E A N D D AT A M O D E L I N G
The database approach
DBMS
The physical storage of the data is
represented as being on the disk.
The detail of the storage are known only at
the internal level, the lowest level of the
ANSI architecture.
This is controlled by DBMS software.
Database Administrator
Third Normal Form (3NF): A table is 3NF, if it is 2NF and the non-key
columns are independent of each others. In other words, the non-key
columns are dependent on primary key, only on the primary key and
nothing else.
For example, suppose that we have a Products table with
columns productID (primary key), name and unit Price. The
column discount Rate shall not belong to Products table if it is also
dependent on the unit Price, which is not part of the primary key.
Higher Normal Form: 3NF has its inadequacies, which leads to higher
Normal form, such as Boyce/Codd Normal form, Fourth Normal Form
(4NF) and Fifth Normal Form (5NF), which is beyond the scope of this
tutorial.
At times, you may decide to break some of the normalization rules, for
performance reason (e.g., create a column called total
Price in Orders table which can be derived from the order Details records);
or because the end-user requested for it. Make sure that you fully aware of
it, develop programming logic to handle it, and properly document the
decision.
Integrity Rules
Integrity Rules
You should also apply the integrity rules to
check the integrity of your design:
Entity Integrity Rule