You are on page 1of 38

Matoshri Aasarabai Polytechnic, Nashik (Comp Engg.

) Database system concept

Database management system


Matoshri Aasarabai Polytechnic, Nashik

Department of Computer Engineering


Name of staff
A V Dixit

Database management system 1


Matoshri Aasarabai Polytechnic, Nashik (Comp Engg.) Database system concept

Course Information
 Course abbr. - DMS
 Course Code - 22319
 Examination Scheme
 TH-ESE - 70 TH-PA - 30
 PR-ESE-25 PR-PA- 25
 No. of units-05

Database management system 2


Matoshri Aasarabai Polytechnic, Nashik (Comp Engg.) Database system concept

Course contents
1. Database system concept (12)
2. Relational data model (18)
3. Interactive SQL & Advance SQL :
Performance tuning (14)
4. PL/SQL programming (16)
5. Database security and transaction
processing (10)

Database management system 3


Matoshri Aasarabai Polytechnic, Nashik (Comp Engg.) Database system concept

Course Outcome
 Design normalized database on given data
 Create and manage database using SQL
command
 Write PL/SQL code for given data base
 Apply triggers on database also create
procedure and function according to
condition
 Apply security and confidentiality on given
database
Database management system 4
Matoshri Aasarabai Polytechnic, Nashik (Comp Engg.) Database system concept

References

Database management system 5


Matoshri Aasarabai Polytechnic, Nashik (Comp Engg.) Database system concept

Session outline
 Intial concepts
 Advantages of DBMS over File processing
system (FPS)
 Applications of database

Database management system 6


Matoshri Aasarabai Polytechnic, Nashik (Comp Engg.) Database system concept

Initial Concepts
 Data

 Database

 Database Management System (DBMS)

Database management system 7


Matoshri Aasarabai Polytechnic, Nashik (Comp Engg.) Database system concept

Advantages of DBMS over File processing


System (FPS)
 Data Redundancy

 Data inconsistency
 Data sharing
 Data Concurrency
 Data Searching
 Data Integrity
Database management system
8
Matoshri Aasarabai Polytechnic, Nashik (Comp Engg.) Database system concept

Advantages of DBMS over File


processing System (FPS)
 Data Security
 Simplicity
 Backup & Recovery
 Integrity constraints

Database management system 9


Matoshri Aasarabai Polytechnic, Nashik (Comp Engg.) Database system concept

Applications of Database
 Railway reservation System
 Library Management system
 Banking
 Universities & colleges
 Credit & Debit card transaction
 Social Media sites

Database management system 10


Matoshri Aasarabai Polytechnic, Nashik (Comp Engg.) Database system concept

Applications of DBMS
 Telecommunications
 Finance
 Military
 Online shopping
 Human Recourse Management
 Manufacturing
 Airline reservation system
Database management system 11
Matoshri Aasarabai Polytechnic, Nashik (Comp Engg.) Database system concept

Session assignment
 Define 1)Data 2)Database 3)DBMS
 Explain advantage of DBMS
 Enlist applications of Database
management system (DBMS).

THANK YOU
Contact mail- anklesh.dixit@gmail.com

Database management system 12


Matoshri Aasarabai Polytechnic, Nashik (Comp Engg.) Database system concept

Database management system


Matoshri Aasarabai Polytechnic, Nashik

Department of Computer Engineering


Name of staff
A V Dixit

Database management system 13


Matoshri Aasarabai Polytechnic, Nashik (Comp Engg.) Database system concept

Session outline
 Data abstraction :Three level
architecture
 Instance
 Schema
 Data independence
1. Physical data independence
2. Logical data independence

Database management system 14


Matoshri Aasarabai Polytechnic, Nashik (Comp Engg.) Database system concept

Three level atchitecture


 Data Abstarction

Database management system 15


Matoshri Aasarabai Polytechnic, Nashik (Comp Engg.) Database system concept

Some terms
 Instance
 Schema
 Data Independence
1. Physical Data Independence
2. Logical Data Independence

Database management system 16


Matoshri Aasarabai Polytechnic, Nashik (Comp Engg.) Database system concept

Instance
 Definition
 The data in the database at a particular
moment is called as instance.
 It is also called as database state,
snapshot or current set of occurrence.
 E. G total present students at a
particular moment in particular lecture.

Database management system 17


Matoshri Aasarabai Polytechnic, Nashik (Comp Engg.) Database system concept

Schema
Definition
 It is overall structure or description of
database specified during database design
 It s used to show different attributes to
store data efficiently

Database management system 18


Matoshri Aasarabai Polytechnic, Nashik (Comp Engg.) Database system concept

