You are on page 1of 38

DATABASE MANAGEMENT

SYSTEM

Lecture 1:
•Database
•DBMS
•Application
Unit 1
•  Introduction - Database and database users; Characteristics
of the database approach; Different people behind DBMS;
Implications of database approach; Advantages of using
DBMS; When not to use DBMS.
• Database System Concepts and Architecture - Data models;
Schemas and instances; DBMS architecture and data
independence; Database languages and interfaces;
The database system environment; Classification of DBMS.
What is Data?

• Data is nothing but facts and statistics stored.


• it's raw and unprocessed.
• Data becomes information when it is
processed, turning it into something
meaningful.
What is database
• A database is a collection of related data
•  used to retrieve, insert and delete the data
efficiently.
• It is also used to organize the data in the form
of a table, schema, views, and reports, etc.
• A database system is designed to be built and
populated with data for a certain task.
What is DBMS?

• DBMS stands for


Database Management System. 
• DBMS = Database + Management System.
• Database is a collection of data and Management
System is a set of programs to store and retrieve
those data.
• DBMS is a collection of inter-related data and set
of programs to store & access those data in an
easy and effective manner.
What is the need of DBMS?
• Database systems are basically developed for
large amount of data.
• When dealing with huge amount of data,
there are two things that require
optimization: Storage of data and retrieval of
data.
Storage: 
• According to the principles of database
systems, the data is stored in such a way that
it acquires lot less space as the redundant
data (duplicate data) has been removed
before storage. 
• Ex: banking system
• Fast Retrieval of data: Along with storing the
data in an optimized and systematic manner, it
is also important that we retrieve the data
quickly when needed. Database systems
ensure that the data is retrieved as quickly as
possible.
Lecture 2
• Database users
Database Users

• Database users are the one who really use and


take the benefits of database.
• There will be different types of users
depending on their need and way of accessing
the database.
• They can be categorized into:
• 1.Actors on the Scene
• 2.Actors behind the Scene 
1. Actors on the scene
• The persons whose jobs involve the day to day
use of the large database are called actors on
the scene.
1. DBA
2. Database Designers:
3. End users:
4. System analysts
5. Application programmers:
Database administrator
• Database administrator (DBA) responsible for:
• Authorizing access to the database
• Coordinating and monitoring its use
• Acquiring software and hardware resources
• Tuning the DBMS for best performance
Database designer

Database designer responsible for:


• Identifying the data to be stored
• Choosing appropriate structures to represent
and store this data
End users
• Those whose jobs require access to the database
1. Naive or parametric end users
• canned queries and updates
2. Casual end users
occasional, special-purpose access
3. Sophisticated end users
deep knowledge of database design and DBMS
facilities
4. Standalone users
users of personal databases
System analysts
• Determine requirements of end users

Application programmers
• Implement complex specifications (business
logic) as programs
Workers behind the Scene

• Workers behind the scene  are those  are typically


not interested in the database content itself.
• They include the following categories:
1. DBMS system designers and implementer .
2. Tool developers
3. Operators and maintenance personnel
• They design and implement the DBMS modules
and interfaces as a software package.
LESSON 3
• Characteristics of database
• A number of characteristics distinguish the
database approach from the much older
approach of programming with files.
1. Self-describing nature of a database system.
2. data abstraction.
3. multiple views of the data.
4. Sharing of data and multiuser transaction
processing.
5. Data Integrity:
6. Data Persistence:
Self Describing nature
• A database is of self describing nature;
• it always describes and narrates itself.
• It contains the description of the whole data
structure, the constraints and the variables.
• It makes it different from traditional file
management system in which definition was
not the part of application program.
• These definitions are used by the users and
DBMS software when needed.
Data abstraction
• the data structure is stored in the system
catalogue and not in the programs.
• Therefore, one change is all that is needed to
change the structure of a file.
• This insulation between the programs and
data is also called program-data
independence.
Support for multiple views of data

• A database supports multiple views of data. 


• A view is a subset of the database, which is
defined and dedicated for particular users of
the system.
• Multiple users in the system might have
different views of the system.
• Each view might contain only the data of
interest to a user or group of users.
Sharing of data and multiuser transaction
processing

• Allow multiple users to access the database at


the same time
• Database must include concurrency control
system
Data integrity
• Data integrity is a byword for the quality and
the reliability of the data of a database
system.
• In a broader sense data integrity includes also
the protection of the database from
unauthorized access (confidentiality) and
unauthorized changes.
• Data reflect facts of the real world.
Data Persistence:
• Data persistence means that in a DBMS all data is
maintained as long as it is not deleted explicitly.
• The life span of data needs to be determined
directly or indirectly be the user and must not be
dependent on system features.
• Additionally data once stored in a database must
not be lost.
• Changes of a database which are done by a
transaction are persistent.
• When a transaction is finished even a system crash
cannot put the data in danger.
Lesson 4
• Advantages of Database Management
System
• Disadvantages of Database Management
System
• When not to use db
Advantages of Database Management System

1. Improved data sharing

• An advantage of the database management


approach is, the DBMS helps to create an
environment in which end users have better
access to more and better-managed data.
• Such access makes it possible for end users to
respond quickly to changes in their
environment.
2. Improved data security

• The more users access the data, the greater


the risks of data security breaches.
• Corporations invest considerable amounts of
time, effort, and money to ensure that
corporate data are used properly.
• A DBMS provides a framework for better
enforcement of data privacy and security
policies.
3. Better data integration

• Wider access to well-managed data promotes


an integrated view of the organization’s
operations and a clearer view of the big picture.
• It becomes much easier to see how actions in
one segment of the company affect other
segments.
4. Minimized data inconsistency

• Data inconsistency exists when different versions of the


same data appear in different places.
• For example, data inconsistency exists when a company’s
sales department stores a sales representative’s name as
“Bill Brown” and the company’s personnel department
stores that same person’s name as “William G. Brown,”
• or when the company’s regional sales office shows the
price of a product as $45.95 and its national sales office
shows the same product’s price as $43.95.
• The probability of data inconsistency is greatly reduced in
a properly designed database.
5. Improved data access
 
•  The DBMS makes it possible to produce quick
answers to ad hoc queries.
• From a database perspective, a query is a specific
request issued to the DBMS for data manipulation—
• for example, to read or update the data.
• Simply put, a query is a question, and an ad hoc
query is a spur-of-the-moment question.
• The DBMS sends back an answer (called the query
result set) to the application.
6. Improved decision making

• Better-managed data and improved data access make it


possible to generate better-quality information, on which
better decisions are based.
• The quality of the information generated depends on the
quality of the underlying data.
• Data quality is a comprehensive approach to promoting the
accuracy, validity, and timeliness of the data.

• While the DBMS does not guarantee data quality, it provides a


framework to facilitate data quality initiatives.
7. Increased end-user productivity

• The availability of data, combined with the


tools that transform data into usable
information,
• empowers end users to make quick, informed
decisions that can make the difference
between success and failure in the global
economy.
Disadvantages of Database Management System (DBMS):

1. Increased costs

• one of the disadvantages of dbms is Database systems require


sophisticated hardware and software and highly skilled
personnel.
• The cost of maintaining the hardware, software, and
personnel required to operate and manage a database system
can be substantial.
• Training, licensing, and regulation compliance costs are often
overlooked when database systems are implemented.
2. Management complexity

• Database systems interface with many different


technologies and have a significant impact on a
company’s resources and culture.
• The changes introduced by the adoption of a database
system must be properly managed to ensure that they
help advance the company’s objectives.
• Given the fact that database systems hold crucial
company data that are accessed from multiple
sources, security issues must be assessed constantly.
3. Maintaining currency

• To maximize the efficiency of the database system, you must


keep your system current.
• Therefore, you must perform frequent updates and apply the
latest patches and security measures to all components.
• Because database technology advances rapidly, personnel
training costs tend to be significant. Vendor dependence.
Given the heavy investment in technology and personnel
training, companies might be reluctant to change database
vendors.
• As a consequence, vendors are less likely to offer pricing point
advantages to existing customers, and those customers might
be limited in their choice of database system components.
4. Frequent upgrade/replacement cycles

 
• DBMS vendors frequently upgrade their products by
adding new functionality.
• Such new features often come bundled in new
upgrade versions of the software.
• Some of these versions require hardware upgrades.
• Not only do the upgrades themselves cost money,
but it also costs money to train database users and
administrators to properly use and manage the new
features.
WHEN NOT TO USE A DBMS

More desirable to use regular files for:


• Simple, well-defined applications with no expected
changes at all
• Small variety of data and/or small amount of data
• real-time requirements that cannot afford DBMS
overhead
•High initial investment in hardware, software, and
training
• No multiple-user access to data

You might also like