SlideShare a Scribd company logo
A Presentation
on
Database Management
System
Content
• Data, Database and Database Management System
• Purpose of Database Management System
• Concept of Data Abstraction
• Data Models
• Views and Different types of Keys in Relational Model
• References
DATABASE : A collection of data is referred to as
database.
e.g. 1. record of students stored in files
2. information stored over internet
DATABASE MANAGEMENT SYSTEM: It is basically a
computer based record keeping system (program).
e.g. MySQL
Microsoft Access
FileMaker
FoxPro
Purpose of database :
1. It reduces DATA REDUNDANCY to a large extent.
2. It controls DATA INCONSISTENCY.
3. It facilitate SHARING of data.
4. It ensures DATA SECURITY.
Name D.O.B Fees
Harsh 23/01/1993 Not paid
Amar 04/11/1994 Paid
Devendra 14/06/1992 Not paid
Harsh 23/01/1993 Not paid
Name D.O.B Fees
Harsh 23/01/1993 Paid
Amar 04/11/1994 Paid
Devendra 14/06/1992 Paid
Harsh 23/01/1993 Not paid
Data Redundancy Data Inconsistency
Three levels of database implementation (concept of abstraction)
1. INTERNAL LEVEL (PHYSICAL LEVEL):
It describes how data are actually stored on the storage medium.
It is closest to database programmer.
Lowest level of database abstraction.
2. CONCEPTUAL LEVEL:
It describes what data are actually stored in database.
It is closest to the database manager.
It is an intermediate level of database abstraction.
3. EXTERNAL LEVEL (VIEW LEVEL):
It describes the way in which the data are viewed by individual user.
It is the level closest to the users.
It is the highest level of database abstraction.
Three levels of data abstraction
View 1 View 2 View 3
Conceptual
level
Physical
level
External level
Internal
Stored-acc. length=60
Account # type=bytes(15) offset=0
Name type=bytes(20) offset=15
Type type=bytes(10) offset=35
Amount type=bytes(15) offset=45
Conceptual
AC_No numeric(15)
AC_Name character(20)
Type character(10)
Amount numeric(15)
View 1
AC_Name
Amount
View 2
AC_No
AC_Name
Type
Amount
Account holder Manager
(DBMS Programmer)
Database
handler
User
Item # Item-
name
Price
I1 Cake 50.00
I2 Bread 9.00
I3 Biscuits 6.00
I4 Snacks 16.00
1.Relational Data Model
Supp# Supp-name
S1 Britannia
S2 New Bakers
Supp# Item# Qty-
Supplied
S1 I2 20
S1 I3 25
S1 I4 10
S2 I1 5
S2 I3 10
Table : Items
Table : Suppliers
Table : Shipments
1. RELATIONAL DATA MODEL: In relational data model, the data is stored in
the form of tables (i.e. rows ad columns).
These tables are called relations.
The user of the relational database system may insert new tuples, delete tuples,
and modify tuples.
DATA MODELS
S1 Britannia
20 25 10
I2 Bread 9.00 I3 Biscuit
s
6.00 I4 Snacks 16.00
2. Network Data Model
2. NETWORK DATA MODEL: The network data model differs from the
relational model.
In this model data is represented by connection of records and relationships
among data are represented by links.
Records are organized as graphs.
S1 Britannia
20
25
10
I2 Bread 9.00
I3 Biscuits 6.00
I4 Snacks 16.00
3. Hierarchical Data Model
3. HIERARCHICAL DATA MODEL: Data is represented by collection of records
and relationships among data by links, similar to the network model.
Records are organized as trees rather than graphs.
Represents relationship among its records through parent child relationships.
The relational model was put forward by E.F. Codd of the IBM.
It is considered as a very important concept in DBMS.
Some basic terminologies:-
Relation : A relation is a table i.e. data is arranged in rows and columns.
Tuple : The rows of tables are generally referred to as tuples.
Attributes : The columns of tables are generally referred to as attributes.
Degree : The number of attributes in a relation determine the degree of the relation.
Cardinality : The number of tuples in a relation is called the cardinality of the
relation.
Relational Data Model
Views
A view is a (virtual) table that does not really exist in its own right but is instead derived
from one or more underlying base tables.
It is an excellent way to give people access to some but not all information (data
abstraction).
Database Keys are used to establish and identify relations between tables.
Primary key: It is a set of one or more attributes that can uniquely identify the tuples
within the relation.
Candidate key : All attribute combinations inside a relation that can serve as a primary
key are candidate keys.
Alternate key: A candidate key that is not the primary key is called the alternate key.
Foreign key : A foreign key is a non key attribute whose value is derived from the
primary key of another table.
Empno Name D.O.B. Post Area_code
101 Aakash 13/03/1994 Director 221
102 Shahrukh 26/11/1993 Director 223
103 Nishank 30/02/1989 Manager 156
104 Shivesh 24/03/1993 Clerk 223
105 Prem 31/05/1992 Clerk 156
Area_code Area State
156 Mumbai Maharashtra
221 Bengaluru Karnataka
223 Pune Maharashtra
Table : Location
Table : Employee
Primary Key in
this table
Foreign key in
this table
Primary Key in
this table
Advantages of Database Management System
1. Self describing nature of Database System:-
A database management system catalogue stores the descriptions of the database
and this description is called Metadata, which describes the Structure of Database.
2. Insulation between Program and Data (Data Independence):-
DBMS provides the insulation between program and data called as program data
Independence which allows changing data storage structure and operation without having
to change the DBMS access program.
3. Data Abstraction:-
Data Models is used to hide storage details and present the user with a conceptual
view of Database that does not include many of the details of how data is stored.
4. Sharing of Data and Multiple User Transaction processing:-
DBMS allows a set of concurrent users to retrieve and to update the Database.
5. Support of Multiple Views of the Database
References
• http://patentimage.storage.googleapis.com
• www.tutorialspoint.com/Database_management_system.htm
• https://en.m.Wikipedia.org/wiki/dbms.html
Introduction to DBMS(For College Seminars)

