DBMS1
DBMS1
Technologies
Data Isolation
• Scattered in various Files
• Files may be in different format
• Difficult write new application programs
• Multi skilled system programmer is needed
Integrity Problems
• Programs are written to enforce integrity constraints
•Difficult add new constraints
• Specifically when constraints involve data items from
different files.
Atomicity Problem.
Integrity
• Centralized control ensure that adequate checks are
incorporated.
• Referential integrity
Security
• Data access permission
• Authentication schemes
• Levels of security can be implemented
Conflict Resolutions
Data Independence
Functions of DBA
Schema Definition
DBA custodian of data and controls the database structure.
Storage structure and access method definition
Create appropriate storage structure and access methods by
writing a set of definitions. Which are translated by data storage
and data definition compiler.
Compiled By: Pankaj Kumar Bahety
DBA
H ie r a r c h ie l D a ta M o d e l :
T h e H ie r a r c h ie l m o d e l r e la te s e n t it ie s b y p a r e n t / c h ild o r s u p e r io r / s u b o r d in a te r e la t io n s h ip . e .g
.A n o r g a n iz a t io n c h a r t . G r a p h ic a lly t h e h ie r a r c h ie l m o d e l is s h o w n a s a n I n v e r te d t r e e , w it h t h e
h ig h e s t le v e l o f t h e t r e e k n o w n a s th e r o o t . T h e n o d e s o f th e t r e e r e p r e s e n ts e n t it ie s .
H ie r a r c h ie l M o d e l p e r m its tw o t y p e s o f r e la t io n s h ip s .
O n e to O n e
O n e to M a n y
T h e n e tw o r k d a ta m o d e l is s i m ila r to th e h e r a r c h ie l m o d e l , e x c e p t t h a t a n
e n t it y c a n h a v e m o r e th a n o n e p a r e n t .
G r a p h ic a lly it is r e p r e s e n te d a s a n a r b it r a r y g r a p h . I t p e r m its a ll t y p e s o f
r e la t io n s h ip s . Compiled By: Pankaj Kumar Bahety
The relational model for management of a database is a data
model based on predicate and set theory .
The relational model was the first formal database model. After it
was defined, formal models were made to describe hierarchical
databases (the hierarchical model,) and network databases (the
network model). Hierarchical and network databases existed
before relational databases, but were only given formal models
after the relational model was defined.
The relational model was invented by Dr. Ted Codd and
subsequently maintained and developed by Chris Dateand Hugh
Darwen ,, as a general model of data. In The Third Manifesto
(1995) they show how the relational model can be extended with
object oriented features without compromising its fundamental
principles.
T h e R e la t io n a l d a ta m o d e l is c u rre n t ly t h e m o s t p o p u la r in D B M S , b e c a u s e
it is c o n c e p t u a lly s im p le a n d u n d e rs ta n d a b le b y in fo r m a t io n s y s te m s
p ro fe s s io n a ls . It u s e s d a ta v a lu e s to i m p ly re la t io n s h ip s . A re la t io n a l d a ta
m o d e l is b a s e d o n a re la t io n , a tw o d im e n s io n a l ta b le . R o w s re p re s e n t in g
re c o rd s a n d c o lu m n s s h o w t h e a tt r ib u te s o f t h e e n t it y .
E m p no N ame A d d re s s D e p a rt m e n t B a s ic