Data independence
 Definition- It is ability to modify a schema
definition at one level without affecting a
schema definition at next higher level.
 Two types
1. Physical data independence
2. Logical data independence.

Database management system 19


Matoshri Aasarabai Polytechnic, Nashik (Comp Engg.) Database system concept

Session assignment
 Explain data data abstraction with
diagram.
 Define instance and schema
 What is data independence? Define its
types.

THANK YOU
Contact mail- anklesh.dixit@gmail.com

Database management system 20


Matoshri Aasarabai Polytechnic, Nashik (Comp Engg.) Database system concept

Database management system


Matoshri Aasarabai Polytechnic, Nashik

Department of Computer Engineering


Name of staff
A V Dixit

Database management system 21


Matoshri Aasarabai Polytechnic, Nashik (Comp Engg.) Database system concept

Session outline
 Overall structure of DBMS
 Database users
 Query processor
 Storage manager
 Disk storage
 Functions of DBA
Database management system 22
Matoshri Aasarabai Polytechnic, Nashik (Comp Engg.) Database system concept

Overall Structure of Database

Database management system 23


Matoshri Aasarabai Polytechnic, Nashik (Comp Engg.) Database system concept

Database Users
 Naïve Users
 Sophisticated users
 Specialized users
 Application Programmer

Database management system


24
Matoshri Aasarabai Polytechnic, Nashik (Comp Engg.) Database system concept

Query Processor
 DDL interpreter
 DML compiler
 Query evaluation engine

Database management system 25


Matoshri Aasarabai Polytechnic, Nashik (Comp Engg.) Database system concept

Storage manager & disk storage


 Authorization & integrity manager
 Transaction manager
 File manager
 Buffer manager
 Data structure
◦ Data file
◦ Data Dictionary
◦ Indices

Database management system 26


Matoshri Aasarabai Polytechnic, Nashik (Comp Engg.) Database system concept

Database Administrator & functions


 DBA

 Functions of DBA
◦ 1. Schema definition
◦ 2. Schema & physical organization modification
◦ 3. Granting user authority
◦ 4. Specifying integrity constraints
◦ 5. monitoring performance
◦ 6. responding to changes

Database management system 27


Matoshri Aasarabai Polytechnic, Nashik (Comp Engg.) Database system concept

Session assignment
 Explain overall structure of DBMS
 Draw diagram for overall structure of
DBMS
 Explain the functions of DBA.
 Write short note on database users.

THANK YOU
Contact mail- anklesh.dixit@gmail.com

Database management system 28


Matoshri Aasarabai Polytechnic, Nashik (Comp Engg.) Database system concept

Database management system


Matoshri Aasarabai Polytechnic, Nashik

Department of Computer Engineering


Name of staff
A V Dixit

Database management system 29


Matoshri Aasarabai Polytechnic, Nashik (Comp Engg.) Database system concept

Session outline
Data model
 Hirarchical model
 E R Model and its components
 Relational model
 Different types of attributes
 Some terms

Database management system 30


Matoshri Aasarabai Polytechnic, Nashik (Comp Engg.) Database system concept

Data Model
 Network Model

 Hierarchical Model

Database management system 31


Matoshri Aasarabai Polytechnic, Nashik (Comp Engg.) Database system concept

Entity Relationship Model


• Definition Components
of ER Model

Database management system 32


Matoshri Aasarabai Polytechnic, Nashik (Comp Engg.) Database system concept

Relational Model
 Definition

Database management system 33


Matoshri Aasarabai Polytechnic, Nashik (Comp Engg.) Database system concept

Attributes and Domains


 Attribute
 Domain
 Types of attribute
◦ Simple attribute
◦ Composite attribute
◦ Single values attribute
◦ Multivalued attribute
◦ Derived attribute

Database management system 34


Matoshri Aasarabai Polytechnic, Nashik (Comp Engg.) Database system concept

Some Terms realated to ER model


 Role
 Weak entity set
 Strong entity set

Database management system 35


Matoshri Aasarabai Polytechnic, Nashik (Comp Engg.) Database system concept

Cardinality
 Definition-The degree to which one
entity is related to other entity.
 1:1 n:1

1:n
n:n

Database management system 36


Matoshri Aasarabai Polytechnic, Nashik (Comp Engg.) Database system concept

Session assignment
Enlist different database models. Explain
any one among them
 Explain E R Model and related
components
 Define cardinality. Give its types.

THANK YOU
Contact mail- anklesh.dixit@gmail.com

Database management system 37


Matoshri Aasarabai Polytechnic, Nashik (Comp Engg.) Database system concept

Database management system 38

You might also like