SlideShare a Scribd company logo
PT MOHAN LAL SD COLLEGE FOR WOMEN , GURDASPUR
Presented by :Mrs.Surkhab Shelly
Astt. Prof. in computer Science
Deptt.
DATABASE :Acollection of data is referred to as
database.
e.g. 1.record of students storedin files
2. information stored over internet
DATABASE MANAGEMENT SYSTEM: A Data Base
Management System (DBMS) is a set of software programs that
enables users to define, create and maintain a database. It is
basically a computer based recordkeeping system (program).
MySQL
Microsoft Access
FileMaker
FoxPro
Purpose of database :
1.It reduces DATA REDUNDANCY to a largeextent.
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 dataabstraction
View 1 View 2 View 3
Conceptual
level
Physical
level
External level
Internal
Stored-acc.
Account #
Name
Type
Amount
length=60
type=bytes(15) offset=0
type=bytes(20) offset=15
type=bytes(10) offset=35
type=bytes(15) offset=45
Conceptual
AC_No
AC_Name
Type
Amount
numeric(15)
character(20)
character(10)
numeric(15)
View 1
AC_Name
Amount
View 2
AC_No
AC_Name
Type
Amount
Accountholder Manager
(DBMSProgrammer)
Database
handler
User
Various levels of database implementation (concept ofabstraction)
1.INTERNALLEVEL(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 thedatabase manager.
It is an intermediate level of databaseabstraction.
•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.
Item # Item-
name
Price
I1 Cake 50.00
I2 Bread 9.00
I3 Biscuits 6.00
I4 Snacks 16.00
1.Relational DataModel
Supp# Supp-name
S1 Britannia
S2 New Bakers
Supp# Item# Qty-
Supplie
d
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 calledrelations.
The user of the relational databasesystem may insert new tuples,
delete tuples, and modifytuples.
DATA MODELS
S1 Britannia
20 25 10
I2 Bread 9.00 I3 Biscui 6.00
ts
I4 Snacks 16.00
2. Network DataModel
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
I3
I2 Bread 9.00
Biscuits 6.00
I4 Snacks 16.00
3. Hierarchical DataModel
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
Normalization
Normalization is a systematic way of ensuring that a
database structure is suitable for general-purpose
querying and free of certain undesirable characteristics
that could lead to a loss of data integrity.
The objectives of normalization:
 Free the database of modification anomalies
 Minimize redesign when extending the database
structure
 Make the data model more informative to users
 Avoid bias towards any particular pattern of querying
In general, relational databases should be normalized to
the "third normal form".
Background to Normalization: Definitions
Functional Dependency:
If A and B are attributes of relation R, B is functionally
dependent on A (denoted A  B), if each A value is
associated with precisely one B value.
Or in other words, In every possible legal value of R (relation),
whenever two tuple agree on their A values, they also agree
on their B value.
Determinant of a functional dependency refers to attribute
or group of attributes on left-hand side of the arrow.
e.g. in an "Employee" table that includes the attributes
"Employee ID" and "Employee Date of Birth", the functional
dependency {Employee ID} →
{Employee Date of Birth} would hold.
Background to Normalization: Definitions
Full Functional Dependency
 A and B are attributes of a relation,
 B is fully dependent on A if B is functionally dependent on A but
not on any proper subset of A.
A functional dependency X  Y is full functional dependency if removal of
any attribute A from X means that the dependency does not hold any
more.
Background to Normalization: Definitions
Transitive Dependency: A transitive dependency is an indirect functional
dependency. Let A, B, and C designate three distinct attributes in the
relation. Suppose all three of the following conditions hold:
 A → B
 It is not the case that B → A
 B → C
Then the functional dependency A → C is a transitive dependency.
The functional dependency {Book} → {Author Nationality} applies; that is, if
we know the book, we know the author's nationality. Furthermore:
 {Book} → {Author}
 {Author} → {Author Nationality}
 {Author} does not → {Book}
Therefore {Book} → {Author Nationality} is a transitive dependency.
Background to Normalization: Definitions
SuperKey: A superkey is a set of columns within a table whose values can be
used to uniquely identify a row.
e.g. Imagine a table with the fields <Name>, <Age>, <SSN> and <Phone
Extension>. This table has many possible superkeys. Three of these are
<SSN>, <Phone Extension, Name> and <SSN, Name>. Of those
listed, only <SSN> is a candidate key, as the others contain information
not necessary to uniquely identify records
A candidate key is a key that can be used to uniquely identify record. I.e., it
may be used to retrieve one specific record.
The primary key of a relation is a candidate key that has been designated
as the main key.
A foreign key is an attribute (or collection of attributes) in a relation that can
be used as a key to another relation. Foreign keys link tables together to
form an integrated database.
Dbms ppt

More Related Content

What's hot

ISDD Database Structure N5
ISDD Database Structure N5ISDD Database Structure N5
ISDD Database Structure N5
Forrester High School
 
An extended database reverse engineering – a key for database forensic invest...
An extended database reverse engineering – a key for database forensic invest...An extended database reverse engineering – a key for database forensic invest...
An extended database reverse engineering – a key for database forensic invest...
eSAT Publishing House
 
Presentation dbms
Presentation dbmsPresentation dbms
Presentation dbms
Sushant Ketu
 
Checking the CMS datasets
Checking the CMS datasetsChecking the CMS datasets
Checking the CMS datasets
Daniel Bustamante López
 
L4 working with tables and data
L4 working with tables and dataL4 working with tables and data
L4 working with tables and data
Bryan Corpuz
 
Upstate CSCI 525 Data Mining Chapter 3
Upstate CSCI 525 Data Mining Chapter 3Upstate CSCI 525 Data Mining Chapter 3
Upstate CSCI 525 Data Mining Chapter 3
DanWooster1
 
Electronic Databases
Electronic DatabasesElectronic Databases
Electronic Databases
Heather Lambert
 
Ijebea14 228
Ijebea14 228Ijebea14 228
Ijebea14 228
Iasir Journals
 
Scoda openrefine-directordata
Scoda openrefine-directordataScoda openrefine-directordata
Scoda openrefine-directordata
Tony Hirst
 
Normalization
NormalizationNormalization
Normalization
AabKunal Grover
 
MS Sql Server: Introduction To Database Concepts
MS Sql Server: Introduction To Database ConceptsMS Sql Server: Introduction To Database Concepts
MS Sql Server: Introduction To Database Concepts
DataminingTools Inc
 
Towards a New Data Modelling Architecture - Part 1
Towards a New Data Modelling Architecture - Part 1Towards a New Data Modelling Architecture - Part 1
Towards a New Data Modelling Architecture - Part 1
JEAN-MICHEL LETENNIER
 
AtomiDB Dr Ashis Banerjee reviews
AtomiDB Dr Ashis Banerjee reviewsAtomiDB Dr Ashis Banerjee reviews
AtomiDB Dr Ashis Banerjee reviews
JEAN-MICHEL LETENNIER
 
Mail merge in MS word MobView
Mail merge in MS word MobViewMail merge in MS word MobView
Mail merge in MS word MobView
Manik Bhola
 
Training MS Access 2007
Training MS Access 2007Training MS Access 2007
Training MS Access 2007
crespoje
 
Phd coursestatalez2datamanagement
Phd coursestatalez2datamanagementPhd coursestatalez2datamanagement
Phd coursestatalez2datamanagement
Marco Delogu
 
Data Dictionary
Data DictionaryData Dictionary
Data Dictionary
Forrester High School
 
Sql basics
Sql basicsSql basics
Sql basics
Raghu nath
 

What's hot (18)

ISDD Database Structure N5
ISDD Database Structure N5ISDD Database Structure N5
ISDD Database Structure N5
 
An extended database reverse engineering – a key for database forensic invest...
An extended database reverse engineering – a key for database forensic invest...An extended database reverse engineering – a key for database forensic invest...
An extended database reverse engineering – a key for database forensic invest...
 
Presentation dbms
Presentation dbmsPresentation dbms
Presentation dbms
 
Checking the CMS datasets
Checking the CMS datasetsChecking the CMS datasets
Checking the CMS datasets
 
L4 working with tables and data
L4 working with tables and dataL4 working with tables and data
L4 working with tables and data
 
Upstate CSCI 525 Data Mining Chapter 3
Upstate CSCI 525 Data Mining Chapter 3Upstate CSCI 525 Data Mining Chapter 3
Upstate CSCI 525 Data Mining Chapter 3
 
Electronic Databases
Electronic DatabasesElectronic Databases
Electronic Databases
 
Ijebea14 228
Ijebea14 228Ijebea14 228
Ijebea14 228
 
Scoda openrefine-directordata
Scoda openrefine-directordataScoda openrefine-directordata
Scoda openrefine-directordata
 
Normalization
NormalizationNormalization
Normalization
 
MS Sql Server: Introduction To Database Concepts
MS Sql Server: Introduction To Database ConceptsMS Sql Server: Introduction To Database Concepts
MS Sql Server: Introduction To Database Concepts
 
Towards a New Data Modelling Architecture - Part 1
Towards a New Data Modelling Architecture - Part 1Towards a New Data Modelling Architecture - Part 1
Towards a New Data Modelling Architecture - Part 1
 
AtomiDB Dr Ashis Banerjee reviews
AtomiDB Dr Ashis Banerjee reviewsAtomiDB Dr Ashis Banerjee reviews
AtomiDB Dr Ashis Banerjee reviews
 
Mail merge in MS word MobView
Mail merge in MS word MobViewMail merge in MS word MobView
Mail merge in MS word MobView
 
Training MS Access 2007
Training MS Access 2007Training MS Access 2007
Training MS Access 2007
 
Phd coursestatalez2datamanagement
Phd coursestatalez2datamanagementPhd coursestatalez2datamanagement
Phd coursestatalez2datamanagement
 
Data Dictionary
Data DictionaryData Dictionary
Data Dictionary
 
Sql basics
Sql basicsSql basics
Sql basics
 

Similar to Dbms ppt

D B M S Animate
D B M S AnimateD B M S Animate
D B M S Animate
Indu George
 
2. Chapter Two.pdf
2. Chapter Two.pdf2. Chapter Two.pdf
2. Chapter Two.pdf
fikadumola
 
Introduction to DBMS(For College Seminars)
Introduction to DBMS(For College Seminars)Introduction to DBMS(For College Seminars)
Introduction to DBMS(For College Seminars)
Naman Joshi
 
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
 
Databases and its representation
Databases and its representationDatabases and its representation
Databases and its representation
Ruhull
 
DBMS (1).pptx
DBMS (1).pptxDBMS (1).pptx
DBMS (1).pptx
AbhijeetKumar422631
 
Dbms relational model
Dbms relational modelDbms relational model
Dbms relational model
Chirag vasava
 
Dbms Lec Uog 02
Dbms Lec Uog 02Dbms Lec Uog 02
Dbms Lec Uog 02
smelltulip
 
COMPUTERS Database
COMPUTERS Database COMPUTERS Database
COMPUTERS Database
Rc Os
 
INT 1010 07-3.pdf
INT 1010 07-3.pdfINT 1010 07-3.pdf
INT 1010 07-3.pdf
Luis R Castellanos
 
Basic DBMS ppt
Basic DBMS pptBasic DBMS ppt
Basic DBMS ppt
dangwalrajendra888
 
Relational database
Relational  databaseRelational  database
Relational database
amkrisha
 
Bca examination 2017 dbms
Bca examination 2017 dbmsBca examination 2017 dbms
Bca examination 2017 dbms
Anjaan Gajendra
 
RDMS AND SQL
RDMS AND SQLRDMS AND SQL
RDMS AND SQL
milanmehta7
 
DBMS
DBMSDBMS
Architecture of dbms
Architecture of dbmsArchitecture of dbms
Architecture of dbms
Surkhab Shelly
 
Dbms
DbmsDbms
Data processing
Data processingData processing
Data processing
Joseph Lagod
 
Spatial Database and Database Management System
Spatial Database and Database Management SystemSpatial Database and Database Management System
Spatial Database and Database Management System
Lal Mohammad
 
03 preprocessing
03 preprocessing03 preprocessing
03 preprocessing
purnimatm
 

Similar to Dbms ppt (20)

D B M S Animate
D B M S AnimateD B M S Animate
D B M S Animate
 
2. Chapter Two.pdf
2. Chapter Two.pdf2. Chapter Two.pdf
2. Chapter Two.pdf
 
Introduction to DBMS(For College Seminars)
Introduction to DBMS(For College Seminars)Introduction to DBMS(For College Seminars)
Introduction to DBMS(For College Seminars)
 
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,...
 
Databases and its representation
Databases and its representationDatabases and its representation
Databases and its representation
 
DBMS (1).pptx
DBMS (1).pptxDBMS (1).pptx
DBMS (1).pptx
 
Dbms relational model
Dbms relational modelDbms relational model
Dbms relational model
 
Dbms Lec Uog 02
Dbms Lec Uog 02Dbms Lec Uog 02
Dbms Lec Uog 02
 
COMPUTERS Database
COMPUTERS Database COMPUTERS Database
COMPUTERS Database
 
INT 1010 07-3.pdf
INT 1010 07-3.pdfINT 1010 07-3.pdf
INT 1010 07-3.pdf
 
Basic DBMS ppt
Basic DBMS pptBasic DBMS ppt
Basic DBMS ppt
 
Relational database
Relational  databaseRelational  database
Relational database
 
Bca examination 2017 dbms
Bca examination 2017 dbmsBca examination 2017 dbms
Bca examination 2017 dbms
 
RDMS AND SQL
RDMS AND SQLRDMS AND SQL
RDMS AND SQL
 
DBMS
DBMSDBMS
DBMS
 
Architecture of dbms
Architecture of dbmsArchitecture of dbms
Architecture of dbms
 
Dbms
DbmsDbms
Dbms
 
Data processing
Data processingData processing
Data processing
 
Spatial Database and Database Management System
Spatial Database and Database Management SystemSpatial Database and Database Management System
Spatial Database and Database Management System
 
03 preprocessing
03 preprocessing03 preprocessing
03 preprocessing
 

More from Surkhab Shelly

2020 sd college- internet of everyhing
2020 sd college- internet of everyhing2020 sd college- internet of everyhing
2020 sd college- internet of everyhing
Surkhab Shelly
 
Intro to computer
Intro to computerIntro to computer
Intro to computer
Surkhab Shelly
 
Intro to dbms
Intro to dbmsIntro to dbms
Intro to dbms
Surkhab Shelly
 
Types of keys dbms
Types of keys dbmsTypes of keys dbms
Types of keys dbms
Surkhab Shelly
 
Er model
Er modelEr model
Er model
Surkhab Shelly
 
Output devices
Output devicesOutput devices
Output devices
Surkhab Shelly
 
SQL
SQLSQL
Structured Query Language
Structured Query LanguageStructured Query Language
Structured Query Language
Surkhab Shelly
 
Types of secondary storage devices ppt
Types of secondary storage devices pptTypes of secondary storage devices ppt
Types of secondary storage devices ppt
Surkhab Shelly
 
Input devices
Input devicesInput devices
Input devices
Surkhab Shelly
 
FUNCTIONAL UNIT
FUNCTIONAL UNITFUNCTIONAL UNIT
FUNCTIONAL UNIT
Surkhab Shelly
 
TYPES OF MEMORY
TYPES OF MEMORYTYPES OF MEMORY
TYPES OF MEMORY
Surkhab Shelly
 
cyber crime
 cyber crime cyber crime
cyber crime
Surkhab Shelly
 
Fun ppt
Fun pptFun ppt
Dbms
DbmsDbms
Avl tree ppt
Avl tree pptAvl tree ppt
Avl tree ppt
Surkhab Shelly
 
7 foods-to-keep you healthy
7 foods-to-keep  you healthy7 foods-to-keep  you healthy
7 foods-to-keep you healthy
Surkhab Shelly
 

More from Surkhab Shelly (17)

2020 sd college- internet of everyhing
2020 sd college- internet of everyhing2020 sd college- internet of everyhing
2020 sd college- internet of everyhing
 
Intro to computer
Intro to computerIntro to computer
Intro to computer
 
Intro to dbms
Intro to dbmsIntro to dbms
Intro to dbms
 
Types of keys dbms
Types of keys dbmsTypes of keys dbms
Types of keys dbms
 
Er model
Er modelEr model
Er model
 
Output devices
Output devicesOutput devices
Output devices
 
SQL
SQLSQL
SQL
 
Structured Query Language
Structured Query LanguageStructured Query Language
Structured Query Language
 
Types of secondary storage devices ppt
Types of secondary storage devices pptTypes of secondary storage devices ppt
Types of secondary storage devices ppt
 
Input devices
Input devicesInput devices
Input devices
 
FUNCTIONAL UNIT
FUNCTIONAL UNITFUNCTIONAL UNIT
FUNCTIONAL UNIT
 
TYPES OF MEMORY
TYPES OF MEMORYTYPES OF MEMORY
TYPES OF MEMORY
 
cyber crime
 cyber crime cyber crime
cyber crime
 
Fun ppt
Fun pptFun ppt
Fun ppt
 
Dbms
DbmsDbms
Dbms
 
Avl tree ppt
Avl tree pptAvl tree ppt
Avl tree ppt
 
7 foods-to-keep you healthy
7 foods-to-keep  you healthy7 foods-to-keep  you healthy
7 foods-to-keep you healthy
 

Recently uploaded

Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Zilliz
 
Large Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial ApplicationsLarge Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial Applications
Rohit Gautam
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Zilliz
 
Data structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdfData structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdf
TIPNGVN2
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
Neo4j
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
James Anderson
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
SOFTTECHHUB
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 

Recently uploaded (20)

Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...
 
Large Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial ApplicationsLarge Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial Applications
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
 
Data structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdfData structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdf
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 

Dbms ppt

  • 1. PT MOHAN LAL SD COLLEGE FOR WOMEN , GURDASPUR Presented by :Mrs.Surkhab Shelly Astt. Prof. in computer Science Deptt.
  • 2. DATABASE :Acollection of data is referred to as database. e.g. 1.record of students storedin files 2. information stored over internet DATABASE MANAGEMENT SYSTEM: A Data Base Management System (DBMS) is a set of software programs that enables users to define, create and maintain a database. It is basically a computer based recordkeeping system (program). MySQL Microsoft Access FileMaker FoxPro
  • 3. Purpose of database : 1.It reduces DATA REDUNDANCY to a largeextent. 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
  • 4. Three levels of dataabstraction View 1 View 2 View 3 Conceptual level Physical level External level Internal Stored-acc. Account # Name Type Amount length=60 type=bytes(15) offset=0 type=bytes(20) offset=15 type=bytes(10) offset=35 type=bytes(15) offset=45 Conceptual AC_No AC_Name Type Amount numeric(15) character(20) character(10) numeric(15) View 1 AC_Name Amount View 2 AC_No AC_Name Type Amount Accountholder Manager (DBMSProgrammer) Database handler User
  • 5. Various levels of database implementation (concept ofabstraction) 1.INTERNALLEVEL(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 thedatabase manager. It is an intermediate level of databaseabstraction. •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.
  • 6. Item # Item- name Price I1 Cake 50.00 I2 Bread 9.00 I3 Biscuits 6.00 I4 Snacks 16.00 1.Relational DataModel Supp# Supp-name S1 Britannia S2 New Bakers Supp# Item# Qty- Supplie d 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 calledrelations. The user of the relational databasesystem may insert new tuples, delete tuples, and modifytuples. DATA MODELS
  • 7. S1 Britannia 20 25 10 I2 Bread 9.00 I3 Biscui 6.00 ts I4 Snacks 16.00 2. Network DataModel 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.
  • 8. S1 Britannia 20 25 10 I3 I2 Bread 9.00 Biscuits 6.00 I4 Snacks 16.00 3. Hierarchical DataModel 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.
  • 9. 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
  • 10. Normalization Normalization is a systematic way of ensuring that a database structure is suitable for general-purpose querying and free of certain undesirable characteristics that could lead to a loss of data integrity. The objectives of normalization:  Free the database of modification anomalies  Minimize redesign when extending the database structure  Make the data model more informative to users  Avoid bias towards any particular pattern of querying In general, relational databases should be normalized to the "third normal form".
  • 11. Background to Normalization: Definitions Functional Dependency: If A and B are attributes of relation R, B is functionally dependent on A (denoted A  B), if each A value is associated with precisely one B value. Or in other words, In every possible legal value of R (relation), whenever two tuple agree on their A values, they also agree on their B value. Determinant of a functional dependency refers to attribute or group of attributes on left-hand side of the arrow. e.g. in an "Employee" table that includes the attributes "Employee ID" and "Employee Date of Birth", the functional dependency {Employee ID} → {Employee Date of Birth} would hold.
  • 12. Background to Normalization: Definitions Full Functional Dependency  A and B are attributes of a relation,  B is fully dependent on A if B is functionally dependent on A but not on any proper subset of A. A functional dependency X  Y is full functional dependency if removal of any attribute A from X means that the dependency does not hold any more.
  • 13. Background to Normalization: Definitions Transitive Dependency: A transitive dependency is an indirect functional dependency. Let A, B, and C designate three distinct attributes in the relation. Suppose all three of the following conditions hold:  A → B  It is not the case that B → A  B → C Then the functional dependency A → C is a transitive dependency. The functional dependency {Book} → {Author Nationality} applies; that is, if we know the book, we know the author's nationality. Furthermore:  {Book} → {Author}  {Author} → {Author Nationality}  {Author} does not → {Book} Therefore {Book} → {Author Nationality} is a transitive dependency.
  • 14. Background to Normalization: Definitions SuperKey: A superkey is a set of columns within a table whose values can be used to uniquely identify a row. e.g. Imagine a table with the fields <Name>, <Age>, <SSN> and <Phone Extension>. This table has many possible superkeys. Three of these are <SSN>, <Phone Extension, Name> and <SSN, Name>. Of those listed, only <SSN> is a candidate key, as the others contain information not necessary to uniquely identify records A candidate key is a key that can be used to uniquely identify record. I.e., it may be used to retrieve one specific record. The primary key of a relation is a candidate key that has been designated as the main key. A foreign key is an attribute (or collection of attributes) in a relation that can be used as a key to another relation. Foreign keys link tables together to form an integrated database.