More Related Content

What's hot

Dbms 3: 3 Schema Architecture
Dbms 3: 3 Schema ArchitectureDbms 3: 3 Schema Architecture
Dbms 3: 3 Schema Architecture
Amiya9439793168
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
Siti Ismail
 
MySQL and its basic commands
MySQL and its basic commandsMySQL and its basic commands
MySQL and its basic commands
Bwsrang Basumatary
 
Database systems
Database systemsDatabase systems
Database systems
Dhani Ahmad
 
Database abstraction
Database abstractionDatabase abstraction
Database abstraction
RituBhargava7
 
Rdbms
RdbmsRdbms
Er model ppt
Er model pptEr model ppt
Er model ppt
Pihu Goel
 
The database applications
The database applicationsThe database applications
The database applications
Dolat Ram
 
Chapter 1 introduction to sql server
Chapter 1 introduction to sql serverChapter 1 introduction to sql server
Chapter 1 introduction to sql server
baabtra.com - No. 1 supplier of quality freshers
 
History of Database
History  of DatabaseHistory  of Database
History of Database
Talesun Solar USA Ltd.
 
introdution to SQL and SQL functions
introdution to SQL and SQL functionsintrodution to SQL and SQL functions
introdution to SQL and SQL functions
farwa waqar
 
Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to databaseemailharmeet
 
database language ppt.pptx
database language ppt.pptxdatabase language ppt.pptx
database language ppt.pptx
Anusha sivakumar
 
Dbms Introduction and Basics
Dbms Introduction and BasicsDbms Introduction and Basics
Dbms Introduction and Basics
SHIKHA GAUTAM
 
SQL(DDL & DML)
SQL(DDL & DML)SQL(DDL & DML)
SQL(DDL & DML)
Sharad Dubey
 
11 Database Concepts
11 Database Concepts11 Database Concepts
11 Database Concepts
Praveen M Jigajinni
 
Database Management System Introduction
Database Management System IntroductionDatabase Management System Introduction
Database Management System Introduction
Smriti Jain
 
Database language
Database languageDatabase language
Fundamentals of Database system
Fundamentals of Database systemFundamentals of Database system
Fundamentals of Database system
philipsinter
 
Introduction to SQL
Introduction to SQLIntroduction to SQL
Introduction to SQL
Ehsan Hamzei
 

What's hot (20)

Dbms 3: 3 Schema Architecture
Dbms 3: 3 Schema ArchitectureDbms 3: 3 Schema Architecture
Dbms 3: 3 Schema Architecture
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
 
MySQL and its basic commands
MySQL and its basic commandsMySQL and its basic commands
MySQL and its basic commands
 
Database systems
Database systemsDatabase systems
Database systems
 
Database abstraction
Database abstractionDatabase abstraction
Database abstraction
 
Rdbms
RdbmsRdbms
Rdbms
 
Er model ppt
Er model pptEr model ppt
Er model ppt
 
