
1/23/2015
1
CSI362 Database Concepts
Lecture 1: Introduction to Database
Management Systems
Ref: Ramakrishnan and Gehrke 2003, Beynon-Davies 2004
In this lecture...
•History of Data Management
•File-Based Systems
•Databases and DBMS vs File Systems
•Why Study Databases
•Data Model
•Structure of a DBMS
•Components of DBMS environment
•Roles in the Database Environment
1/23/2015 2 University of Botswana - CSI262 lecture Notes 2014/2015
History of Data Management
Manual
Record
Managers
Punched-Card
Record
Managers
Programmed
Record
Managers
On-Line
Network
Data
Managers
4000BC 1900 1980 1995 1955 1965 1999
Multi-
Media
Databases
Web-
Based
Database
Systems
Relational
Data
Management
University of Botswana - CSI262 lecture Notes 2014/2015 1/23/2015 3
File-Based Systems
•Collection of application programs that
perform services for the end users (e.g.
reports).
•Each program defines and manages its own
data.
1/23/2015 4 University of Botswana - CSI262 lecture Notes 2014/2015
File-Based System Disadvantages
•Separation and isolation of data
–Each program maintains its own set of data.
–Users of one program may be unaware of potentially useful data held by
other programs.
•Duplication of data
–Same data is held by different programs.
–Wasted space and potentially different values and/or different formats for
the same item.
•Data dependence
–File structure is defined in the program code.
•Incompatible file formats
–Programs are written in different languages, and so cannot easily access
each other’s files.
•Fixed Queries/Proliferation of application programs
–Programs are written to satisfy particular functions.
–Any new requirement needs a new program.
1/23/2015 5 University of Botswana - CSI262 lecture Notes 2014/2015
Database
1/23/2015 6
• Some Definitions:
- A very large, integrated collection of data (Ramakhrishnan
and Gehrke 2003)
- Computerised record-keeping system (Date 2003)
- Facts about the items of interest
- Shared collection of logically related data (and a
description of this data), designed to meet the
information needs of an organization (Pearson Edu 2005)
• System catalog (metadata) provides description of data to
enable program–data independence.
• Models real-world enterprise.
- Entities (e.g., students, courses)
- Their attributes (e.g. Students have names, address, etc.)
-Relationships (e.g., John is taking CSI362)
- Logically related data comprises entities, attributes, and
relationships of an organization’s information.
University of Botswana - CSI262 lecture Notes 2014/2015