DBMS chapter 01 - Subhash published
DBMS chapter 01 - Subhash published
I INTRODUCTION
lu our ovvday lite in the ndern ovety, we rome srOsR batabnst% nnd
database syxtems quute trequently. Several uetivitios on daytoday basis rnqte
the interaction with one or another datalae or oxample, batik trausfittz like
depsit or withdrawal of money, railway or airine reservation, borrwwing m
returning a book trom a cemputeric library. purchasing items frth 4
tepartmental store or through Internet, computerized hospital managsnent. tt
allinvolveaccessing and interacting with databasos, Databas%play att itnurtant
ole in almost all areas where computers are used, incuding busi88, clectrnie
wmmerve, engineoing, nedicine, law, oducation and library sCiencs, to name a
The D1A ahoull ensure that appropriate measures are in place to maintai.
not accessible
he integrity of the database and that the database is
unanthorizod uers, "The DBA is responsible for granting permission to th.
datatbas
unOrA Of the database and stores the profile of each user in the
portion d
Thin profile deseribes the permiBsible activities of a user on that
User views, Th.
the databane Hecessible to the user through one or more
particular
wBOr profile can be used by the database system to verify 80 that a
database.
#AOr eforms given operation on the
database
The DIA is als0 responsible for defining procedures to recover the
lo8:
fromfailres dE to humn, natural, or hardware causes with minimal
continue
of data Ihis reeovery procedure should enable the organization to
continue to be
to funetion anl the intact portion of the database should
nVailable,
the languages to a format suitable for file storage. Hence, a complex object in many
C++ can be stored permanently in an object-oriented DBMS. such as ObjectStore relatis
or 02. Such an object is said to be persistent, since it survives the termination af and e
program execution and can later be directly retrieved by another C++ program 1.5.8
Object-oriented database systems typically offer data structure compatibilit;
with one or more object oriented programming languages.
1.5.4 PROVIDING STORAGE STRUCTURES FOR EFFICIENT QUERY PROCESSING
Database systems must provide capabilities for efficiently executing queries
and updates. Auxiliary files called indexes are used by DBMS to speed up disk
search for the desired records. Also bufferingmodule of DBMS maintains parts of
the database in main memory buffers. The query processing and optimization
module of the DBMS is responsible for choosing an efficient query execution plan
for each query based on the existing storage structures.
1.5.5 PROVIDING BACKUPS AND RECOVERY
In a DBMS, always there should be a facility to recover from hardware and
software failures. This facility is called the Backup and recovery subsystem of
the DBMS. For example, if the system fails when an updating program is under stage
softw
execution, the recovery system should see that, the database is restored back to enter
its initial state i.e. the stage before starting the execution. Alternatively, the
recovery subsystem could ensure that, the program is resumed from the point at
which it was interrupted. Also, the system should provide automatic backup may
this
facility in order to avoid power failure problems. datal
1.5.6 PROVIDING MULTIPLE USER INTERFACES
1.5.9
Since different types of users with different levels of technical knowledge
use a database, DBMS must provide variety of interfaces. These include query obtai
language for the casual users, programming language interface for application calle
programmers, forms and command codes for parametric users and menu driven
Conv
interfaces and natural language interfaces for stand-alone users. Graphical User prov
Interfaces (GU) consists of both forms-style interfaces and menu-drivet auto
interfaces. These GUIs can be specified with the help of specialized languages and
onvironments.
Introduclion to DBMS 15
REVIEW QUESTIONS
Engirne n
1 Mention a few traditional database applications.
2 Mention afew advanced database applications.
3 Define the terms:
i) Data
ii) Database
iii) DBMS
iv) Database system
v) Meta data
vi) DBMS Catalog
4. List any three implicit properties of
5.
Database.
Give any three examples of Databases.
6.
Explain the functions of DBMS.
7. Draw a neat diagram showing the
and explain briefly. simplified database system environment
8. Explain the characteristics of database
9.
Explain the concept of Data Abstraction.approach.
10. Explain the following:
i) Program Data independence
ii)Program operation independence
11. What is a data
12.
model? What is its purpose?
Expand DBA. What is the role of a DBA?
13. Discuss
about various people involved with
14. Write a
note on various types of End
DBMS.
15. users using DBMS.
Explain the
16. Explain the implications of Database approach.
17. advantages of DBMS.
What are the
18. circumstances when a DBMS should not be used?
What is the difference
independence? between logical data independence and
19. Explain the
physical data
responsibilities of DBA.
20. Explain overall
21. Explain the structure database system with detailed diagram.
of
different applications traditional database.
of