The database applications
The database applicationsThe database applications
The database applications
 
Chapter 1 introduction to sql server
Chapter 1 introduction to sql serverChapter 1 introduction to sql server
Chapter 1 introduction to sql server
 
History of Database
History  of DatabaseHistory  of Database
History of Database
 
introdution to SQL and SQL functions
introdution to SQL and SQL functionsintrodution to SQL and SQL functions
introdution to SQL and SQL functions
 
Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to database
 
database language ppt.pptx
database language ppt.pptxdatabase language ppt.pptx
database language ppt.pptx
 
Dbms Introduction and Basics
Dbms Introduction and BasicsDbms Introduction and Basics
Dbms Introduction and Basics
 
SQL(DDL & DML)
SQL(DDL & DML)SQL(DDL & DML)
SQL(DDL & DML)
 
11 Database Concepts
11 Database Concepts11 Database Concepts
11 Database Concepts
 
Database Management System Introduction
Database Management System IntroductionDatabase Management System Introduction
Database Management System Introduction
 
Database language
Database languageDatabase language
Database language
 
Fundamentals of Database system
Fundamentals of Database systemFundamentals of Database system
Fundamentals of Database system
 
Introduction to SQL
Introduction to SQLIntroduction to SQL
Introduction to SQL
 

Similar to Introduction to DBMS(For College Seminars)

Architecture of dbms
Architecture of dbmsArchitecture of dbms
Architecture of dbms
Surkhab Shelly
 
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
Bahria University Islamabad, Pakistan
 
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
Bahria University Islamabad, Pakistan
 
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdf
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdfFull book Database system Handbook 3rd edition by Muhammad Sharif.pdf
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdf
Bahria University Islamabad, Pakistan
 
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdf
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdfFull book Database system Handbook 3rd edition by Muhammad Sharif.pdf
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdf
Bahria University Islamabad, Pakistan
 
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
Bahria University Islamabad, Pakistan
 
Database-management-system-dbms-ppt.pptx
Database-management-system-dbms-ppt.pptxDatabase-management-system-dbms-ppt.pptx
Database-management-system-dbms-ppt.pptx
AnmolThakur67
 
DBMS
DBMSDBMS
Database Management System ppt
Database Management System pptDatabase Management System ppt
Database Management System ppt
OECLIB Odisha Electronics Control Library
 
csedatabasemanagementsystemppt-170825044344.pdf
csedatabasemanagementsystemppt-170825044344.pdfcsedatabasemanagementsystemppt-170825044344.pdf
csedatabasemanagementsystemppt-170825044344.pdf
SameerKhanPathan7
 
Database systems Handbook 2V.pdf
Database systems Handbook 2V.pdfDatabase systems Handbook 2V.pdf
Database systems Handbook 2V.pdf
Bahria University Islamabad, Pakistan
 
Kskv kutch university DBMS unit 1 basic concepts, data,information,database,...
Kskv kutch university DBMS unit 1  basic concepts, data,information,database,...Kskv kutch university DBMS unit 1  basic concepts, data,information,database,...
Kskv kutch university DBMS unit 1 basic concepts, data,information,database,...
Dipen Parmar
 
Database systems Handbook dbms.pdf
Database systems Handbook dbms.pdfDatabase systems Handbook dbms.pdf
Database systems Handbook dbms.pdf
Bahria University Islamabad, Pakistan
 
Database systems Handbook dbms.pdf
Database systems Handbook dbms.pdfDatabase systems Handbook dbms.pdf
Database systems Handbook dbms.pdf
Bahria University Islamabad, Pakistan
 
Database systems Handbook dbms.pdf
Database systems Handbook dbms.pdfDatabase systems Handbook dbms.pdf
Database systems Handbook dbms.pdf
Bahria University Islamabad, Pakistan
 
Database systems Handbook.pdf
Database systems Handbook.pdfDatabase systems Handbook.pdf
Database systems Handbook.pdf
Bahria University Islamabad, Pakistan
 
Database systems Handbook.pdf
Database systems Handbook.pdfDatabase systems Handbook.pdf
Database systems Handbook.pdf
Bahria University Islamabad, Pakistan
 
Database systems Handbook.pdf
Database systems Handbook.pdfDatabase systems Handbook.pdf
Database systems Handbook.pdf
Bahria University Islamabad, Pakistan
 
