SlideShare a Scribd company logo
1 of 31
DBMS
UNIT I
Data
● Data is information that has been translated into a form that is efficient for movement
or processing.
● Data can be facts related to any object
Eg- your name, age, etc.
Database
● A database is a collection of information that is organized so that it can be easily be
accessed, managed and updated.
Database Management System
● DBMS provides an interface to perform various operation like database creation,storing
data in it , updating data, creating a table in the database and lot more.
● It Provides protection and security to the database. In the case of multiple user ,it also
maintains data consistency( Duplication of data)
● Contain a query language to retrieve information easily
● Eg Oracle, SQL Server , IBMDB2, Amazon Simple DB(Cloud Based)
● My Sql (freely Available)
Disadvantages of File Processing System
● Data Redundancy problem.
○ Repetition of information
○ Space utilization is more access time increases
● Atomicity Problem
○ Transaction should be fully completed
● Data isolation problem
○ Each transaction must be executed without knowing what is happening with other transaction
● Data Integrity problem
○ It refers to the overall accuracy and completeness of data in a database.
● Data inconsistency problem
○ Same data exist in different format in multiple table
○ Eg address change in one table should be reflected in other table also
Disadvantages of File Processing System
Advantages of DBMS
● Controls database redundancy: It can control data redundancy because it stores all the data in one single
database file and that recorded data is placed in the database.
● Data sharing: In DBMS, the authorized users of an organization can share the data among multiple users.
● Easily Maintenance: It can be easily maintainable due to the centralized nature of the database system.
● Reduce time: It reduces development time and maintenance need.
● Backup: It provides backup and recovery subsystems which create automatic backup of data from
hardware and software failures and restores the data if required.
● multiple user interface: It provides different types of user interfaces like graphical user interfaces,
application program interfaces
Disadvantages of DBMS
● Cost of Hardware and Software: It requires a high speed of data processor and large memory size
to run DBMS software.
● Size: It occupies a large space of disks and large memory to run them efficiently.
● Complexity: Database system creates additional complexity and requirements.
● Higher impact of failure: Failure is highly impacted the database because in most of the
organization, all the data stored in a single database and if the database is damaged due to electric
failure or database corruption then the data may be lost forever.
DBMS Architecture
● The DBMS design depends upon its architecture. The basic client/server architecture is
used to deal with a large number of PCs, web servers, database servers and other
components that are connected with networks.
● The client/server architecture consists of many PCs and a workstation which are
connected via the network.
● DBMS architecture depends upon how users are connected to the database to get their
request done.
DBMS Architecture
DBMS Architecture
1-Tier Architecture
● In this architecture, the database is directly available to the user. It means the user can directly
sit on the DBMS and uses it.
● Any changes done here will directly be done on the database itself. It doesn't provide a handy
tool for end users.
● The 1-Tier architecture is used for development of the local application, where programmers
can directly communicate with the database for the quick response.
DBMS Architecture
2-Tier Architecture
● The 2-Tier architecture is same as basic client-server. In the two-tier architecture, applications
on the client end can directly communicate with the database at the server side. For this
interaction, API's like: ODBC, JDBC are used.
● The user interfaces and application programs are run on the client-side.
● The server side is responsible to provide the functionalities like: query processing and
transaction management.
● To communicate with the DBMS, client-side application establishes a connection with the
server side.
DBMS Architecture
2-Tier Architecture
DBMS Architecture
3-Tier Architecture
DBMS Architecture
3-Tier Architecture
The 3-Tier architecture contains another layer between the client and server. In this architecture, client
can't directly communicate with the server.
● The application on the client-end interacts with an application server which further communicates
with the database system.
● End user has no idea about the existence of the database beyond the application server. The database
also has no idea about any other user beyond the application.
● The 3-Tier architecture is used in case of large web application.
Three level schema Architecture
DBMS Architecture
1. Internal Level
● The internal level has an internal schema which describes the physical storage structure
of the database.
● The internal schema is also known as a physical schema.
● It uses the physical data model. It is used to define that how the data will be stored in a
block.
● The physical level is used to describe complex low-level data structures in detail.
DBMS Architecture
2. Conceptual Level
● The conceptual schema describes the design of a database at the conceptual level. Conceptual
level is also known as logical level.
● The conceptual schema describes the structure of the whole database.
● The conceptual level describes what data are to be stored in the database and also describes
what relationship exists among those data.
● In the conceptual level, internal details such as an implementation of the data structure are
hidden.
● Programmers and database administrators work at this level.
DBMS Architecture
3. External Level
● At the external level, a database contains several schemas that sometimes called
as subschema. The subschema is used to describe the different view of the
database.
● An external schema is also known as view schema.
● Each view schema describes the database part that a particular user group is
interested and hides the remaining database from that user group.
● The view schema describes the end user interaction with database systems.
DBMS Abstraction Example:- IRCTC
How data is actually stored in the database
What data is stored in the database
Not aware of storing the user just interact with database.
DBMS Model
A Database model defines the logical design and structure of a database and defines
how data will be stored, accessed and updated in a database management system.
While the Relational Model is the most widely used database model, there are other
models too:
● Hierarchical Model
● Network Model
● Entity-relationship Model
● Relational Model
Hierarchical Model
● This database model organises data into a tree-like-structure, with a single root, to which all
the other data is linked. The hierarchy starts from the Root data, and expands like a tree,
adding child nodes to the parent nodes.
● In this model, a child node will only have a single parent node.
● This model efficiently describes many real-world relationships like index of a book, recipes
etc.
● In hierarchical model, data is organised into tree-like structure with one-to-many relationship
between two different types of data, for example, one department can have many courses,
many professors and of-course many students.
Hierarchical Model
Network Model
● This is an extension of the Hierarchical model. In this model data is organised more like a
graph, and are allowed to have more than one parent node.
● In this database model data is more related as more relationships are established in this
database model. Also, as the data is more related, hence accessing the data is also easier and
fast. This database model was used to map many-to-many data relationships.
● This was the most widely used database model, before Relational Model was introduced.
Network Model
Entity-relationship Model
● In this database model, relationships are created by dividing object of interest into entity and its
characteristics into attributes.
● Different entities are related using relationships.
● E-R Models are defined to represent the relationships into pictorial form to make it easier for
different stakeholders to understand.
● This model is good to design a database, which can then be turned into tables in relational
model(explained below).
● Let's take an example, If we have to design a School Database, then Student will be an entity with
attributes name, age, address etc. As Address is generally complex, it can be another entity with
attributes street name, pincode, city etc, and there will be a relationship between them.
Entity-relationship Model
Relational Model
● In this model, data is organised in two-dimensional tables and the relationship is maintained
by storing a common field.
● This model was introduced by E.F Codd in 1970, and since then it has been the most widely
used database model, infact, we can say the only database model used around the world.
● The basic structure of data in the relational model is tables. All the information related to a
particular type is stored in rows of that table.
● Hence, tables are also known as relations in relational model.
Relational Model
Component of ER Model
Rectangle: Represents Entity sets.
Ellipses: Attributes
Diamonds: Relationship Set
Lines: They link attributes to Entity Sets and Entity sets to Relationship Set
Double Ellipses: Multivalued Attributes
Dashed Ellipses: Derived Attributes
Double Rectangles: Weak Entity Sets
Double Lines: Total participation of an entity in a relationship set
DBMS unit 1.pptx

