CST/ITT 05211: Fundamentals CST/ITT 05211: Fundamentals of Database Management of Database Management
CST/ITT 05211: Fundamentals CST/ITT 05211: Fundamentals of Database Management of Database Management
of Database Management
DCS/DIT –Year 1
NTA LEVEL 5,
ERM
Course Details
Code: CST/ITT 05211
Title: Fundamentals of Database
Management
Credit Units: 12
Instructor : SHEFA, F (Ms)
Office : Block A, 4th Floor
Email : [email protected]
ERM
Assessment
One written Test-20
Quiz/ Lab-Test 40%
Assignment/ Lab projects
_________________________
Final examination -60%
Note;
There shall be No special Test or Make-up test
in this module.
ERM
Readings
Connolly, T. M., & Begg, C. E. (2014). Database Systems: A Practical Approach
to Design, Implementation, and Management, 6th Edition. Addison-Wesley,
Harlow England.
Connolly, T. M (2019). Database Systems: A Practical Approach to Design,
Implementation, and Management, 6th edition. Pearson Prentice Hall
Coronel,C (2018). Database Systems: Design, Implementation, & Management,
13th Edition. Cengage Learning.
Silberschatz, A, Korth, H & Sudarshan, S(2019). Database Systems
Concepts, 7th Edition. Mc Graw-Hill.
Tamer Özsu, M Valduriez, P (2019). Principles of Distributed Database
Systems, 4th Edition. Springer.
Martin, J. (2002). Computer Database Organization. Prentice Hall of India, New
Delhi.
Connolly, T. M., & Begg, C. E. (2002). Database Systems: A Practical Approach
to Design, Implementation, and Management, 3rd Edition. Addison-Wesley,
Harlow England.
ERM
This lecture will discuss on
1. Basic Concepts
2. Definition of Database
3. Example of Database Applications
4. Why study Database
5. File based system
6. Disadvantage of File Processing system
7. Advantage of Database Approach and
8. Disadvantage of Database Approach.
ERM
Some Definitions…….
Data: Referred to facts concerning objects and events
that could be recorded and stored on computer media
Structured: numbers, text, dates
ERM
Foundation Data Concepts
Abstract Concepts
Entity – person, place, object or event
ERM
Records
A bunch of fields form a record
A record is an entity
ERM
Tables
A bunch of records forms a table
ERM
Databases
A bunch of tables form a database
Product Table
ERM
Databases
But, databases are not just a bunch of tables
Orders
OID CID PID Quantity
001 508 199 500,000
002 508 201 2
003 510 201 1
Customers Products
CID FName LName Address PID Description Cost
508 Aquillah Abdallah ... 199 Tooth brush $5.99
509 Andrew Zych ... 200 Tooth Paste $2.58
510 Greg Smith ... 201 Hair Gel $5.99
ERM
Examples of Database Applications
Purchases from the supermarket
Purchases using your credit card
Booking a holiday at the travel agents
Using the local library
Taking out insurance
Renting a video
Using the Internet
Studying at university
ERM
What is a Database
Shared collection of logically related data (and a
description of this data), designed to meet the
information needs of an organization.
System catalog (metadata) provides description of
data to enable program–data independence.
Logically related data comprises entities,
attributes, and relationships of an organization’s
information.
ERM
Figure ; Data in Context
ERM
Descriptions of the properties or characteristics of the data,
including data types, field sizes, allowable values, and data
context
ERM
The concept of a shared organizational
database
Management Marketing
Product
Planning Control Sales
Development
Corporate
Database
Accounting Manufacturing
Accounts Accounts
Scheduling Production
Receivable Payable
ERM
Why Study Databases?
Databases have incredible value to
businesses.
◦ Very important technology for supporting
operations.
Vastly superior to file processing systems
Businesses cannot survive without quality
data about their
◦ internal operations and
◦ external environment.
ERM
A bit of History
Computer initially used for
computational/ engineering purposes
ERM
File Processing System
ERM
File Processing Systems..
Library Examination Registration
ERM
Files Based Processing
ERM
Disadvantages of File Processing
Program-Data Dependence
File structure is defined in the program code.
All programs maintain metadata for each file they use
Duplication of Data (Data Redundancy)
Different systems/programs have separate copies of the same data
◦ Same data is held by different programs.
◦ Wasted space and potentially different values and/or different formats
for the same item.
Limited Data Sharing
No centralized control of data
Programs are written in different languages, and so cannot easily
access each other’s files.
ERM
Disadvantages of File Processing
Lengthy Development Times
Programmers must design their own file formats
Excessive Program Maintenance
80% of information systems budget
Vulnerable to Inconsistency
Change in one table need changes in corresponding tables as
well otherwise data will be inconsistent
ERM
Problems with Data Dependency
Each application programmer must maintain their
own data
Each application program needs to include code
for the metadata of each file
Each application program must have its own
processing routines for reading, inserting, updating
and deleting data
Lack of coordination and central control
Non-standard file formats
ERM
Problems with Data Redundancy
Waste of space to have duplicate data
Causes more maintenance headaches
The biggest problem:
When data changes in one file, could cause
inconsistencies (Vulnerable to
Inconsistency)
Compromises data integrity (data reliability)
data
ERM
SOLUTION:
The DATABASE Approach
This requires a
Database and
Database Management System (DBMS)
ERM
Advantages of Database Approach
Library Examination Registration
Database
Management
System
- Data Sharing - Data Independence
- Controlled Redundancy University - Better Data Integrity
Students
Database
ERM
Summary
ERM
Summary..
ERM