Introduction to Database Systems are used by a manager of any small organization to track
necessary data
File Systems
Database Systems
Database
Database Models
Data Dictionary
*Property of STI J0070
1 _________________________ 2 __________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
3 _________________________ 4 __________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
Database System Five major parts of a Database System
Hardware
Software
o Operating Systems Software
o DBMS Software
o Application programs and utility software
People
o Systems Administrators
o Database Administrators
o Database Designers
o Systems Analysts and Programmers
o End Users
Procedures
Data
*Property of STI J0070 *Property of STI J0070
5 _________________________ 6 __________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
Database
is a shared, integrated computer structure that stores Advantages Disadvantages
a collection of: Reduced data redundancy Complexity
Data integrity Expense
o End-user data
Data independence Vulnerability
– raw facts of interest to the end user Data security Size
o Metadata Data consistency Training costs
– data about data through which the end-user data are Easier use of data Compatibility
integrated and managed Less storage Locking in of technology
Lack of lower level control
7 _________________________ 8 __________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
Database Model
Database Model o Implementation Model
defines the logical design of data that can be stored, – places emphasis on how the data are represented in the
database or how the data structures are implemented to
organized, and manipulated in a database system
represent what is modeled
defines the infrastructure offered by a particular – Examples:
database system » Hierarchical database model
Categories: » Network database model
o Conceptual Model » Relational database model
– focuses on the logical nature of the data representation » Object-oriented database model
– Example: Entity relationship (E-R) model
9 _________________________ 10 _________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
11 ________________________ 12 _________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
Hierarchical Model Network Model
was developed in the 1960’s was created to represent complex data relationships, improve database
is used to manage large amounts of data for complex manufacturing performance, and impose a database standard
projects was defined by the Conference on Data Systems Language (CODASYL)
has a basic logical structure represented by an upside-down tree
13 ________________________ 14 _________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
Relational Model
was introduced in 1970 by E.F. Codd of IBM
Entity relationship model
is collection of relations or two-dimensional tables having
distinct names was introduced by Peter Chen in 1976
student-number name course yields a graphical representation of entities and
89-11043 Marian BSIT their relationships in database structure
89-10043 Jackie BSCS
is usually represented by an entity relationship
61-12345 Jennelyn BSCOE
23-10202 Solenn BSBA
diagram
15 ________________________ 16 _________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
Entity relationships
17 ________________________ 18 _________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
19 ________________________ 20 _________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
Data model
is the relatively simple representation of a more complex real-
world object
ANSI/SPARC
stands for American National Standard Institute/Standards
Planning and Requirements Committee
defined three different data models based on their degree of
abstraction:
o Conceptual model
o Internal model
o External model
21 ________________________ 22 _________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
23 ________________________ 24 _________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
___________________________ ___________________________
Data Dictionary
is a centralized repository of information about data
such as meaning, relationships to other data, origin,
usage, and format
has two main types:
o Integrated
o standalone
can be classified as:
o Active Data Dictionary
o Passive Data Dictionary
25 ________________________
___________________________
___________________________
___________________________
___________________________
___________________________
___________________________
___________________________
___________________________