Topic 1 Database Concepts
Topic 1 Database Concepts
Data Information
Raw facts Processed data
The facts have not yet been processed The result of processing raw data to
to reveal their meaning reveal its meaning
Examples:
• Sales data are names, quantities, and dollar amounts
• Sales information is amount of sales by product type, sales territory, or
salesperson
Transforming Raw Data into Information
8
▪ Common Steps:
a) Data entry screen
b) Raw data in database table
c) Information in summary format (tabular/graphical)
Data and Information
9
▪ Key points:
• Data constitute the building blocks (foundation) of
information.
• Information is produced by processing data.
• Information is used to reveal the meaning of data.
• Accurate, relevant and timely information is the key to
good decision making.
• Good decision making is the key to organizational
survival in a global environment.
10 INTRODUCING THE DATABASE
Database
11
Source:
https://dataedo.com/kb/data-glossary/what-is-metadata
(you may also find other examples of metadata in this web)
DBMS
13
A database resembles
a well-organized electronic filing cabinet with
powerful software (the DBMS)
to help manage the electronic cabinet’s contents.
DBMS Manages Interaction
Between End Users (or Application Program) and Database
Roles of DBMS
15
Benefits:
1. DBMS enables data to be shared among many users and
applications.
2. DBMS integrates many different users’ views of the data into
a single data repository.
Advantages of DBMS
16
DB Classification
[1] Number [2] Location [3] Type of [4] Data [5] Degree to which Data
of Users Data Stored Usage are Structured
Cloud DB Structured
Types of Databases
18
[2] Location
Centralized database: data located at a single site
Distributed/Decentralized database: data distributed across several
different sites
Cloud database: database that is created and maintained using
cloud data services
Structured data
• Data is identifiable because it is organized in a structure
• As a result from formatting, the data has structure applied based on type of
processing to be performed
• Example: database
Semi-structured data
• Data has been processed to some extent
• Has structure but not enough to qualify as structured data (Loshin, 2005)
• Example: webpage (the data are presented in a prearranged format to convey
information)
Types of Databases (cont'd.)
ANALYTICAL
23 THE IMPORTANCE OF DATABASE DESIGN
Why Database Design Is Important
24
Well-designed database:
Facilitates
data management
Generates accurate and valuable
information
Update anomalies:
What happens when Leah F. Han change her phone number?
Insertion anomalies:
If only the CUSTOMER file exists (since you are working in Sales Department and
do not have access to AGENT file in Personnel Department), what will happen
when you want to add a new customer record?
Deletion anomalies:
What will happen if you delete customers Amy B. O’Brian, George Williams and
Olette K. Smith?
Data Integrity
44
data
hardware software procedure people
bridge
machine components human components
Exercise
50
• Data dictionary: Stores definitions of the data elements and their relationships
(metadata). Removes structural and data dependency.
Security management
• Enforces user security and data privacy
DBMS Functions
53