Introduction To Database Chap - 1
Introduction To Database Chap - 1
Database Systems
Lecture 1-2
Course Facilitator:
Dr. Asghar Ali Chandio
Textbooks
Database Systems: A Practical Approach to
Design, Implementation and Management, 6th
Edition, by Thomas Connolly and Carolyn Begg
Database System Concepts 5th Edition, by
Silberschatz, Korth and Sudarshan
Database Systems: The Complete Book 2nd
Edition, by Hector Garcia-Molina, Jeff Ullman,
and Jennifer Widom
2
In these Lectures
Introduction.
Some common uses of database systems.
Characteristics of file-based systems.
Problems with file-based approach.
Meaning of the term database.
Meaning of the term Database Management
System (DBMS).
In these Lectures
Typical functions of a DBMS.
Major components of the DBMS environment.
Personnel involved in the DBMS environment.
History of the development of DBMSs.
Advantages and disadvantages of DBMSs.
Introduction
A collection of related data.
A data structure that stores metadata, i.e. data
about data. More generally we can say that a
database is an organized collection of
information.
A collection of related data organized and
presented for a specific function.
A database management system (DBMS) is a
software that manages and controls access to
the database.
Introduction
A database application is simply a program
that interacts with the database at some point
in its execution.
Database system is a collection of application
programs that interact with the database along
with the DBMS and the database itself.
Examples of Database Applications
Purchases from the supermarket
Purchases using your credit card
Booking a holiday at the travel agents
Using the local library
Taking out insurance
Renting a video
Using the Internet
Studying at college / university
File-Based Systems
Collection of application programs that perform
services for the end users (e.g. reports).
Duplication of data
Same data is held by different programs.
Wasted space and potentially different values
and/or different formats for the same item.
Limitations of File-Based Approach
Data dependence
File structure is defined in the program code.
Result:
the database and Database Management System
(DBMS).
Database
Shared collection of logically related data (and a
description of this data), designed to meet the
information needs of an organization.
System catalog (metadata) provides description of
data to enable program–data independence.
Logically related data comprises entities, attributes,
and relationships of an organization’s information.
The database is a single, possibly large repository of
data that can be used simultaneously by many
departments and users
Database Management System (DBMS)
A software system that enables users to define,
create, maintain, and control access to the
database.
First-generation
Hierarchical and Network
Second generation
Relational
Third generation
Object-Relational
Object-Oriented
Advantages of DBMSs
Control of data redundancy
Data consistency
More information from the same amount of
data
Sharing of data
Improved data integrity
Improved security
Enforcement of standards
Economy of scale
Advantages of DBMSs
Balance conflicting requirements
Improved data accessibility and responsiveness
Increased productivity
Improved maintenance through data
independence
Increased concurrency
Improved backup and recovery services
Disadvantages of DBMSs
Complexity
Size
Cost of DBMS
Additional hardware costs
Cost of conversion
Performance
Greater impact of a failure
Assignment 1
Write some data that you think to store about
the Department Management System.
Write some names of the organizations that use
database systems.
Describe the main characteristics of the
database approach and compare it with the
file-based approach.
END OF CHAPTER 1