Unit 1
Unit 1
Unit 1
Unit – 1: Introduction
Shreya Dholariya
Assistant Professor, Computer Science & Engineering
Unit 1: Introductory concepts of
DBMS
1)Introduction and applications of DBMS
2)Purpose of Database
3)Data Independence
4)Database System Architecture - Levels
Mappings Database
5)Users
6)DBA
Data:
Data & • Raw facts which can be manipulated.
Information • Refers to what is actually stored in the database.
Information:
• Manipulation of data.
• Summarization of data in a presentable form.
• Meaning of the data as understood by some users.
• Data comprises of raw facts, which become
information when processed
• Information conveys some meaning to people
●Organized collection of inter related facts.
Database ●Collection of “persistent” data.
●Collection of Information arranged and presented to
serve an assigned purpose.
●Definition (C.J. Date):
●A Database is a collection of persistent data that
is used by the application systems of some given
enterprise.
●Ex: Dictionary
• Data - Fact that can be recorded or stored
• e.g. Person Name, Age, Gender and Weight etc.
What is
• Database - Collection of logically related data
Database • e.g. Books Database in Library, Student Database in
Management University etc.
System • Management - Manipulation, Searching and Security of data
• e.g. Viewing result in GTU website, Searching exam papers in
(DBMS)? GTU website
• System - Programs or tools used to manage database
• e.g. SQL Server Studio Express, Oracle 11g
• DBMS - A Database Management System is a software for
creating and managing databases. It provides a systematic way
to create, retrieve, update and manage data.
• e.g. MS SQL Server 2014, Oracle 11g, My SQL, MS Access,
dBase etc.
The following are examples of database applications:
Applications • Computerized Library Systems
• Automated Teller Machines
• Flight Reservation Systems
• Computerized parts inventory systems
• Enterprise Resource Management (ERP) systems
• Online Banking systems
ANSI/SPARC
THREE LEVEL
ARCHITECTURE
How data will be stored
Overall
DML compiler.
Application Application Query Administration
Database
interfaces program tool tool
Translates DML
Architectur
statements
Interprets into
DDL
Compiler DML DDL low level
and linker queries interpreter statements
Deals withinto
instructions
aexecution that
set of tables
e and Fetches data from
Application
program
object code
DML compiler
and organizer
DDL
of
the query
containing
and DML
evaluation
metadata
statements
Componentdisk storage to
memory for being
Query evaluation
engine Query processor
engine
understands
s used
Buffer
manager
File
manager
Authorization and
integrity manager
Transaction
manager
Preserves atomicity
and controls
Storage concurrency
Manages allocation manager
of space on disk Provides interface
storage between low-level
Indices Data dictionary data stored and
Disk storage
Data Statistical data application
To provide faster To store metadata program or queries
access to data items
Checks the To store statistical
To store user data authority of users information about the
to access data and data
integrity
MCQs The view of total database content is
A.Online Users
B.Database Administrator
C.Naive Users
D.Application Programmer
Which of the following are the roles of the
MCQs
Database Administrator:
a) Managing security issues
b) Storage structure definition
c) Develop application programs
d) Take backups of the database
A. a
B. a,b,c
C. a,b,d
D. All of these
Typically, a database management system is
MCQs managed by a person called a _____________.
A. system manager
B. technology manager
C. database manager
D. database administrator
MCQs
The database environment has all of the
following components except: