DBMS Unit 1
DBMS Unit 1
MANAGEMENT
SYSTEM
1
What is Database?
▪ A database is a collection of related data.
▪ It is an organised collection of records and files which
are related to each other.
▪ A database may also be described as an integrated
collection of logically related records and files.
3
DBMS
▪ A Database Management System (DBMS) consist of
▪ A collection of inter related data (usually referred to as
database (DB))
▪ A set of application programs used to access, update and
manage the data
▪ A database management system (DBMS) is a computerized
system that enables users to create and maintain a database.
▪ The DBMS is a general-purpose software system that
facilitates the processes of defining, constructing,
manipulating, and sharing databases among various users
and applications.
DBMS
Characteristics of the Database
Approach
▪ In traditional file processing, each user defines and
implements the files needed for a specific software
application as part of programming the application.
▪ For example, in a college, one user i.e the grade reporting
office, may keep files on students and their grades.
▪ A second user, the accounting office, may keep track of
students’ fees and their payments. Although both users are
interested in data about students, each user maintains
separate files
▪ This redundancy in defining and storing data results in
wasted storage space and in redundant efforts to maintain
common up-to-date data.
Characteristics of the Database
Approach
▪ In the database approach, a single repository maintains
data that is defined once and then accessed by various
users.
▪ For example, in a college, one user i.e the grade reporting
office, may keep files on students and their grades.
▪ System Catalog
Standalone users
Different People Behind DBMS
(Database Users)
3.1 Naive or parametric end users
These are the unsophisticated users who interact with
the system by invoking one of the application
programs that have been written previously.
Their main job function revolves around constantly
querying and updating the database, using standard
types of queries and updates— called canned
transactions—that have been carefully programmed
and tested.
Bank customers and tellers check account balances
and post withdrawals and deposits.
Reservation agents or customers for airlines, hotels,
and car rental companies check availability for a given
Different People Behind DBMS
(Database Users)
3.1 Naive or parametric end users
A few examples are:
Bank customers and tellers check account balances
and post withdrawals and deposits.
Reservation agents or customers for airlines, hotels,
and car rental companies check availability for a
given request and make reservations.
Employees at receiving stations for shipping
companies enter package identifications via bar
codes and descriptive information through buttons
to update a central database of received and in-
transit packages.
Different People Behind DBMS
(Database Users)
3.2 Casual end users
Casual end users occasionally access the database, but
they may need different information each time.
They use a sophisticated database query interface to
specify their requests and are typically middle- or
high-level managers or other occasional browsers.
3.3 Sophisticated end users
Sophisticated end users include engineers, scientists,
business analysts, and others who thoroughly
familiarize themselves with the facilities of the DBMS
in order to implement their own applications to meet
their complex requirements.
Different People Behind DBMS
(Database Users)
3.3 Sophisticated end users
Using the query, they can view summaries of data in
different ways.
For instance, a manager can see total sales by region,
or by product or by a combination of region and
products
3.4 Standalone users
maintain personal databases by using ready-made
program packages that provide easy-to-use menu-
based or graphics-based interfaces.
An example is the user of a financial software package
that stores a variety of personal financial data
Different People Behind DBMS
(Database Users)
4. System Analysts and Application Programmers
(Software Engineers)
System analysts determine the requirements of end users,
especially naive and parametric end users, and develop
specifications for standard canned transactions that meet
these requirements.
Application programmers implement these specifications
as programs; then they test, debug, document, and
maintain these canned transactions.
Such analysts and programmers—commonly referred to
as software developers or software engineers—should be
familiar with the full range of capabilities provided by the
DBMS to accomplish their tasks.
Different People Behind DBMS
(Database Users)
Workers behind the Scene
These persons are typically not interested in the
database content itself. We call them the workers
behind the scene, and they include the following
categories:
Tool developers: it include persons who design and
implement tools i.e., the software packages that facilitate
database system design.
Tools are the optional packages that are often purchased
separately.
They include packages for database design, performance
monitoring, graphical interfaces, prototyping etc.
Different People Behind DBMS
(Database Users)
5. Workers behind the Scene
Operators and maintenance personnel:
Operators and maintenance personnel (system
administration personnel) are responsible for the
actual running and maintenance of the hardware
and software environment for the database system.
Advantages of Using the DBMS Approach
Schema Instance
It is the overall description of It is the collection of
the database. information stored in a
database at a particular
moment.
Schema
Three - Schema / DBMS Architecture
The three important characteristics of the database
approach are
Name 5 30
House 35 20
Locality 55 20
City 75 15
Three - Schema / DBMS Architecture
2. The Conceptual Level (Logical Level)
AccountNo Integer
Name Character(30)
House Character(20)
Locality Character(20)
City Character(15)