0% found this document useful (0 votes)
36 views

CST/ITT 05211: Fundamentals CST/ITT 05211: Fundamentals of Database Management of Database Management

The document discusses a course on fundamentals of database management. It provides details about the course code, title, credit units, instructor, and assessments including tests, quizzes, assignments, and exams. It also lists required readings and course content which will cover basic database concepts, definitions, examples of applications, advantages of databases over file-based systems, and advantages and disadvantages of databases.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views

CST/ITT 05211: Fundamentals CST/ITT 05211: Fundamentals of Database Management of Database Management

The document discusses a course on fundamentals of database management. It provides details about the course code, title, credit units, instructor, and assessments including tests, quizzes, assignments, and exams. It also lists required readings and course content which will cover basic database concepts, definitions, examples of applications, advantages of databases over file-based systems, and advantages and disadvantages of databases.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 35

CST/ITT 05211 : Fundamentals

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

 Unstructured: images, video, documents.

 Information: Is when data is given context and more


specific. Data processed to increase knowledge in the
person using the data.
 Knowledge: is developed when information has been
aggregated and analyzed to make decisions, set policies,
and spark innovation
 Metadata: data that describes the properties and context
of user data.
ERM
Foundation Data Concepts
Database Concepts Large
 Database – a collection of related tables
 Tables – a collection of related records
– collection of related entities
 Record – collection of fields (table row)
–represents an entity
 Field – collection of characters (table column)
– represents an attribute
 Character – single alphabetic, numeric or other
symbol Small

ERM
Foundation Data Concepts
Abstract Concepts
 Entity – person, place, object or event

– stored as a record or a table row

 Attribute – characteristic of an entity

– stored as field or table column


 Relationship – an association between
two or more entities
ERM
Fields
 Characters “A B D A L L A H” form a
field
Last Name
Abdallah

 A field is an attribute of an entity

ERM
Records
 A bunch of fields form a record

First Name Last Name Sex Weight


Aquillah Abdallah F 20kg

 A record is an entity

ERM
Tables
 A bunch of records forms a table

First Name Last Name Sex Age


Aquillah Abdallah F 10
Jeff Albert M 20
Jackie Pizzo F 11

 A table is a group of related entities

ERM
Databases
 A bunch of tables form a database

Customer Table Order Table

Product Table

 A database can represent a single


business or an entire market

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

 A database also includes relationships


between the different tables
ERM
Definitions of 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

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

Context helps users understand data


ERM
Graphical displays turn data into useful information
that managers can use for decision making and
interpretation

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

 Commercial applications introduced File


Processing System

ERM
File Processing System

 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

ERM
File Processing Systems..
Library Examination Registration

Library Examination Registration


Applications Applications Applications

Library Examination Registration


Data Data Data
Files Files Files

Program and Data Interdependence


ERM
File Processing Systems

Library Examination Registration


Reg_Number Reg_Number Reg_Number
Name Name Name
Father Name Address Father Name
Books Issued Class Phone
Fine Semester Address
Grade Class

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 integrity –validity and consistent stored

data

ERM
SOLUTION:
The DATABASE Approach

 Central repository of shared data


 Data is managed by a controlling agent
 Stored in a standardized, convenient form

This requires a
Database and
Database Management System (DBMS)

ERM
Advantages of Database Approach
Library Examination Registration

Library Examination Registration


Applications Applications Applications

Database
Management
System
- Data Sharing - Data Independence
- Controlled Redundancy University - Better Data Integrity
Students
Database
ERM
Summary

ERM
Summary..

This would make sense when not to use database approach


and prefer file based system
ERM
…….THE END……..

ERM

You might also like