0% found this document useful (0 votes)
17 views7 pages

Understanding Database Management Systems

This document provides an overview of key topics in database systems for week 1, including: 1. Defining database management systems and their goals of efficiently storing and retrieving data. 2. The advantages of DBMS over file processing systems such as reduced data redundancy, improved data access and integrity. 3. Common applications of DBMS in various domains like banking, universities, airlines and more. 4. The purposes of DBMS which include providing a structured way to store and manipulate data through various application programs.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views7 pages

Understanding Database Management Systems

This document provides an overview of key topics in database systems for week 1, including: 1. Defining database management systems and their goals of efficiently storing and retrieving data. 2. The advantages of DBMS over file processing systems such as reduced data redundancy, improved data access and integrity. 3. Common applications of DBMS in various domains like banking, universities, airlines and more. 4. The purposes of DBMS which include providing a structured way to store and manipulate data through various application programs.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Unit 1 – Week 1

Database Systems

Database Systems: What is Database Management Systems – Advantages of DBMS over File
Processing Systems – Introduction and Applications of DBMS – Purpose of Database System –
Views of Data.

Week 1
Learning Objectives:

1. Understand the definition of Database management system.


2. Learn the Advantages of File Processing system over the DBMS
3. Introduction and Applications of Database Systems
4. Know the Purposes of Database Systems
5. Elaborating the types of views in DBMS.

Key Topics
1.1 What is Database Management System?

1.1.1 Definition

1.1.2 Goals of DBMS


1.2 Advantages of DBMS over File Processing System
1.2.1 Drawbacks of File Processing System
1.3 Introduction and Application of DBMS
1.3.1 Enterprise Information
1.3.2 Banking and Finance
1.3.3 Universities
1.3.4 Airlines
1.3.5 Web based Services
1.3.6 Online advertisements
1.3.7 Document Database
1.3.8 Navigation system
1.4 Purposes of Database Management System
1.5 Views of Data
1.5.1 Physical view
1.5.2 Logical View
1.6 Summary

1|Page
1.1 What is Database Management
1.1.1 Definition
A database-management system (DBMS) is a collection of interrelated data and a set of programs to
access those data.
1.1.2 Goal of DBMS

 The basic purpose of a database management system (DBMS) is to provide a simple and
efficient mechanism to store and retrieve database information.
 The database is a collection of data that provides information relevant to a business or an
enterprise.
 Database management systems are made to handle massive amounts of data.
 Data management entails defining data storage structures as well as offering data
manipulation mechanisms.
 Furthermore, the database system must assure the security of the data saved, even if the
system crashes or efforts at illegal access are made.
 If data is to be shared among numerous users, the system must prevent unexpected outcomes.
 Computer scientists have developed a broad set of concepts and approaches for managing
data because it is so crucial in most enterprises.

1.2 Advantages of DBMS over File Processing System


1.2.1 Drawbacks of File Processing System

 Data redundancy and inconsistency:


• Because the files and application programs are created by different programmers throughout
time, the files and programs are likely to have varied structures, and the programs may be
written in a variety of programming languages. Furthermore, the same data may appear in
multiple places (files).
• It may also result in data inconsistency, in which different versions of the same data no longer
agree.

 Difficulty in accessing data:


• The retrieval of needed data in a convenient and fast manner is not possible in traditional file-
processing environments. For wide use, more responsive data-retrieval systems are required.

 Data isolation:
• It's challenging to write new application programs to retrieve necessary data because data is
distributed over multiple files and files may be in different formats.

 Integrity problems:
Certain consistency criteria must be met by the data values contained in the database.

 Atomicity Problems:
– Failures may leave database in an inconsistent state with partial updates carried out

2|Page

Example: Transfer of funds from one account to another should either complete or
not happen at all
 Concurrent Access by Multiple users:

 Performance necessitates concurrent access.


 Concurrent accesses that are not controlled can result in inconsistencies.
 For example, two persons reading a balance (say 100) and updating it at the same time by
taking money (say 50 each).
 Security Problems:
 Not every database system user should have access to all of the data. Payroll workers, for
example, at a university, only need access to the financial data section of the database. They
don't need to know about their academic records. However, imposing such security
requirements is difficult since application applications are introduced to the file-processing
system on an ad hoc basis.
These difficulties, among others, prompted both the initial development of
Database systems and the transition of file-based applications to database systems, back in the
1960s and 1970s.

1.3Introduction and Application of DBMS