Muhammad Sharif Database systems Handbook.pdf
Muhammad Sharif  Database systems Handbook.pdfMuhammad Sharif  Database systems Handbook.pdf
Muhammad Sharif Database systems Handbook.pdf
Bahria University Islamabad, Pakistan
 
Database systems Handbook.pdf
Database systems Handbook.pdfDatabase systems Handbook.pdf
Database systems Handbook.pdf
Bahria University Islamabad, Pakistan
 

Similar to Introduction to DBMS(For College Seminars) (20)

Architecture of dbms
Architecture of dbmsArchitecture of dbms
Architecture of dbms
 
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
 
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
 
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdf
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdfFull book Database system Handbook 3rd edition by Muhammad Sharif.pdf
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdf
 
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdf
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdfFull book Database system Handbook 3rd edition by Muhammad Sharif.pdf
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdf
 
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
 
Database-management-system-dbms-ppt.pptx
Database-management-system-dbms-ppt.pptxDatabase-management-system-dbms-ppt.pptx
Database-management-system-dbms-ppt.pptx
 
DBMS
DBMSDBMS
DBMS
 
Database Management System ppt
Database Management System pptDatabase Management System ppt
Database Management System ppt
 
csedatabasemanagementsystemppt-170825044344.pdf
csedatabasemanagementsystemppt-170825044344.pdfcsedatabasemanagementsystemppt-170825044344.pdf
csedatabasemanagementsystemppt-170825044344.pdf
 
Database systems Handbook 2V.pdf
Database systems Handbook 2V.pdfDatabase systems Handbook 2V.pdf
Database systems Handbook 2V.pdf
 
Kskv kutch university DBMS unit 1 basic concepts, data,information,database,...
Kskv kutch university DBMS unit 1  basic concepts, data,information,database,...Kskv kutch university DBMS unit 1  basic concepts, data,information,database,...
Kskv kutch university DBMS unit 1 basic concepts, data,information,database,...
 
Database systems Handbook dbms.pdf
Database systems Handbook dbms.pdfDatabase systems Handbook dbms.pdf
Database systems Handbook dbms.pdf
 
Database systems Handbook dbms.pdf
Database systems Handbook dbms.pdfDatabase systems Handbook dbms.pdf
Database systems Handbook dbms.pdf
 
Database systems Handbook dbms.pdf
Database systems Handbook dbms.pdfDatabase systems Handbook dbms.pdf
Database systems Handbook dbms.pdf
 
Database systems Handbook.pdf
Database systems Handbook.pdfDatabase systems Handbook.pdf
Database systems Handbook.pdf
 
Database systems Handbook.pdf
Database systems Handbook.pdfDatabase systems Handbook.pdf
Database systems Handbook.pdf
 
Database systems Handbook.pdf
Database systems Handbook.pdfDatabase systems Handbook.pdf
Database systems Handbook.pdf
 
Muhammad Sharif Database systems Handbook.pdf
Muhammad Sharif  Database systems Handbook.pdfMuhammad Sharif  Database systems Handbook.pdf
Muhammad Sharif Database systems Handbook.pdf
 
Database systems Handbook.pdf
Database systems Handbook.pdfDatabase systems Handbook.pdf
Database systems Handbook.pdf
 

Recently uploaded

Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
Elena Simperl
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
Bhaskar Mitra
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Inflectra
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Jeffrey Haguewood
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Product School
 

Recently uploaded (20)

Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 