More Related Content

Similar to DBMS unit 1.pptx

Database.pdf
Database.pdfDatabase.pdf
Database.pdfl235546
 
CC105-REVIEWER-WEEK2-4.docx
CC105-REVIEWER-WEEK2-4.docxCC105-REVIEWER-WEEK2-4.docx
CC105-REVIEWER-WEEK2-4.docxozaixyzo
 
Database and Database Management (DBM): Health Informatics
Database and Database Management (DBM): Health InformaticsDatabase and Database Management (DBM): Health Informatics
Database and Database Management (DBM): Health InformaticsZulfiquer Ahmed Amin
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to databasegagan bhattarai
 
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 Systems.ppt
Database Management Systems.pptDatabase Management Systems.ppt
Database Management Systems.ppttahakhan699813
 
Database Management System
Database Management SystemDatabase Management System
Database Management SystemNishant Munjal
 
database management system - overview of entire dbms
database management system - overview of entire dbmsdatabase management system - overview of entire dbms
database management system - overview of entire dbmsvikramkagitapu
 
Database management system.pptx
Database management system.pptxDatabase management system.pptx
Database management system.pptxAshmitKashyap1
 
1677091759369776.pdf
1677091759369776.pdf1677091759369776.pdf
1677091759369776.pdfJanoakre
 