The first database systems appeared in the 1960s in reaction to the computerization of commercial
data management. When compared to modern database applications, the previous programs were
quite simple. Highly sophisticated, global organizations are examples of modern applications.
All database programs, old and new, have a few key features in common. The facts themselves,
rather than a software executing a calculation, are the most important component of the application.
Database systems are used to manage data sets that are:
• Extremely valuable,
• Relatively large, and
• Frequently accessed by various users and applications.
Only simple, carefully formatted, structured data was used in the initial database applications. Data
with complicated linkages and a more varied structure can now be found in database applications.
Consider the records of a university's courses, students, and course registration as an example of a
structured data application.

1.3.1 Enterprise Information

-Sales: For customer, product, and purchase information.


 Accounting: For payments, receipts, account balances, assets, and other accounting
information.
 Human resources: For information about employees, salaries, payroll taxes, and
Benefits, and for generation of paychecks.
 Manufacturing: For supply chain management, including tracking item production in
factories, inventories in warehouses and retail, and orders for items.

3|Page
1.3.2 Banking and Finance

 Banking: For customer information, accounts, loans, and banking transactions.


 Credit card transactions: For purchases on credit cards and generation of monthly
statements.
 Finance: For storing information on stock and bond holdings, sales, and purchases, as well
as real-time market data to allow consumers to trade online and for the firm to trade
automatically

1.3.3 Universities
In addition to normal corporate information such as human resources and accounting, student
information, course registrations, and grades are stored.

1.3.4 Airlines
 Airlines: For reservations and schedule information. Airlines were among the first
to use databases in a geographically distributed manner.
 Telecommunication: For keeping records of calls, texts, and data usage, generating monthly
bills, maintaining balances on prepaid calling cards, and storing information about the
communication networks.

1.3.5 Web based Services


 Social media: Users' records, relationships between users (such as friend/follower
information), user posts, rating/like information about postings, and so on are all kept in
social media.
 Online retailers: For keeping sales data and orders in the same way that any store would, but
also for tracking a user's product views, search keywords, and other activities in order to
offer the best things to that user.

1.3.6 Online advertisements


To allow targeted adverts, product suggestions, news articles, and other online advertisements,
click history is kept. When people conduct a web search, make an online purchase, or visit a
social networking site, they are interacting with such databases.

1.3.7 Document Database


For maintaining collections of new articles, patents, published research papers, etc.

1.3.8 Navigation system


For maintaining the locations of varies places of interest along with the exact routes of roads, train
systems, buses, etc.

1.4 Purposes of Database Management System

 Consider being a part of a university institution that maintains data on all teachers, students,
departments, and course offers, among other things. Operating-system files are one technique to

4|Page
keep data on a computer.
 The system includes a number of application applications that edit files to allow users to
manipulate the data, such as programs to:
 Students, instructors, and courses can all be added.
 Create class rosters by registering students for courses.
 Assign grades to students, compute GPAs, and create transcripts.
 The university's needs are met by programmers who create these application programs. As and
when the need arises, new application programs are added to the system. Consider the case of a
university creating a new major.

– As a result, the institution forms a new department and adds information to existing
permanent files to record information about all of the department's teachers, students in that
major, course offerings, degree requirements, and so on.
– To comply with requirements related to the new major, the university may need to create
new application programs. To accommodate new university policies, new application
programs may need to be built. As a result, the system accumulates more files and
application programs over time.

1.5 Views of Data

A database system is made up of a collection of interconnected data and a set of tools that allow
users to access and edit that data.
A database system's primary goal is to give users a high-level overview of the data.
That is, the system conceals some aspects of data storage and management.
Data Abstraction
• It must be able to obtain data quickly in order for the system to be useful. Database system
developers have used complicated data structures to describe data in databases due to the
necessity for efficiency.
• Developers hide the complexity from users through many levels of data abstraction to simplify
users' interactions with the system, because many database-system users are not computer
trained:
– Physical level
– Logical level
– View level

• Three levels of Data Abstraction

5|Page
1.5.1 Physical Level

 On a physical level the lowest level of abstraction describes the actual storage of data. The
physical level goes into great detail about complicated low-level data structures.

1.5.2 Logical Level

 The next level of abstraction explains what data is stored in the database and how those data are
related to one another. As a result, the logical level explains the entire database in terms of a small
number of very straightforward structures.
 Although the logical level's implementation of basic structures may involve complicated physical-
level structures, the logical level's user does not need to be aware of this complexity.
 Physical data independence is the term for this. The logical level of abstraction is used by
