Professional Documents
Culture Documents
ASIM RASUL
University of the Punjab
Punjab University College of Information Technology
(PUCIT)
DATABASE CONCEPTS
What a DBMS is, what it does, and how it fits into the
database system
About types of database systems and database models
DATA VERSUS INFORMATION
Example:
Robcor company has two divisions and the two division
has 1,380,456 and 1,453,907 invoices, respectively.
… … …
… … …
Information:----------?
Data versus Information
Data constitute building blocks of
information
Information produced by processing
data
Information reveals meaning of data
Good, timely, relevant information key
to decision making
Good decision making key to
organizational survival
DATABASE MANAGEMENT
Data
Raw Facts
Field
Group of characters with specific meaning
Record
Logically connected fields that describe a person, place, or
thing
File and file folder
Collection of related records
FILE SYSTEM CRITIQUE
Data Dependence
Change in file’s data characteristics requires modification of
data access programs
Must tell program what to do and how to do
Makes file systems cumbersome from programming and data
management views
Structural Dependence
Change in file structure requires modification of related
programs
FILE SYSTEM CRITIQUE (CON’T.)
Insertion
Deletion
Hardware
System’s Physical devices
Computers
Peripherals
Network
DATABASE SYSTEM ENVIRONMENT
Software
Operating system: manages hardware
components
DBMS: manages database
MS Access, MS-SQL Server, Oracle, DB2, MySQL
Application and utility software: support
access and manipulate data
Generate information for decision making
Help to manage database system
DATABASE SYSTEM ENVIRONMENT
Procedures
Instruction and rule that govern the
design and use of the database
system
Data
DATABASE SYSTEM TYPES
Single-user vs. Multi-user Database (user number)
Desktop database – Single user
Workgroup database --supports a small number
Enterprise database --supports a large number
Centralized vs. Distributed (location)
Use
2000s
1990s
1980s
1970s
1960s
Object oriented ?
Hierarchical
Relational
Client Oriented
Traditional Object-relational
files
Network
HIERARCHICAL DATABASE MODEL (HDBM)
Advantages
Conceptual simplicity: relationship between layers is logically
simple; design process is simple
Database security: enforced uniformly through the system
Data integrity
Data independence
Efficiency in 1:M relationships and when uses require large
numbers of transactions
Dominant in 1970s , when we used mainframe system with
large databases
HIERARCHICAL DATABASE MODEL
Disadvantages
Complex implementation: physical data storage
characteristics; database design is complicated
Difficult to manage and lack of standards
Lacks structural independence
Applications programming and use complexity (pointer
based)
Implementation limitations, i.e. especially it only handle
1:M type of model
NETWORK DATABASE MODEL
(NDBM)
Each record can have multiple parents
Called by Database Task Group (DBTG) to define standards
Three crucial database components
Network schema: conceptual organization of the entire database
Subschema: portion of database as information for application programs
Advantages
Conceptual simplicity, just lime HDM
Handles more relationship types (but all 1:M
relationship)
Data access flexibility
Promotes database integrity
Data independence
Conformance to standards
NETWORK DATABASE MODEL
Disadvantages
System complexity
(Develop by the Computer programmers for the
Computer Programmers rather than user)
Lack of structural independence
RELATIONAL DATABASE MODEL
(RDBM)
Advantages
Structural independence: data access path is is irrelevant to
database design; change structure will not affect the database
Improved conceptual simplicity
Easier database design, implementation, management, and
use
Ad hoc query capability with SQL (4GL is added)
Powerful database management system
RELATIONAL DATABASE MODEL
Disadvantages
Substantial hardware and system software
overhead
Poor design and implementation is made
easy
May promote “islands of information”
problems