RDBMS (Relational Database Management Systems) .A database management system (DBMS) consists of a
Embed Size (px)
Transcript of RDBMS (Relational Database Management Systems) .A database management system (DBMS) consists of a
Introduction to DBMS
Data and Information
Where data is some meaningful fact or
figure, information is the processed data
on which decisions and actions are based.
Information can also be defined as the
organized and classified data to provide
the meaningful values to the receiver.
Data processing: It is the step-by-step refinement of data
to get out the desired information.
Database Management System Definition
A database management system (DBMS) consists of acollection of interrelated data and a set of programs to accessthat data. The collection of data, usually referred to as thedatabase, contains information about one particular enterprise.
The primary goal of a DBMS is to provide an environment thatis both convenient and efficient to use in retrieving and storingdatabase information.
Database systems are designed to manage large bodies ofinformation. The management of data involves both thedefinition of structures for the storage of information and theprovision of mechanisms for the manipulation of information.
In addition, the database system must provide for the safety ofthe information stored, despite system crashes or attempts atunauthorized access. If data is to be shared among several users,the system must avoid possible inconsistent results.
The importance of information in most organizations, andthe value of the database, has led to the development of alarge body of concepts and techniques for the efficientmanagement of data.
A database management system is also a collection ofsoftware programs that stores data, organizes the data intorecords, and allows access to the data in a uniform andconsistent way.
In a database management system (DBMS), applicationprograms do not obtain the data they need directly from thestorage media. They must first request the data from theDBMS. The DBMS then retrieves the data from the storagemedia and provides them to the application programs.
Thus a database management system operates betweenapplication programs and the data.
Relationship of application programs, a database management system, and a
Purpose of Database Systems.
The purpose of the database systems is
replace the conventional file processing
system which has major disadvantages, to a
robust system, which is capable of storing
the data by eliminating redundancy,
inconsistency, security problems and
The typical file-processing system has a
number of disadvantages:
Data redundancy and inconsistency.
Difficulty in accessing data.
Concurrent access anomalies.
Data Abstraction. Data abstraction is the reduction of a particular body
of data to a simplified representation of the whole.
Abstraction, in general, is the process of taking away
or removing characteristics from something in order
to reduce it to a set of essential characteristics. As in
abstract art, the representation is likely to be one
potential abstraction of a number of possibilities.
A database abstraction layer, for example, is one of a
number of such possibilities.
Data abstraction is usually the first step in database
design. A complete database is much too complex a
system to be developed without first creating a
simplified framework. Data abstraction makes it
possible for the developer to start from essential
elements -- data abstractions -- and incrementally add
data detail to create the final system.
Data Abstraction(contd.. ) A database management system is a collection of
interrelated files and a set of programs that allow users toaccess and modify these files.
A major purpose of a database system is to provide userswith an abstract view of the data. That is, the systemhides certain details of how the data is stored andmaintained.
However, in order for the system to be usable, data mustbe retrieved efficiently. This concern has lead to thedesign of complex data structures for the representationof data in the database.
Since many database systems users are not computertrained, the complexity is hidden from them throughseveral levels of abstraction in order to simplify theirinteraction with the system.
Three levels of abstraction.
Physical level: The lowest level of abstraction describes what areactually stored. At the physical level, complex low-level datastructures are described in detail.
Conceptual level: The next higher level of abstraction describeswhat data are actually stored in the database, and the relationshipsthat exist among the data. Here the entire database is described interms of a small number of relatively simple structures. Althoughimplementation of simple structures at the conceptual level mayinvolve complex physical-level structures, the user of theconceptual level need not be aware of this. The conceptual levelof abstraction is used by database administrators, who must decidewhat information is to be kept in the database.
View Level: The highest level of abstraction describes only partof the entire database. Despite the use of simpler structures at theconceptual level, some complexity remains because, of the largesize of the database. Many users of the database system will notbe concerned with all of this information. Instead, such users needonly a part of the database. To simplify their interaction with thesystem, the view level of abstraction is defined. The system mayprovide many views for the same database.
Overall System Structure.
Nave Users Application Programmers Sophisticated Users Database administrator
(daily data users)Application
Overall System Structure.
A database system is partitioned into modules that deal with each of the responsibilities of the overall system.
In most cases, the computers operating system provides only the most basic services and the database system must build on that base.
Thus, the design of a database system must include consideration of the interface between the database system and the operating system.
The function components of a database system include:
In addition, several data structures are required as part of the physicalsystem implementation, including:
What is a database?
Anatomy of a Database
Anatomy of a Database
Anatomy of a Database
Try to think why each of these need to use a database:
Common Uses of Databases
A collection of application programs that perform
services to end users.
Each program defines and manages its own data.
File Based Systems
File Based Processing
Separation & Isolation of Data
Duplication of Data
Incompatible file formats
How do we resolve these problems?
Limitations of File Based
A shared collection of logically related data
designed to meet the information
requirements of an organisation
The Database Approach
Leases App. Programs