CODD'S
RULES
Dr.Edgar
Frank Codd(Augest 19,1923 – April 18,2003) was a Computer Scientist
who working in IBM.And he invented the Relational Model for
Database Management based on relational model ,the Relational
database was created in 1985.And E.F.Codd proposed 13 rules for
Relational database .Every Relational database table should follow
the Codd rules.Because that table is a
pure
Relational database table.DBMS meets these rules is called RDBMS.
In
codd's rule:
1.We
follow any 5-6 rules it qualified to be a Database Management
system(DBMS).
2.We
follow any 7-9 rules it qualified to be a Semi-Relational Database
Management system(Semi-RDBMS).
3..We
follow any 9-12 rules it qualified to be a Relational Database
Management system(RDBMS).
Now,
we learn about Codd's Rule:
Rule
Zero: The
Foundation Rule
Any
system can be qualified
as
a relational database management system that system must be able
to manage the stored information in its entirely through its relational
capablities
Rule
Two: The
Guaranteed Access Rule
In this rule create a logical relationships between tables,to
access all data in database.
Rule
Three: Systematic
treatment of Null value
In
this rule DBMS allow null vaues in table . But, database not allow
in primary key. Null value represent missing data and no values or
inapplicable.
Rule
Four: Active
Online Catalog Based on the Relational Model
In
this rule the system catalog must maintain by the DBMS. Database
Structure must be stored in online catalog and that is only queried
by authorized user.
And
online ,inline,relational catalog are must be support by the system.
Catalog is define the hole data.
Rule
Five: The
Comperhensive Data Sub Language
In
this rule RDBMS may support several language..only using a language
can be access a database.A database must be accessible by a
language supported for data accessing. data access mean data
definition,manipulating ,transaction and etc.And has a Linear
application.
Rule
Six: The
View Updating Rule
In
this rule we can view the table in different angle or way and also we
can select and view the different presepective table.And also we view
the updatable rows and columns in table.
Rule
seven:
High
Level Insert,Update,and Delete
In
this rule the system must excute more than one query at a time.The
RDBMS must
be support high-level inserting,deleting and updating and it must
also support union, minus, intersection operation.
Rule
Eight:
Physical
Data Independence
In
this rule if any physcial changes in the system,such as exchange
hardware and software compontent, chanages of storage etc. It
should not affect the logicial or external view.
Rule
Nine:
Logical Data Independence
This
rule is similar to physical data independence.Because , In database
logical will be change that not affect the user view(Application).It
is very complicated to achieve.
Rule
Ten:
Integrity
Independence
In
this rule Integrity constraints changed at database level should
not change at application level. This rule means that RDBMS is not
reliant on front end.
Rule
Eleven:
Distribution
Independence
Data
distribution over various locations must be invisible to end
user.The users should always get the impression that the data is
located at one only place.This is a foundation of distribution
database system.
Rule
Twelve:
The
Non-Subversion Rule
If low level access is allowed for the relational database. It
should not able to subvert the integrity constraints and bypass
security to change the information.
easy to unterstand
ReplyDelete