Professional Documents
Culture Documents
Introduction To Databases
Introduction To Databases
Introduction To Databases
Implementation
Introduction to Databases
What is Database?
• Def 1: Database is an organized collection of
logically related data.
• Def 2: A database is a shared collection of
logically related data that is stored to meet the
requirements of different users of an
organization
• Def 3: A database is a self-describing collection
of integrated records
• Def 4: A database models a particular real world
system in the computer in the form of data
Key terms
• Data: are facts concerning objects and
events that could be recorded and stored
on computer media
• Information: a result of data processed
to increase knowledge to the user of data
• Metadata: data that describes the
properties and context of user data
Data stored in a database table
Metadata
• Metadata is data which describes another
data
Concept of shared data in an
organization
History of Databases
• Computer initially used for computational/
engineering purposes
• Commercial applications introduced File
Processing System (FPS).
• FPS is a collection of application programs that
perform services for the end-users such as
production of reports.
• Each program defines and manages its own
data
File Processing System (FPS)
File Processing System (FPS)
Problems associated with FPS
❑ Program-Data Dependence
❑ File structure is defined in the program code.
❑ Data inconsistence.
• Use of Database
✓Central repository of shared data
✓Data is managed by a controlling agent
✓Stored in a standardized, convenient form
• This requires Database Management System
(DBMS)
Database approach
Database Management System
(DBMS)
• A software that is used to create and manage
databases, and provide controlled access to
users of a database.
• Database application program: A computer
program that interacts with database by
issuing an appropriate request (SQL
statement/query) to the DBMS.
DBMS
Advantages of DBMS
• Program-data independence
• Minimum data redundancy
• Improved data consistence
• Data sharing is easier, data is
centralized.
• Increased productivity of application
development
Disadvantages of DBMS
• Specialized personnel
• Installation and management costs
and complexity
• Conversion costs
• Need for explicit backup and
recovery mechanisms
• Organizational conflicts