Introduction to DBMS(For College Seminars)

  • 2. Content • Data, Database and Database Management System • Purpose of Database Management System • Concept of Data Abstraction • Data Models • Views and Different types of Keys in Relational Model • References
  • 3. DATABASE : A collection of data is referred to as database. e.g. 1. record of students stored in files 2. information stored over internet DATABASE MANAGEMENT SYSTEM: It is basically a computer based record keeping system (program). e.g. MySQL Microsoft Access FileMaker FoxPro
  • 4. Purpose of database : 1. It reduces DATA REDUNDANCY to a large extent. 2. It controls DATA INCONSISTENCY. 3. It facilitate SHARING of data. 4. It ensures DATA SECURITY. Name D.O.B Fees Harsh 23/01/1993 Not paid Amar 04/11/1994 Paid Devendra 14/06/1992 Not paid Harsh 23/01/1993 Not paid Name D.O.B Fees Harsh 23/01/1993 Paid Amar 04/11/1994 Paid Devendra 14/06/1992 Paid Harsh 23/01/1993 Not paid Data Redundancy Data Inconsistency
  • 5. Three levels of database implementation (concept of abstraction) 1. INTERNAL LEVEL (PHYSICAL LEVEL): It describes how data are actually stored on the storage medium. It is closest to database programmer. Lowest level of database abstraction. 2. CONCEPTUAL LEVEL: It describes what data are actually stored in database. It is closest to the database manager. It is an intermediate level of database abstraction. 3. EXTERNAL LEVEL (VIEW LEVEL): It describes the way in which the data are viewed by individual user. It is the level closest to the users. It is the highest level of database abstraction.
  • 6. Three levels of data abstraction View 1 View 2 View 3 Conceptual level Physical level External level Internal Stored-acc. length=60 Account # type=bytes(15) offset=0 Name type=bytes(20) offset=15 Type type=bytes(10) offset=35 Amount type=bytes(15) offset=45 Conceptual AC_No numeric(15) AC_Name character(20) Type character(10) Amount numeric(15) View 1 AC_Name Amount View 2 AC_No AC_Name Type Amount Account holder Manager (DBMS Programmer) Database handler User
  • 7. Item # Item- name Price I1 Cake 50.00 I2 Bread 9.00 I3 Biscuits 6.00 I4 Snacks 16.00 1.Relational Data Model Supp# Supp-name S1 Britannia S2 New Bakers Supp# Item# Qty- Supplied S1 I2 20 S1 I3 25 S1 I4 10 S2 I1 5 S2 I3 10 Table : Items Table : Suppliers Table : Shipments 1. RELATIONAL DATA MODEL: In relational data model, the data is stored in the form of tables (i.e. rows ad columns). These tables are called relations. The user of the relational database system may insert new tuples, delete tuples, and modify tuples. DATA MODELS
  • 8. S1 Britannia 20 25 10 I2 Bread 9.00 I3 Biscuit s 6.00 I4 Snacks 16.00 2. Network Data Model 2. NETWORK DATA MODEL: The network data model differs from the relational model. In this model data is represented by connection of records and relationships among data are represented by links. Records are organized as graphs.
  • 9. S1 Britannia 20 25 10 I2 Bread 9.00 I3 Biscuits 6.00 I4 Snacks 16.00 3. Hierarchical Data Model 3. HIERARCHICAL DATA MODEL: Data is represented by collection of records and relationships among data by links, similar to the network model. Records are organized as trees rather than graphs. Represents relationship among its records through parent child relationships.
  • 10. The relational model was put forward by E.F. Codd of the IBM. It is considered as a very important concept in DBMS. Some basic terminologies:- Relation : A relation is a table i.e. data is arranged in rows and columns. Tuple : The rows of tables are generally referred to as tuples. Attributes : The columns of tables are generally referred to as attributes. Degree : The number of attributes in a relation determine the degree of the relation. Cardinality : The number of tuples in a relation is called the cardinality of the relation. Relational Data Model
  • 11. Views A view is a (virtual) table that does not really exist in its own right but is instead derived from one or more underlying base tables. It is an excellent way to give people access to some but not all information (data abstraction). Database Keys are used to establish and identify relations between tables. Primary key: It is a set of one or more attributes that can uniquely identify the tuples within the relation. Candidate key : All attribute combinations inside a relation that can serve as a primary key are candidate keys. Alternate key: A candidate key that is not the primary key is called the alternate key. Foreign key : A foreign key is a non key attribute whose value is derived from the primary key of another table.
  • 12. Empno Name D.O.B. Post Area_code 101 Aakash 13/03/1994 Director 221 102 Shahrukh 26/11/1993 Director 223 103 Nishank 30/02/1989 Manager 156 104 Shivesh 24/03/1993 Clerk 223 105 Prem 31/05/1992 Clerk 156 Area_code Area State 156 Mumbai Maharashtra 221 Bengaluru Karnataka 223 Pune Maharashtra Table : Location Table : Employee Primary Key in this table Foreign key in this table Primary Key in this table
  • 13. Advantages of Database Management System 1. Self describing nature of Database System:- A database management system catalogue stores the descriptions of the database and this description is called Metadata, which describes the Structure of Database. 2. Insulation between Program and Data (Data Independence):- DBMS provides the insulation between program and data called as program data Independence which allows changing data storage structure and operation without having to change the DBMS access program. 3. Data Abstraction:- Data Models is used to hide storage details and present the user with a conceptual view of Database that does not include many of the details of how data is stored. 4. Sharing of Data and Multiple User Transaction processing:- DBMS allows a set of concurrent users to retrieve and to update the Database. 5. Support of Multiple Views of the Database