4 DATABASE MANAGEMENT SYSTEM
4 DATABASE MANAGEMENT SYSTEM
SYSTEMS
• Think
• A telephone book is an example of traditional
database and a Microsoft Excel spreadsheet is
an example of desktop database program.
Outline
• What is database
• Why we need database
• Database vs. file-based system
• What is relational database and how it
organize data
• Logical vs physical views of database
WHAT IS DATABASE?
• A structured set of data held in a computer,
especially one that is accessible in various
ways.
Fact A Database
Shipping
management
Program
Fact B system
Fact C Billing
Program
Fact D
What is relational database and how it organize data
Relational database
Database
Operating
system
DBMS
Advantages of database systems
• Data integration
– Master data are combined into large “pool” of
data that many application program access.
– Example: employee database that consolidates
payrolls, personnel and job skill master file
• Data sharing
– Integrated data are more easily shared with
authorized users.
– Database are easily browsed to search a problem
or obtain detailed information underlying a report
• Minimal data redundancy and data
inconsistencies
– as data items are usually stored only once
• Data independence
– Data can change without changing others
– Facilitate programming and simplifies data
management
• Cross-functional analysis
– data from different department can be assessed
– Example: obtain data on selling costs (production
team) and promotional campaign (marketing team)
to prepare the management report to BOD
ADVANTAGES DISADVANTAGES
•No redundancy of •High
data. hardware/software
•Ease of maintenance. cost.
•Reduced storage costs. •Need for database
•Data integrity. administrator.
•Share of information •High concentration of
•Information is more applications on
flexible. database.
•Privacy •Contention problems
•Training
Conclusion:
Elements of database environment (figure 9.3 page 384)
1. Users
2. Database management system
3. Database administrator
4. Physical database