Introduction To Databases
Introduction To Databases
Introduction to Databases
Lecture 01 - Objectives
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).
Major components of the DBMS environment.
History of the development of DBMSs.
Advantages and disadvantages of DBMSs.
Examples of Database Applications
Purchases from the supermarket (e.g. Metro
Supermarket)
Purchases using your credit card
Booking for a Flight
Using the local library
Studying at 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.
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
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
Higher impact of a failure
Home Task