




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























































































By Mwavu Rogers Department of Information Technology Faculty of Computing and Informatics Mbarara University of Science and Technology
❖Each file is placed in relevant folders for the ease of access. ❖The filing system works well when the number of items to be stored is small. However, the manual filing system breaks down when we have to cross-reference or process and manage relationship among information in the files. This therefore explains the need for database management Systems(DBMS).
❖Privacy: Limited access means privacy of data. ❖Easy recovery: Since database systems keeps the backup of data, it is easier to do a full recovery of data in case of a failure. ❖Data Security: It is easier to apply access constraints in database systems so that only authorized user is able to access the data. Each user has a different set of access thus data is secured from the issues such as identity theft, data leaks and misuse of data.
Components of Database environment ❖Hardware, Consists of a set of physical electronic devices such as computers, I/O devices, storage devices, etc., this provides the interface between computers and the real world systems. ❖Software, This is the set of programs used to control and manage the overall database. This includes the DBMS software itself, the Operating System, the network software being used to share the data among users, and the application programs used to access data in the DBMS.
Components of Database environment ❖People, these includes Database Administrators, Application Programmer or Software Developer, End User. Database Administrator Application Developer End User
Data Modeling: The Entity-Relationship Diagram ❖An entity relationship model, also called an entity- relationship (ER) diagram, is a graphical representation of entities and their relationships to each other, Typically used organization of data within database. ❖An entity is any object in the system that we want to model and store information about. ❖Examples of entities are Employee, Student, Lecturer, Department, Branch. An entity is similar to a table in the relational model.
One-to-One
One-to-Many
Many-to-Many
Relationships Between Entities ❖Cardinality refers to the maximum number of times an instance in one entity can relate to instances of another entity. ❖Cardinality: Denotes the maximum number of possible relationship occurrences in which a certain entity can participate in (in simple terms: at most).