Professional Documents
Culture Documents
BITWeek1_L1_ITE2422 V1
BITWeek1_L1_ITE2422 V1
BITWeek1_L1_ITE2422 V1
Introduction
This is the first lesson you would be learning for the “Database Management Systems”
module. This lesson provides you with a broad coverage of the fundamentals of
Database Management Systems (DBMS). Since you have already completed
“Information Management” module in level 1, some of the content in this lesson will
allow you to revise your knowledge on database systems.
Learning outcomes
After completing this lesson, you will be able to define a DBMS, identify types of
actors and compare a DBMS against a traditional file-based system.
To store huge amount of data (e.g. product details, customer details, order details,
etc) and retrieve them as and when required, you need to interact with a database
management system (DBMS).
For novices it is important to learn the fundamentals of databases and thus, this will
be a handy guide to support your software development process.
When you create a database for the university you should store only related data. For
example, you can store details of students, staff, degree programs offered, course
modules, timetable, examinations etc. However, storage air ticket prices or
government election details like candidate and voter data may not be relevant for the
scenario. Thus, a random assortment of data cannot be referred to as a database.
A database represents some aspects of the real world, sometimes called the
miniworld or the universe of discourse (UoD). Changes to the miniworld are reflected
in the database. It is important to note that a database is designed, built, and
populated with data for a specific purpose. That is, it has an intended group of users
and some preconceived applications in which these users are interested.
Database houses a collection of (1) end user data (raw facts of interests to the end
user) and (2) metadata (data about data). End user data are raw facts that will be
stored in the database by the end users. Meta data provides a description of the data
characteristics and the set of relationships that link the data found within the
database
A database can be of any size and of varying complexity. Also, a database may be
generated and maintained manually, or it may be computerized (set of application
programs or by DBMS).
Thus, we can define DBMS as a general-purpose software system that facilitates the
processes of defining, constructing, and manipulating databases for various
applications
• Construct: store data in the appropriate files (note that records may be related
between files)
• Manipulation: querying, updating
– Your queries and updates must be specified precisely in the database
system language (e.g. SQL) before they can be processed.
DBMS will help to protect the database. Protection includes system protection against
hardware or software malfunction (or crashes) and security protection against
unauthorized or malicious access. It helps to control access to the database by various
users. Furthermore, it facilitates maintaining databases over a long period of time. A
typical large database may have a life cycle of many years, so the DBMS must be able
to maintain the database system by allowing the system to evolve as requirements
change over time.
Activity 1.2
We can call the database and DBMS software together as a database system. In the
next section, we will be learning about different types of DBMS users.
Database Administrators:
Database Designers:
• System analysts determine the requirements of end users, especially naive and
parametric end users, and develop specifications for canned transactions that
meet these requirements.
Tool developers:
• Tools are optional packages that are often purchased separately
• They develop packages for database design, performance monitoring, natural
language or graphical interfaces, prototyping, simulation, and test data
generation.
End Users
End users access the database for querying, updating, and generating reports. There
are various types of end users.
• They are querying and updating the database constantly, using standard types
of queries and updates called canned transactions that have been carefully
programmed and tested
• They need to learn very little about the facilities provided by the DBMS
• For example,
– Bank tellers check account balances and post withdrawals and deposits
– Reservation clerks for airlines, hotels, and car rental companies check
availability for a given request and make reservations
Stand-alone users
Same information may be duplicated for different reasons and will be available
in different files. The data redundancy leads to higher storage and additional
cost. In addition, it will lead to data inconsistency.
For example, employee details will be available with finance department and
HR department. If an employee has changed the home address and if it is only
updated in HR department, then this leads to data inconsistency so that various
copies of the same data may no longer be the same.
• Data isolation
Since the data is stored in isolated manner in different files and folders it takes
time to determine the relationship between different data.
• Integrity problems
• Atomicity of updates
• Security problems
The security of data is low in file-based system. The data maintained in flat
file(s) is easily accessible. In other words, all the users who log into the system
get the access to all the data in the system.
Database systems offer solutions to all the above problems. They can be considered as
advantages of database systems.
They are:
• Data Integrity: If data is always accessed through the DBMS, the DBMS can
enforce integrity constraints.
– Specify that a record in one file must be related to records in other files.
• Data Administration: When several users share the data, centralizing the
administration of data can offer significant improvements. Experienced
professionals who understand the nature of the data being managed, and how
different groups of users use it, can be responsible for organizing the data
Even though there are many advantages of Database Systems, there may be certain
situations where it is not possible to use a DBMS.
Do Activity 1.3 to identify different situations where DBMS cannot be used.
Activity 1.3
Summary
Now we have completed learning the Lesson 1. In this lesson, we discussed what is
a database, database management system.
A database is used to store related data. There are many different types of
database actors other than the end users of a database system. In traditional file-
based systems there are many problems and as a solution to that database
management systems were introduced.
In the lesson 2, you will learn more details about databases and concepts. Before
you go to the next lesson, complete the self-assessment Quiz 1 to check what
you have learnt in the Lesson 1.