Unit 2 rdbms study_material
Unit 2  rdbms study_materialUnit 2  rdbms study_material
Unit 2 rdbms study_materialgayaramesh
 
9a797dbms chapter1 b.sc2
9a797dbms chapter1 b.sc29a797dbms chapter1 b.sc2
9a797dbms chapter1 b.sc2Mukund Trivedi
 
Basic Concept of Database
Basic Concept of DatabaseBasic Concept of Database
Basic Concept of DatabaseMarlon Jamera
 
Unit 1: Introduction to DBMS Unit 1 Complete
Unit 1: Introduction to DBMS Unit 1 CompleteUnit 1: Introduction to DBMS Unit 1 Complete
Unit 1: Introduction to DBMS Unit 1 CompleteRaj vardhan
 

Similar to DBMS unit 1.pptx (20)

Database Management System
Database Management SystemDatabase Management System
Database Management System
 
Database.pdf
Database.pdfDatabase.pdf
Database.pdf
 
DBMS.pptx
DBMS.pptxDBMS.pptx
DBMS.pptx
 
CC105-REVIEWER-WEEK2-4.docx
CC105-REVIEWER-WEEK2-4.docxCC105-REVIEWER-WEEK2-4.docx
CC105-REVIEWER-WEEK2-4.docx
 
Database and Database Management (DBM): Health Informatics
Database and Database Management (DBM): Health InformaticsDatabase and Database Management (DBM): Health Informatics
Database and Database Management (DBM): Health Informatics
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to database
 
Presentation on Database management system
Presentation on Database management systemPresentation on Database management system
Presentation on Database management system
 
01-database-management.pptx
01-database-management.pptx01-database-management.pptx
01-database-management.pptx
 
Database Management Systems.ppt
Database Management Systems.pptDatabase Management Systems.ppt
Database Management Systems.ppt
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
database management system - overview of entire dbms
database management system - overview of entire dbmsdatabase management system - overview of entire dbms
database management system - overview of entire dbms
 
Database management system.pptx
Database management system.pptxDatabase management system.pptx
Database management system.pptx
 
1677091759369776.pdf
1677091759369776.pdf1677091759369776.pdf
1677091759369776.pdf
 
Unit1 DBMS Introduction
Unit1 DBMS IntroductionUnit1 DBMS Introduction
Unit1 DBMS Introduction
 
Dbms quick guide
Dbms quick guideDbms quick guide
Dbms quick guide
 
DBMS
DBMS DBMS
DBMS
 
Unit 2 rdbms study_material
Unit 2  rdbms study_materialUnit 2  rdbms study_material
Unit 2 rdbms study_material
 
9a797dbms chapter1 b.sc2
9a797dbms chapter1 b.sc29a797dbms chapter1 b.sc2
9a797dbms chapter1 b.sc2
 
Basic Concept of Database
Basic Concept of DatabaseBasic Concept of Database
Basic Concept of Database
 
Unit 1: Introduction to DBMS Unit 1 Complete
Unit 1: Introduction to DBMS Unit 1 CompleteUnit 1: Introduction to DBMS Unit 1 Complete
Unit 1: Introduction to DBMS Unit 1 Complete
 

Recently uploaded

Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...tanu pandey
 
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...Delhi Call girls
 
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark WebGDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark WebJames Anderson
 
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$kojalkojal131
 
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine ServiceHot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Servicesexy call girls service in goa
 
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.soniya singh
 
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...Neha Pandey
 
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Call Girls in Nagpur High Profile
 
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...SofiyaSharma5
 
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663Call Girls Mumbai
 
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)Delhi Call girls
 
INDIVIDUAL ASSIGNMENT #3 CBG, PRESENTATION.
INDIVIDUAL ASSIGNMENT #3 CBG, PRESENTATION.INDIVIDUAL ASSIGNMENT #3 CBG, PRESENTATION.
INDIVIDUAL ASSIGNMENT #3 CBG, PRESENTATION.CarlotaBedoya1
 
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...APNIC
 
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service AvailableCall Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service AvailableSeo
 
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.soniya singh
 

