CoSc 265 FDMS - Chapter One
CoSc 265 FDMS - Chapter One
CoSc 265 FDMS - Chapter One
Fundamental of Database
management System
Overview
Introduction to
Databases
Overview
Introduction to
Databases
Overview
Basic Definitions
● Data:
○ Known facts that can be recorded and have an
implicit meaning.
● Database:
○ A collection of related data.
Database and Database ● Mini-world:
○ Some part of the real world about which data
System is stored in a database.
■ For example, student grades and
transcripts at a university.
● Database Management System (DBMS):
○ A software package/system to facilitate the
creation and maintenance of a computerized
database.
● Database System:
○ The DBMS software together with the data
itself. Sometimes, the applications are also
included.
6
● represents some aspect of the
real world, sometimes called the
mini-world.
● is a logically coherent collection
Database of data with some inherent
meaning.
A database has the following ● is designed, built, and populated
implicit properties: with data for a specific purpose.
● has an intended group of users
and some preconceived
applications in which these
users are interested.
7
Database
Impact of Databases
and Database
Technology
8
Simplified database
system environment
9
● Define a particular database in terms of
its data types, structures, and constraints
● Construct or load the initial database
contents on a secondary storage medium
● Manipulating the database:
What a DBMS ○ Retrieval: Querying, generating reports
11
● Mini-world for the example
○ Part of a UNIVERSITY environment
● Some mini-world entities
○ STUDENTs
○ COURSEs
Example of a ○ SECTIONs (of COURSEs)
Database ○ (Academic) DEPARTMENTs
○ INSTRUCTORs
● Some mini-world relationships
○ SECTIONs are of specific COURSEs
○ STUDENTs take SECTIONs
○ COURSEs have prerequisite
COURSEs
○ INSTRUCTORs teach SECTIONs
○ COURSEs are offered by
DEPARTMENTs
○ STUDENTs major in
DEPARTMENTs
12
Example of a
Simple
Database
13
● File Organization
a.an early attempt to computerize the
manual filing system.
b. A collection application programs
that perform services for the end-
File Organization users.
c.Each program defines and manages
vs. its data.
d.However, five types of problem are
Database Approach occurred in using the file-based
approach:
1.Separation and isolation of data
2.Redundancy or Duplication of data
3.Data dependence
4.Incompatible file formats
14
● In order to overcome the
limitations of the file-based
approach, the concept of
database and the Database
Management System
Database Approach (DBMS) was emerged in
60s.
● Database management
software is used to
organize an organization or
individual data.
● The database approach
addresses many of the
weaknesses associated
with file processing
systems data 15
● Reduced Data Redundancy
○ Most data items are stored in only one file,
● Improved Data Integrity
○ When users modify data in the database, they
make changes to one file instead of multiple
files.
● Shared Data
17
● Self-describing nature of a database
system:
○ The description is called meta-data*.
● Insulation between programs and data:
○ Called program-data independence.
○ Allows changing data structures and
storage organization without having to
change the DBMS access programs
Main Characteristics of ● Data Abstraction:
○ A data model is used to hide storage
the Database Approach details and present the users with a
conceptual view of the database.
○ Programs refer to the data model
constructs rather than data storage
details
19
● Database administrators:
■ Administering the database and the DBMS
● Database designers:
■ Responsible to define the content, the structure,
the constraints, and functions or transactions
against the database.
Database Users – ● End-users:
○ use the data for queries, reports and some of
Actors on the Scene them update the database content. :
■ Casual: access database occasionally
when needed
■ Naïve or Parametric: they make up a
large section of the end-user population.
■ Sophisticated: include business
analysts, scientists, engineers,
■ Stand-alone: Mostly maintain personal
databases using ready-to-use packaged
applications.
● System Analysts and Application Developers
○ System Analysts
○ Application Programmers
○ Business Analysts
20
● System Designers and
Implementers:
◦ Design and implement DBMS
packages in the form of modules
and interfaces and test and debug
them.
● Tool Developers:
Database Users – Workers ◦ Design and implement software
systems called tools for modeling
behind the Scene and designing databases,
performance monitoring,
prototyping, test data generation,
user interface creation, simulation
etc.
● Operators and Maintenance
Personnel:
◦ They manage the actual running
and maintenance of the database
system hardware and software
environment.
21
End of Chapter
One