database managers when deciding what information to keep in the database.

View Level
• Only a fraction of the database is described at the greatest level of abstraction. Despite the
fact that the logical level employs simpler structures, the variety of data stored in a large
database adds to the complexity.
• Many database system customers don't want all of this data; instead, they merely require
access to a portion of the database. The view abstraction level was created to make their
interaction with the system easier. For a single database, the system may provide multiple
views.

1.6 Summary
This unit summarizes about the definition of database systems and goal of DBMS. Practical
Applications of DBMS and the drawbacks of File Processing system is given clearly. The

6|Page
content helps the reader to improve the data abstraction and views of Data.

Questions and Exercises


1. Define Database Management System
2. List the drawbacks of File Processing System over
DBMS.
3. Write some applications of Database system
4. Give the Purposes of database system
5. Draw and explain the types of views in DBMS

References
[1] Abraham Silberschatz, Henry F. Korth, S. Sudharshan, (2011),“Database System Concepts”,
Sixth Edition, Tata McGraw Hill

7|Page

Common questions

Powered by AI

DBMS applications span various industries, enhancing operational efficiency and decision-making. In banking and finance, it manages accounts and transactions, enabling real-time market data handling . In universities, it handles complex data such as student records and course registrations . Airlines use DBMS for reservations and scheduling, supporting geographically distributed operations . Each application benefits from the DBMS's data storage, retrieval speed, and capability of handling large, complex data sets efficiently .

A DBMS offers several advantages over traditional file processing systems, such as reducing data redundancy and inconsistency, as data is centralized and stored in a unified format . It also simplifies data access and provides data abstraction, thereby improving data retrieval and manipulation efficiency . Furthermore, DBMS supports concurrent access by multiple users while maintaining data integrity and security, which is challenging in file-based systems .

The main challenges prompting the shift from file-based systems to database systems included data redundancy and inconsistency, difficulty accessing data, and security issues. File systems had decentralized data management, leading to inconsistent data formats and integrity problems . Furthermore, the need for concurrent access and data security in applications critical to industries such as banking and universities required the robust solutions DBMS provided .

A DBMS improves efficiency and consistency by centralizing data management, thus minimizing redundancy and inconsistency present in file systems . It supports complex queries and reporting, enabling faster and more flexible data retrieval . Enterprises benefit from standardized data storage and integrated applications like accounting, human resources, and sales, which are difficult to manage consistently across multiple files .

A DBMS ensures data security and integrity by implementing controlled access levels and using locking mechanisms to manage concurrent transactions. Transaction integrity is maintained using atomicity, which ensures that transactions are completed fully or not executed at all, preventing partial updates . Additionally, the system prevents unauthorized data access by implementing security protocols, ensuring only authorized users can access specific data sections .

The different levels of views in a DBMS significantly enhance user interaction by controlling data visibility and complexity. The physical view concerns detailed data storage, which is hidden from users. The logical view represents the overall structure and relationships of the database without exposing physical intricacies . The view level provides specific data portions relevant to user needs, allowing non-technical users to access and manipulate data efficiently without understanding underlying complexities, thus tailoring the system's use to various user requisites .

Modern database applications differ from initial systems by supporting complex data structures with varied formats, whereas early databases used simpler, structured data. Advances in technology such as improved data storage options, enhanced processing power, and sophisticated software tools have facilitated this evolution . Today's applications manage larger, more valuable sets of data accessed frequently by diverse applications and users, showcasing the increased capability and versatility of modern DBMS technologies .

The primary purpose of a DBMS is to provide a mechanism to store, retrieve, and ensure the security and integrity of data efficiently . It achieves this by offering tools and structures for data manipulation, managing data access among multiple users, and preventing inconsistencies and unauthorized access .

A DBMS supports online services by efficiently managing large volumes of data crucial for service delivery and customer interactions. In social media, it maintains user profiles and relational data . Online retailers use DBMS to handle sales, track user activities, and personalize customer experiences . By centralizing data management, a DBMS provides the speed and accuracy necessary for real-time updates and targeted online advertisements, enhancing user engagement and business operations .

Data abstraction in DBMS is a process that hides the complexity of the data storage from users. It involves three levels: the physical level, which details the actual storage; the logical level, which outlines what data is stored and its relationships; and the view level, which presents only a portion of the database relevant to the user . This hierarchical structure enables users to interact with data at an appropriate complexity level .

You might also like