Recently uploaded (20)

Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...
 
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
 
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark WebGDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
 
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
 
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine ServiceHot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
 
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
 
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
 
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
 
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
 
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
 
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
 
Russian Call Girls in %(+971524965298 )# Call Girls in Dubai
Russian Call Girls in %(+971524965298  )#  Call Girls in DubaiRussian Call Girls in %(+971524965298  )#  Call Girls in Dubai
Russian Call Girls in %(+971524965298 )# Call Girls in Dubai
 
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663
 
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
 
INDIVIDUAL ASSIGNMENT #3 CBG, PRESENTATION.
INDIVIDUAL ASSIGNMENT #3 CBG, PRESENTATION.INDIVIDUAL ASSIGNMENT #3 CBG, PRESENTATION.
INDIVIDUAL ASSIGNMENT #3 CBG, PRESENTATION.
 
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
 
VVVIP Call Girls In Connaught Place ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
VVVIP Call Girls In Connaught Place ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...VVVIP Call Girls In Connaught Place ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
VVVIP Call Girls In Connaught Place ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
 
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service AvailableCall Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
 
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
 

DBMS unit 1.pptx

  • 2. Data ● Data is information that has been translated into a form that is efficient for movement or processing. ● Data can be facts related to any object Eg- your name, age, etc.
  • 3. Database ● A database is a collection of information that is organized so that it can be easily be accessed, managed and updated.
  • 4. Database Management System ● DBMS provides an interface to perform various operation like database creation,storing data in it , updating data, creating a table in the database and lot more. ● It Provides protection and security to the database. In the case of multiple user ,it also maintains data consistency( Duplication of data) ● Contain a query language to retrieve information easily ● Eg Oracle, SQL Server , IBMDB2, Amazon Simple DB(Cloud Based) ● My Sql (freely Available)
  • 5. Disadvantages of File Processing System ● Data Redundancy problem. ○ Repetition of information ○ Space utilization is more access time increases ● Atomicity Problem ○ Transaction should be fully completed ● Data isolation problem ○ Each transaction must be executed without knowing what is happening with other transaction ● Data Integrity problem ○ It refers to the overall accuracy and completeness of data in a database. ● Data inconsistency problem ○ Same data exist in different format in multiple table ○ Eg address change in one table should be reflected in other table also
  • 6. Disadvantages of File Processing System
  • 7. Advantages of DBMS ● Controls database redundancy: It can control data redundancy because it stores all the data in one single database file and that recorded data is placed in the database. ● Data sharing: In DBMS, the authorized users of an organization can share the data among multiple users. ● Easily Maintenance: It can be easily maintainable due to the centralized nature of the database system. ● Reduce time: It reduces development time and maintenance need. ● Backup: It provides backup and recovery subsystems which create automatic backup of data from hardware and software failures and restores the data if required. ● multiple user interface: It provides different types of user interfaces like graphical user interfaces, application program interfaces
  • 8. Disadvantages of DBMS ● Cost of Hardware and Software: It requires a high speed of data processor and large memory size to run DBMS software. ● Size: It occupies a large space of disks and large memory to run them efficiently. ● Complexity: Database system creates additional complexity and requirements. ● Higher impact of failure: Failure is highly impacted the database because in most of the organization, all the data stored in a single database and if the database is damaged due to electric failure or database corruption then the data may be lost forever.
  • 9. DBMS Architecture ● The DBMS design depends upon its architecture. The basic client/server architecture is used to deal with a large number of PCs, web servers, database servers and other components that are connected with networks. ● The client/server architecture consists of many PCs and a workstation which are connected via the network. ● DBMS architecture depends upon how users are connected to the database to get their request done.
  • 11. DBMS Architecture 1-Tier Architecture ● In this architecture, the database is directly available to the user. It means the user can directly sit on the DBMS and uses it. ● Any changes done here will directly be done on the database itself. It doesn't provide a handy tool for end users. ● The 1-Tier architecture is used for development of the local application, where programmers can directly communicate with the database for the quick response.
  • 12. DBMS Architecture 2-Tier Architecture ● The 2-Tier architecture is same as basic client-server. In the two-tier architecture, applications on the client end can directly communicate with the database at the server side. For this interaction, API's like: ODBC, JDBC are used. ● The user interfaces and application programs are run on the client-side. ● The server side is responsible to provide the functionalities like: query processing and transaction management. ● To communicate with the DBMS, client-side application establishes a connection with the server side.
  • 15. DBMS Architecture 3-Tier Architecture The 3-Tier architecture contains another layer between the client and server. In this architecture, client can't directly communicate with the server. ● The application on the client-end interacts with an application server which further communicates with the database system. ● End user has no idea about the existence of the database beyond the application server. The database also has no idea about any other user beyond the application. ● The 3-Tier architecture is used in case of large web application.
  • 16. Three level schema Architecture
  • 17. DBMS Architecture 1. Internal Level ● The internal level has an internal schema which describes the physical storage structure of the database. ● The internal schema is also known as a physical schema. ● It uses the physical data model. It is used to define that how the data will be stored in a block. ● The physical level is used to describe complex low-level data structures in detail.
  • 18. DBMS Architecture 2. Conceptual Level ● The conceptual schema describes the design of a database at the conceptual level. Conceptual level is also known as logical level. ● The conceptual schema describes the structure of the whole database. ● The conceptual level describes what data are to be stored in the database and also describes what relationship exists among those data. ● In the conceptual level, internal details such as an implementation of the data structure are hidden. ● Programmers and database administrators work at this level.
  • 19. DBMS Architecture 3. External Level ● At the external level, a database contains several schemas that sometimes called as subschema. The subschema is used to describe the different view of the database. ● An external schema is also known as view schema. ● Each view schema describes the database part that a particular user group is interested and hides the remaining database from that user group. ● The view schema describes the end user interaction with database systems.
  • 20. DBMS Abstraction Example:- IRCTC How data is actually stored in the database What data is stored in the database Not aware of storing the user just interact with database.
  • 21. DBMS Model A Database model defines the logical design and structure of a database and defines how data will be stored, accessed and updated in a database management system. While the Relational Model is the most widely used database model, there are other models too: ● Hierarchical Model ● Network Model ● Entity-relationship Model ● Relational Model
  • 22. Hierarchical Model ● This database model organises data into a tree-like-structure, with a single root, to which all the other data is linked. The hierarchy starts from the Root data, and expands like a tree, adding child nodes to the parent nodes. ● In this model, a child node will only have a single parent node. ● This model efficiently describes many real-world relationships like index of a book, recipes etc. ● In hierarchical model, data is organised into tree-like structure with one-to-many relationship between two different types of data, for example, one department can have many courses, many professors and of-course many students.
  • 24. Network Model ● This is an extension of the Hierarchical model. In this model data is organised more like a graph, and are allowed to have more than one parent node. ● In this database model data is more related as more relationships are established in this database model. Also, as the data is more related, hence accessing the data is also easier and fast. This database model was used to map many-to-many data relationships. ● This was the most widely used database model, before Relational Model was introduced.
  • 26. Entity-relationship Model ● In this database model, relationships are created by dividing object of interest into entity and its characteristics into attributes. ● Different entities are related using relationships. ● E-R Models are defined to represent the relationships into pictorial form to make it easier for different stakeholders to understand. ● This model is good to design a database, which can then be turned into tables in relational model(explained below). ● Let's take an example, If we have to design a School Database, then Student will be an entity with attributes name, age, address etc. As Address is generally complex, it can be another entity with attributes street name, pincode, city etc, and there will be a relationship between them.
  • 28. Relational Model ● In this model, data is organised in two-dimensional tables and the relationship is maintained by storing a common field. ● This model was introduced by E.F Codd in 1970, and since then it has been the most widely used database model, infact, we can say the only database model used around the world. ● The basic structure of data in the relational model is tables. All the information related to a particular type is stored in rows of that table. ● Hence, tables are also known as relations in relational model.
  • 30. Component of ER Model Rectangle: Represents Entity sets. Ellipses: Attributes Diamonds: Relationship Set Lines: They link attributes to Entity Sets and Entity sets to Relationship Set Double Ellipses: Multivalued Attributes Dashed Ellipses: Derived Attributes Double Rectangles: Weak Entity Sets Double Lines: Total participation of an entity in a relationship set