Lecture 1 Introduction
Lecture 1 Introduction
Principles of Database
Introduction to
Databases
Data and Information
Data are raw facts that constitute building block of
information. Data are the heart of the DBMS.
It is to be noted that all the data will not convey
useful information.
Examples: symbols, numbers, registration
forms,..etc.
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.
Logically related data comprises entities, attributes, and
relationships of an organization’s information.
System catalog (metadata) provides description of data to
enable program–data independence.
Database Management System
(DBMS)
A software system that enables users to define, create,
maintain, and control access to the database.
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