SlideShare a Scribd company logo
1 of 41
Database
Management
System
Dr. Kamal Gulati
(DBM
S)
Contents
• What is Data ?
• What is Information?
• Data Models, Schema and
Instances
• Components of Database
System
• What is DBMS ?
• Database Languages
• Applications of DBMS
Introduction
• DBMS stands for Database
Management System.
• DBMS is a software system
for creating, organizing and
managing the database.
• It provides an
environment to the user
to perform operations on
the database for creation,
insertion, deletion,
updating and retrieval of
data.
What is
Data ?
A collection of raw facts
and figures.
Raw material
that can be
processed by
any computing
machine.
A collection of
facts from
which
conclusions
may be drawn.
Data can be
represented in
the form of:
numbers,
Alphabets &
Symbols which
can be stored
in computer's
language.
•i.e. Kamal
Gulati,
kamal@123
What is
Information?
Knowledge acquired through
study or experience.
Information helps human beings
in their decision making.
Systematic and meaningful
form of data.
Database
• A repository of logically related and similardata.
• An organized collection of related information so that it
can easily be accessed, managed and updated.
• E.g.:
• Dictionary
• Airline Database
• Student Database
• Library
• Railways Timetable YouTube
(All videos of NIOS)
Database Design & Modelling
Data Models, Schema and
Instances
 Data Models:
• Describes structure of the database.
• Aim is to support the development of
information systems by providing the
definition and format of data.
• If the same data structures are used to
store and access data then different
applications can share data.
• Classification:
1. High-Level Model
2. Representation Model
3. Low-Level Model
1. High-Level Model
• Ensures data requirement of the users.
• Not concerned with representation,
but its conceptual form.
• Three Imp terms:
• Entity: Any object, exists physically or conceptually.
• Attribute: Property or characteristic of entity.
• Relationship: Association or link b/w two entities.
• These 3 terms make Entity-Relationship Model.
Entity-Relationship (E-R) Model
College Principal
College
Student C
Student A
Student B
College 3
College 2
College 1
Course C
Course B
Course A
Student CourseAdmissio
n
Stud_Nam
e
Stud_Roll
No
Course_I
d
Course_Na
me
Relationships
E-R diagram
2. Representation Model
• Representation of data stored inside a
database.
• Describes the physical structure of the
database.
• It uses the concepts which are close to
the end-users.
• Classification:
A. Hierarchical
B. Relational
C. Network
A. Hierarchical Database Model
• Developed by IBM, is the Oldest database model.
• Represented using a tree-diagram.
(Parent-child relationship)
• Each box is called a Node
• The nodes represent a record type.
• A line connecting nodes
represents the link.
Director
Manager
(Market.)
Manage
r
(Sales)
Manager
(HR)
Area
Manager
1
Area
Manage
r 2
Area
Manage
r 3
Sales Exe.
1
Sales Exe.
2
Sales
Representative
Cont…
• Parent-child type is suited for One-to-many
relationship between two entities.
• But difficult to implement
many-to-many relationship.
e.g.:
IMS system from IBM.
*IMS -Information Management System
Director
Manager
(Market.)
Manage
r
(Sales)
Manager
(HR)
Area
Manage
r 1
Area
Manage
r 2
Area
Manage
r 3
Sales Exe.
1
Sales Exe.
2
Sales
Representative
B. Relational Database Model
• Simplest and the most common model.
• Developed in 1970 by E.F. Codd, it became commercial in
the 80s.
• Data elements are stored in
different tables made up of
rows and columns.
Roll No Name Surname Section
1001 Kamal Gulati D
1002 Rahul Singh A
Cont…
• Terminologies:
-Data Values: alphanumeric raw data (Kamal)
-Columns: fields (item or object that holds the data)
-Rows: record (a group of data for related field)
-Table: collection (all records & fields)
-Key: identifier (uniquely identifies a row in the
table. It can be value of a single or multiple column.
e.g.:
DB2, ORACLE, SQL Server.
Roll No Name Surnam
e
Section
1001 Kamal Gulati D
1002 Rahul Singh A
C. Network Database Model
• Represented using a Data-Structure Diagram.
• Boxes represents the records & lines the links.
• Based on owner-member relationship
• Members of an owner may
be many but for many membe
owner is one.
• Can represent one-to-one and
many-to-many as well.
Teacher 1 Teacher 2 Teacher 3
Course A Course B Course C
Student 1 Student 2 Student 3
Cont…
• One-to-many relationship is converted into a set of
one-to-one.
• Also, many-to-many is
converted into 2 or more
one-to-many
relationship.
e.g.:
IDMS, IMAGE.
*IDMS: Integrated Database Management System
Teacher 1 Teacher 2 Teacher 3
Course A Course B Course C
Student 1 Student 2 Student 3
Cont…
Schema:
- Logical structure of the database.
- Doesn't show the data in database.
- Classification:
1. Physical
2. Conceptual
3. External
Cont…
1. Physical Schema:
-Describes the physical storage of database.
-Not in terms of blocks or devices, but describes organization of files,access path etc.
2. Conceptual Schema:
-Describes structure of whole database.
-Describes entities their relationships and
constraints.
3. External Schema:
-Provides a user's view of data.
-Shows relevant info particular to user, hides
rest of the info.
-one or more levels.
 Instances
Actual data contained in database at a particular point of
time.
The database state is also called extension of the schema.
Components of Database System
Component
s of
database
User
s
Softwar
e
Hardwar
e
Dat
a
• Users- People who interact with the
database:
- Application Programmers.
- End Users.
- DataAdministrators.
•Software- Lies between the stored data
and the users:
- DBMS.
- Application Software.
- User Interface.
Cont…
• Hardware- Physical device on which
database resides.
e.g.:
Computers, Disk Drives,
Printers, Cables etc.
• Data- numbers, characters, pictures.
e.g.:
NIOS, 1008, Noida, India.
Component
s of
database
User
s
Softwar
e
Hardwar
e
Dat
a
What is DBMS ?
• A set of programs to access the interrelated data
• DBMS contains information about a particular
enterprise.
• Computerized record keeping system.
• Provides convenient environment to user to
perform operations:
-Creation, Insertion, Deletion,
Updating & Retrieval of information.
Database Administrator (DBA)
• Individual or a group, having centralized control of the
database.
• Has a good understanding of database and
coordinates all activities of the database.
• Functions:
-Defines schema.
-Defines storage structure and access method.
-Modification of both.
-Granting user authority to access the database.
-Monitoring performance and responding to changes.
Database Languages
• Once data is filled, manipulation is required
(insertion, deletion, modification of data)
• For these, a set of languages is provided by DBMS:
1. Data Definition Language.
2. Data Manipulation Language.
3. Data Control Language.
Cont…
1.Data Definition or Description
Language (DDL):
-Used by DB designers to define schema.
-DDL compiler converts DDL statements
and generate a set of tables which are
stored in.
e.g.: CREATE, ALTER & DROP
2. Data Manipulation Language (DML):
-For accessing and manipulating the
data.
e.g.: CONNECT, SELECT, INSERT,
UPDATE, DELETE, EXECUTE
3. Data Control Language (DCL):
-Similar to a computer programming language
used to control access to data stored in a
database.
-e.g.: GRANT, REVOKE
Database System Architectures
• The journey from big mainframe to pc has
also evolved the database and its architecture.
• Classification:
1.Centralized DBMSArchitecture
2.Client-ServerArchitecture
3.Distributed Databases
1. Centralized DBMS Architecture
• Traditional form, all data, functionality,
apps are located on one machine.
• Access via communication links.
Enterpris
e
databas
e
2. Client-Server Architecture
• Involves a client and a server.
• Clients are PCs or workstations.
• Servers are powerful computers, can manage files,
printers, e-mails.
• Client interacts server when additional functionality
Doesn'texits in its ownmachine.
Client
User interface
Application program
Database server
Database tables
Application server
3. Distributed Database Architecture
• Decentralized functionality, distributed among many
computers.
• Storage computers are at diff. geographical locations.
Enterpris
e main
database
Fragme
nt
Fragme
nt
Fragme
Fragme
nt
Fragme
nt
Advantages of DBMS
1. Controlling Data Redundancy: Data is recorded in
only one place in the database and it is not
duplicated.
2. Data Consistency: Data item appears only once,
and the updated value is immediately available to
all users.
3. Control Over Concurrency : In a computer file-
based system in updating, one may overwrite the
values recorded by the other.
Advantages of DBMS Contd.,
4. Backup and Recovery Procedures: automatically
create the backup of data and restore data if required.
5. Data Independence: Separation of data structure of
database from application program that uses the data is
called data independence.
Disadvantages of DBMS
1. Cost of Hardware and Software: Processor with
high speed of data processing and memory of large
size is required.
2. Cost of Data Conversion: Very difficult and costly
method to convert data of data file into database.
3. Cost of Staff Training: A lot of amount for the
training of staff to run the DBMS.
3. Appointing Technical Staff: Trained technical persons
such as database administrator, application
programmers, data entry operators etc. are required to
handle the DBMS.
4. Database Damage: All data is integrated into a single
database. If database is damaged due to electric failure or
database is corrupted on the storage media, then your
valuable data may be lost forever.
Disadvantages of DBMS Contd.,
Examples of DBMS
• Some of the commonly used DBMSs are:
-Oracle, IBM’s DB2, Microsoft's SQL Server and
Informix.
• Some of the desktop-based DBMSs are:
-Microsoft FoxPro, Borland dBase and
MicrosoftAccess.
Applications of DBMS
1. Airlines and Railways: Online databases for
reservation, and displaying the schedule
information.
2. Banking: Customer inquiry, accounts, loans, and other
transactions.
3. Education: Course registration, result, and other
information.
4. Telecommunications: Communication network,
telephone numbers, record of calls, for generating
monthly bills, etc.
Applications of DBMS Contd.,
5. E-commerce: Business activity such as online shopping,
booking of holiday package, consulting a doctor, etc.
6. Human resources: Organizations use databases for
storing information about their employees, salaries,
benefits, taxes, and for generating salary checks.
1. Introduction to Databases
2. Fundamentals of Data Modeling and Database
Design
3. Database Normalization
4. Types of keys in database management system
5. Distributed Database
More Contents on Database
For any Query related to the subject
drkamalgulati@gmail.com
Thank You!

More Related Content

What's hot (20)

Database Management System Introduction
Database Management System IntroductionDatabase Management System Introduction
Database Management System Introduction
 
Types of Database Models
Types of Database ModelsTypes of Database Models
Types of Database Models
 
Introduction to RDBMS
Introduction to RDBMSIntroduction to RDBMS
Introduction to RDBMS
 
Database : Relational Data Model
Database : Relational Data ModelDatabase : Relational Data Model
Database : Relational Data Model
 
All data models in dbms
All data models in dbmsAll data models in dbms
All data models in dbms
 
Dbms slides
Dbms slidesDbms slides
Dbms slides
 
Database Normalization by Dr. Kamal Gulati
Database Normalization by Dr. Kamal GulatiDatabase Normalization by Dr. Kamal Gulati
Database Normalization by Dr. Kamal Gulati
 
Object Oriented Database Management System
Object Oriented Database Management SystemObject Oriented Database Management System
Object Oriented Database Management System
 
Database language
Database languageDatabase language
Database language
 
3 Level Architecture
3 Level Architecture3 Level Architecture
3 Level Architecture
 
Dbms Concepts
Dbms ConceptsDbms Concepts
Dbms Concepts
 
Relational Data Model Introduction
Relational Data Model IntroductionRelational Data Model Introduction
Relational Data Model Introduction
 
Advance Database Management Systems -Object Oriented Principles In Database
Advance Database Management Systems -Object Oriented Principles In DatabaseAdvance Database Management Systems -Object Oriented Principles In Database
Advance Database Management Systems -Object Oriented Principles In Database
 
Relational model
Relational modelRelational model
Relational model
 
DBMS
DBMSDBMS
DBMS
 
Database management system1
Database management system1Database management system1
Database management system1
 
data modeling and models
data modeling and modelsdata modeling and models
data modeling and models
 
DBMS and its Models
DBMS and its ModelsDBMS and its Models
DBMS and its Models
 
Rdbms
RdbmsRdbms
Rdbms
 
DbMs
DbMsDbMs
DbMs
 

Similar to Fundamentals of DBMS

Database management system.pptx
Database management system.pptxDatabase management system.pptx
Database management system.pptxAshmitKashyap1
 
Basic Concept of Database
Basic Concept of DatabaseBasic Concept of Database
Basic Concept of DatabaseMarlon Jamera
 
Presentation on Database management system
Presentation on Database management systemPresentation on Database management system
Presentation on Database management systemPrerana Bhattarai
 
01-database-management.pptx
01-database-management.pptx01-database-management.pptx
01-database-management.pptxdhanajimirajkar1
 
Database management system basics and it applications
Database management system basics and it applicationsDatabase management system basics and it applications
Database management system basics and it applicationsRAJESH S
 
DBMS architecture &; system structure
DBMS architecture &; system  structureDBMS architecture &; system  structure
DBMS architecture &; system structureRUpaliLohar
 
Week 1 and 2 Getting started with DBMS.pptx
Week 1 and 2 Getting started with DBMS.pptxWeek 1 and 2 Getting started with DBMS.pptx
Week 1 and 2 Getting started with DBMS.pptxRiannel Tecson
 
Ch 2-introduction to dbms
Ch 2-introduction to dbmsCh 2-introduction to dbms
Ch 2-introduction to dbmsRupali Rana
 
DatabaseManagementSystem.pptx
DatabaseManagementSystem.pptxDatabaseManagementSystem.pptx
DatabaseManagementSystem.pptxuwmctesting
 

Similar to Fundamentals of DBMS (20)

Database management system.pptx
Database management system.pptxDatabase management system.pptx
Database management system.pptx
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
DBMS
DBMS DBMS
DBMS
 
Basic Concept of Database
Basic Concept of DatabaseBasic Concept of Database
Basic Concept of Database
 
Presentation on Database management system
Presentation on Database management systemPresentation on Database management system
Presentation on Database management system
 
Unit 2 DATABASE ESSENTIALS.pptx
Unit 2 DATABASE ESSENTIALS.pptxUnit 2 DATABASE ESSENTIALS.pptx
Unit 2 DATABASE ESSENTIALS.pptx
 
Ch1_Intro-95(1).ppt
Ch1_Intro-95(1).pptCh1_Intro-95(1).ppt
Ch1_Intro-95(1).ppt
 
Unit 1.pptx
Unit 1.pptxUnit 1.pptx
Unit 1.pptx
 
Unit1 DBMS Introduction
Unit1 DBMS IntroductionUnit1 DBMS Introduction
Unit1 DBMS Introduction
 
01-database-management.pptx
01-database-management.pptx01-database-management.pptx
01-database-management.pptx
 
Database management system basics and it applications
Database management system basics and it applicationsDatabase management system basics and it applications
Database management system basics and it applications
 
23246406 dbms-unit-1
23246406 dbms-unit-123246406 dbms-unit-1
23246406 dbms-unit-1
 
DBMS architecture &; system structure
DBMS architecture &; system  structureDBMS architecture &; system  structure
DBMS architecture &; system structure
 
Week 1 and 2 Getting started with DBMS.pptx
Week 1 and 2 Getting started with DBMS.pptxWeek 1 and 2 Getting started with DBMS.pptx
Week 1 and 2 Getting started with DBMS.pptx
 
Ch 2-introduction to dbms
Ch 2-introduction to dbmsCh 2-introduction to dbms
Ch 2-introduction to dbms
 
Unit 1 dbms
Unit 1 dbmsUnit 1 dbms
Unit 1 dbms
 
Lecture 1 =Unit 1 Part 1.ppt
Lecture 1 =Unit 1 Part 1.pptLecture 1 =Unit 1 Part 1.ppt
Lecture 1 =Unit 1 Part 1.ppt
 
DBMS.pptx
DBMS.pptxDBMS.pptx
DBMS.pptx
 
DatabaseManagementSystem.pptx
DatabaseManagementSystem.pptxDatabaseManagementSystem.pptx
DatabaseManagementSystem.pptx
 
Dbms unit 1
Dbms unit 1Dbms unit 1
Dbms unit 1
 

More from Amity University | FMS - DU | IMT | Stratford University | KKMI International Institute | AIMA | DTU

More from Amity University | FMS - DU | IMT | Stratford University | KKMI International Institute | AIMA | DTU (20)

All About DBMS - Interview Question and Answers
All About DBMS - Interview Question and AnswersAll About DBMS - Interview Question and Answers
All About DBMS - Interview Question and Answers
 
Concept of Governance - Management of Operational Risk for IT Officers/Execut...
Concept of Governance - Management of Operational Risk for IT Officers/Execut...Concept of Governance - Management of Operational Risk for IT Officers/Execut...
Concept of Governance - Management of Operational Risk for IT Officers/Execut...
 
Emerging Technologies in IT
Emerging Technologies in ITEmerging Technologies in IT
Emerging Technologies in IT
 
CASE (Computer Aided Software Design)
CASE (Computer Aided Software Design)CASE (Computer Aided Software Design)
CASE (Computer Aided Software Design)
 
SOFTWARE RELIABILITY AND QUALITY ASSURANCE
SOFTWARE RELIABILITY AND QUALITY ASSURANCESOFTWARE RELIABILITY AND QUALITY ASSURANCE
SOFTWARE RELIABILITY AND QUALITY ASSURANCE
 
Software Testing (Contd..) SDLC Model
Software Testing (Contd..) SDLC ModelSoftware Testing (Contd..) SDLC Model
Software Testing (Contd..) SDLC Model
 
Software Testing - SDLC Model
Software Testing - SDLC ModelSoftware Testing - SDLC Model
Software Testing - SDLC Model
 
Coding - SDLC Model
Coding - SDLC ModelCoding - SDLC Model
Coding - SDLC Model
 
Software Design - SDLC Model
Software Design - SDLC ModelSoftware Design - SDLC Model
Software Design - SDLC Model
 
Models of SDLC (Contd..) & Feasibility Study
Models of SDLC (Contd..)  & Feasibility StudyModels of SDLC (Contd..)  & Feasibility Study
Models of SDLC (Contd..) & Feasibility Study
 
Models of SDLC (Software Development Life Cycle / Program Development Life Cy...
Models of SDLC (Software Development Life Cycle / Program Development Life Cy...Models of SDLC (Software Development Life Cycle / Program Development Life Cy...
Models of SDLC (Software Development Life Cycle / Program Development Life Cy...
 
Introduction to Software Engineering
Introduction to Software EngineeringIntroduction to Software Engineering
Introduction to Software Engineering
 
CLOUD SECURITY IN INSURANCE INDUSTRY WITH RESPECT TO INDIAN MARKET
CLOUD SECURITY IN INSURANCE INDUSTRY WITH RESPECT TO INDIAN MARKETCLOUD SECURITY IN INSURANCE INDUSTRY WITH RESPECT TO INDIAN MARKET
CLOUD SECURITY IN INSURANCE INDUSTRY WITH RESPECT TO INDIAN MARKET
 
Application Software
Application SoftwareApplication Software
Application Software
 
Application Software – Horizontal & Vertical Software
Application Software – Horizontal & Vertical SoftwareApplication Software – Horizontal & Vertical Software
Application Software – Horizontal & Vertical Software
 
Software: Systems and Application Software
Software:  Systems and Application SoftwareSoftware:  Systems and Application Software
Software: Systems and Application Software
 
Programming Languages
Programming LanguagesProgramming Languages
Programming Languages
 
Number Codes and Registers
Number Codes and RegistersNumber Codes and Registers
Number Codes and Registers
 
Introduction to Computer Programming
Introduction to Computer ProgrammingIntroduction to Computer Programming
Introduction to Computer Programming
 
PROGRAMMING AND LANGUAGES
PROGRAMMING AND LANGUAGES  PROGRAMMING AND LANGUAGES
PROGRAMMING AND LANGUAGES
 

Recently uploaded

Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 

Recently uploaded (20)

Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 

Fundamentals of DBMS

  • 2. Contents • What is Data ? • What is Information? • Data Models, Schema and Instances • Components of Database System • What is DBMS ? • Database Languages • Applications of DBMS
  • 3. Introduction • DBMS stands for Database Management System. • DBMS is a software system for creating, organizing and managing the database. • It provides an environment to the user to perform operations on the database for creation, insertion, deletion, updating and retrieval of data.
  • 4. What is Data ? A collection of raw facts and figures. Raw material that can be processed by any computing machine. A collection of facts from which conclusions may be drawn. Data can be represented in the form of: numbers, Alphabets & Symbols which can be stored in computer's language. •i.e. Kamal Gulati, kamal@123
  • 5. What is Information? Knowledge acquired through study or experience. Information helps human beings in their decision making. Systematic and meaningful form of data.
  • 6. Database • A repository of logically related and similardata. • An organized collection of related information so that it can easily be accessed, managed and updated. • E.g.: • Dictionary • Airline Database • Student Database • Library • Railways Timetable YouTube (All videos of NIOS)
  • 7. Database Design & Modelling
  • 8. Data Models, Schema and Instances  Data Models: • Describes structure of the database. • Aim is to support the development of information systems by providing the definition and format of data. • If the same data structures are used to store and access data then different applications can share data. • Classification: 1. High-Level Model 2. Representation Model 3. Low-Level Model
  • 9. 1. High-Level Model • Ensures data requirement of the users. • Not concerned with representation, but its conceptual form. • Three Imp terms: • Entity: Any object, exists physically or conceptually. • Attribute: Property or characteristic of entity. • Relationship: Association or link b/w two entities. • These 3 terms make Entity-Relationship Model.
  • 10. Entity-Relationship (E-R) Model College Principal College Student C Student A Student B College 3 College 2 College 1 Course C Course B Course A Student CourseAdmissio n Stud_Nam e Stud_Roll No Course_I d Course_Na me Relationships E-R diagram
  • 11. 2. Representation Model • Representation of data stored inside a database. • Describes the physical structure of the database. • It uses the concepts which are close to the end-users. • Classification: A. Hierarchical B. Relational C. Network
  • 12. A. Hierarchical Database Model • Developed by IBM, is the Oldest database model. • Represented using a tree-diagram. (Parent-child relationship) • Each box is called a Node • The nodes represent a record type. • A line connecting nodes represents the link. Director Manager (Market.) Manage r (Sales) Manager (HR) Area Manager 1 Area Manage r 2 Area Manage r 3 Sales Exe. 1 Sales Exe. 2 Sales Representative
  • 13. Cont… • Parent-child type is suited for One-to-many relationship between two entities. • But difficult to implement many-to-many relationship. e.g.: IMS system from IBM. *IMS -Information Management System Director Manager (Market.) Manage r (Sales) Manager (HR) Area Manage r 1 Area Manage r 2 Area Manage r 3 Sales Exe. 1 Sales Exe. 2 Sales Representative
  • 14. B. Relational Database Model • Simplest and the most common model. • Developed in 1970 by E.F. Codd, it became commercial in the 80s. • Data elements are stored in different tables made up of rows and columns. Roll No Name Surname Section 1001 Kamal Gulati D 1002 Rahul Singh A
  • 15. Cont… • Terminologies: -Data Values: alphanumeric raw data (Kamal) -Columns: fields (item or object that holds the data) -Rows: record (a group of data for related field) -Table: collection (all records & fields) -Key: identifier (uniquely identifies a row in the table. It can be value of a single or multiple column. e.g.: DB2, ORACLE, SQL Server. Roll No Name Surnam e Section 1001 Kamal Gulati D 1002 Rahul Singh A
  • 16. C. Network Database Model • Represented using a Data-Structure Diagram. • Boxes represents the records & lines the links. • Based on owner-member relationship • Members of an owner may be many but for many membe owner is one. • Can represent one-to-one and many-to-many as well. Teacher 1 Teacher 2 Teacher 3 Course A Course B Course C Student 1 Student 2 Student 3
  • 17. Cont… • One-to-many relationship is converted into a set of one-to-one. • Also, many-to-many is converted into 2 or more one-to-many relationship. e.g.: IDMS, IMAGE. *IDMS: Integrated Database Management System Teacher 1 Teacher 2 Teacher 3 Course A Course B Course C Student 1 Student 2 Student 3
  • 18. Cont… Schema: - Logical structure of the database. - Doesn't show the data in database. - Classification: 1. Physical 2. Conceptual 3. External
  • 19. Cont… 1. Physical Schema: -Describes the physical storage of database. -Not in terms of blocks or devices, but describes organization of files,access path etc. 2. Conceptual Schema: -Describes structure of whole database. -Describes entities their relationships and constraints. 3. External Schema: -Provides a user's view of data. -Shows relevant info particular to user, hides rest of the info. -one or more levels.
  • 20.  Instances Actual data contained in database at a particular point of time. The database state is also called extension of the schema.
  • 21. Components of Database System Component s of database User s Softwar e Hardwar e Dat a • Users- People who interact with the database: - Application Programmers. - End Users. - DataAdministrators. •Software- Lies between the stored data and the users: - DBMS. - Application Software. - User Interface.
  • 22. Cont… • Hardware- Physical device on which database resides. e.g.: Computers, Disk Drives, Printers, Cables etc. • Data- numbers, characters, pictures. e.g.: NIOS, 1008, Noida, India. Component s of database User s Softwar e Hardwar e Dat a
  • 23. What is DBMS ? • A set of programs to access the interrelated data • DBMS contains information about a particular enterprise. • Computerized record keeping system. • Provides convenient environment to user to perform operations: -Creation, Insertion, Deletion, Updating & Retrieval of information.
  • 24. Database Administrator (DBA) • Individual or a group, having centralized control of the database. • Has a good understanding of database and coordinates all activities of the database. • Functions: -Defines schema. -Defines storage structure and access method. -Modification of both. -Granting user authority to access the database. -Monitoring performance and responding to changes.
  • 25. Database Languages • Once data is filled, manipulation is required (insertion, deletion, modification of data) • For these, a set of languages is provided by DBMS: 1. Data Definition Language. 2. Data Manipulation Language. 3. Data Control Language.
  • 26. Cont… 1.Data Definition or Description Language (DDL): -Used by DB designers to define schema. -DDL compiler converts DDL statements and generate a set of tables which are stored in. e.g.: CREATE, ALTER & DROP 2. Data Manipulation Language (DML): -For accessing and manipulating the data. e.g.: CONNECT, SELECT, INSERT, UPDATE, DELETE, EXECUTE
  • 27. 3. Data Control Language (DCL): -Similar to a computer programming language used to control access to data stored in a database. -e.g.: GRANT, REVOKE
  • 28. Database System Architectures • The journey from big mainframe to pc has also evolved the database and its architecture. • Classification: 1.Centralized DBMSArchitecture 2.Client-ServerArchitecture 3.Distributed Databases
  • 29. 1. Centralized DBMS Architecture • Traditional form, all data, functionality, apps are located on one machine. • Access via communication links. Enterpris e databas e
  • 30. 2. Client-Server Architecture • Involves a client and a server. • Clients are PCs or workstations. • Servers are powerful computers, can manage files, printers, e-mails. • Client interacts server when additional functionality Doesn'texits in its ownmachine. Client User interface Application program Database server Database tables Application server
  • 31. 3. Distributed Database Architecture • Decentralized functionality, distributed among many computers. • Storage computers are at diff. geographical locations. Enterpris e main database Fragme nt Fragme nt Fragme Fragme nt Fragme nt
  • 32. Advantages of DBMS 1. Controlling Data Redundancy: Data is recorded in only one place in the database and it is not duplicated. 2. Data Consistency: Data item appears only once, and the updated value is immediately available to all users. 3. Control Over Concurrency : In a computer file- based system in updating, one may overwrite the values recorded by the other.
  • 33. Advantages of DBMS Contd., 4. Backup and Recovery Procedures: automatically create the backup of data and restore data if required. 5. Data Independence: Separation of data structure of database from application program that uses the data is called data independence.
  • 34. Disadvantages of DBMS 1. Cost of Hardware and Software: Processor with high speed of data processing and memory of large size is required. 2. Cost of Data Conversion: Very difficult and costly method to convert data of data file into database. 3. Cost of Staff Training: A lot of amount for the training of staff to run the DBMS.
  • 35. 3. Appointing Technical Staff: Trained technical persons such as database administrator, application programmers, data entry operators etc. are required to handle the DBMS. 4. Database Damage: All data is integrated into a single database. If database is damaged due to electric failure or database is corrupted on the storage media, then your valuable data may be lost forever. Disadvantages of DBMS Contd.,
  • 36. Examples of DBMS • Some of the commonly used DBMSs are: -Oracle, IBM’s DB2, Microsoft's SQL Server and Informix. • Some of the desktop-based DBMSs are: -Microsoft FoxPro, Borland dBase and MicrosoftAccess.
  • 37. Applications of DBMS 1. Airlines and Railways: Online databases for reservation, and displaying the schedule information. 2. Banking: Customer inquiry, accounts, loans, and other transactions. 3. Education: Course registration, result, and other information. 4. Telecommunications: Communication network, telephone numbers, record of calls, for generating monthly bills, etc.
  • 38. Applications of DBMS Contd., 5. E-commerce: Business activity such as online shopping, booking of holiday package, consulting a doctor, etc. 6. Human resources: Organizations use databases for storing information about their employees, salaries, benefits, taxes, and for generating salary checks.
  • 39. 1. Introduction to Databases 2. Fundamentals of Data Modeling and Database Design 3. Database Normalization 4. Types of keys in database management system 5. Distributed Database More Contents on Database
  • 40. For any Query related to the subject drkamalgulati@gmail.com