SlideShare a Scribd company logo
1 of 47
ADAD 1
Data Base Management System
Unit - 2
Database Models
Date:
Presented By:
Rubal Sagwal
Department of Computer Engineering
2Rubal
Contents
• Introduction to Data Models
• Hierarchical Model
• Network Model
• Relational Model
• Client/Server Architecture
• Introduction to Distributed Database
• Classification of DBMS
3
Introduction
4
Introduction
• A database can be modeled as:
• A collection of entities,
• Relationship among entities.
• An entity is an object that exists and is
distinguishable from other objects.
• Example: specific person, company, event, plant
5
Importance of Data Models
• It has relatively simple representations, usually
graphical, of complex real-world data structures.
• It facilitate interaction among the designer, the
applications programmer, and the end user.
• End-users have different views and needs for data
• Data model organizes data for various user.
6
Business Rules
• Brief, precise, and unambiguous descriptions of a
policies, procedures, or principles within a specific
organization.
• Apply to any organization that stores and uses data
to generate information.
• Description of operations that help to create and
enforce actions within that organization’s
environment.
7
Contd…
Business Rules
• Must be rendered in writing
• Must be kept up to date
• Sometimes are external to the organization
• Must be easy to understand and widely
disseminated
• Describe characteristics of the data as viewed by
the company
8
Contd…
Discovering Business Rules
• Generally, nouns translate into entities
• Verbs translate into relationships among entities
• Relationships are bi-directional
9
Data Models Helps In
• Standardize company’s view of data
• Constitute a communications tool between users
and designers
• Allow designer to understand the nature, role, and
scope of data
• Allow designer to understand business processes
• Allow designer to develop appropriate relationship
participation rules and constraints
• Promote creation of an accurate data model
10
Basic Building Blocks of Data Models
• Entity - anything about which data are to be
collected and stored
• Attribute - a characteristic of an entity
• Relationship - describes an association among
entities
• One-to-many (1:M) relationship
• Many-to-many (M:N or M:M) relationship
• One-to-one (1:1) relationship
• Constraint - a restriction placed on the data
11
Basic Building Blocks of Data Models
• Generally, nouns translate into entities
• Verbs translate into relationships among entities
• Relationships are bi-directional
12
Types of Data Models
1. Hierarchical Model
2. Network Model
3. Relational Model
13
14
1. Hierarchical Model
15
Hierarchical Model
16
• This database model organizes 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.
Hierarchical Model
17
• In hierarchical model, data is organised into tree-like
structure with one one-to-many (1:M) relationship
between two different types of data,
• For example
• One department can have many courses, many professors
and many students.
• Each parent can have many children, each child has only one
parent.
• This model was primarily used by IBM’s Information
Management Systems in the 60s and 70s, but they are
rarely seen today due to certain operational
inefficiencies.
Hierarchical Model
18
Hierarchical Model
19
• Advantages:
• Conceptual simplicity
• Data independence
• Efficiency dealing with a large database
• Disadvantages:
• Complex implementation
• Difficult to manage and lack of standards
• Lacks structural independence
• Applications programming and use complexity
• Implementation limitations (no M:N relationship)
2. Network Model
20
Network Model
21
• The network model has greater flexibility than the
hierarchical model for handling complex spatial
relationships.
• Objective of network model is to separate data
structure from physical storage, eliminate unnecessary
duplication of data with associated errors and costs.
• The Network Database Model was created for three
main purposes :
• representing a complex data relationship more effectively
• improving database performance
• imposing a database standard
Network Model
22
Network Model
• Resembles hierarchical model
• Collection of records in 1:M relationships
• Consist of:
• Relationship
• Composed of at least two record types
• Owner
• Equivalent to the hierarchical model’s parent
• Member
• Equivalent to the hierarchical model’s child
23
Network Model
• Major characteristic of this database model is that
it comprises of at least two record types ; the
owner & the member.
• An owner is a record type equivalent to the parent
type in the hierarchal database model, and the
member record type resembles the child type in
the hierarchal model.
• The network model contains logical information
such as connectivity relationships among nodes
and links, directions of links
24
Network Model – Key Terms
• A node represents an object.
• A link represents a relationship between two
nodes. Within a directed network, any link can be
bidirected (that is, able to be traversed either from
the start node to the end node or from the end
node to the start node) or undirected (that is, able
to be traversed only from the start node to the end
node).
• A path is an alternating sequence of nodes and
links, beginning and ending with nodes.
25
Network Model – Network Hierarchy
• A network hierarchy enables us to represent a network
with multiple levels of abstraction by assigning a
hierarchy level to each node.
• Nodes at adjacent levels of a network hierarchy have
parent-child relationships.
• Each node at the higher level can be the parent node
for one or more nodes at the lower level.
• Each node at the lower level can be a child node of one
node at the higher level.
• Sibling nodes are nodes that have the same parent
node.
26
Network Model
• Advantages:
• Simplicity : The network model is conceptually simple
and easy to design.
• Ability to handle more relationship types : The network
model can handle the one-to-many and many-to-many
relationships.
• Ease of data access
• Disadvantages:
• System Complexity : The structure of the network model
is very difficult to change. This type of system is very
comple.
27
3. Relational Model
28
Relational Model
• In this model, data is organized 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.
29
Relational Model
30
Relational Model
31
• Relation (file, table) is a two-dimensional table.
• Attribute (i.e. field or data item) is a column in the
table.
• Each column in the table has a unique name within that
table.
• Each column is homogeneous. Thus the entries in any
column are all of the same type (e.g. age, name,
employee-number, etc).
• Each column has a domain, the set of possible values
that can appear in that column.
• A Tuple (i.e. record) is a row in the table.
Client-Server
Architecture
32
Client-Server Architecture
• The client/server architecture was developed to
deal with computing environments in which a large
number of PCs, workstations, file servers, printers,
data base servers, Web servers, e-mail servers, and
other software and equipment are connected via a
network.
• The idea is to define specialized servers with
specific functionalities.
33
Client-Server Architecture
• For example, it is possible to connect a number of
PCs or small workstations as clients to a file server
that maintains the files of the client machines.
Another machine can be designated as a printer
server by being connected to various printers; all
print requests by the clients are forwarded to this
machine.
34
Client-Server Architecture
• A client – in this framework is typically a user machine
that provides user interface capabilities and local
processing.
• When a client requires access to additional functionality—
such as database access—that does not exist at that machine,
it connects to a server that provides the needed functionality.
• A server – is a system containing both hardware and
software that can provide services to the client
machines, such as file access, printing, archiving, or
database access.
• In general, some machines install only client software, others
only server software, and still others may include both client
and server software,
35
Client-Server Architecture
36
Distributed Database
37
Distributed Database
• In a distributed database system, the database is
stored on several computers.
• The computers in a distributed system
communicate with one another through various
communication media, such as high-speed
networks or telephone lines.
• They do not share main memory or disks. The
computers in a distributed system may vary in size
and function.
38
Distributed Database
39
Distributed Database
40
• A distributed database is basically a database that
is not limited to one system, it is spread over
different sites, i.e, on multiple computers or over a
network of computers.
• A distributed database system is located on various
sited that don’t share physical components. This
maybe required when a particular database needs
to be accessed by various users globally.
Distributed Database System
41
• Sharing data: The major advantage inbuilding a distributed
database system is the provision of an environment where
users at one site may be able to access the data residing at
other sites. For instance, in a distributed banking system,
where each branch stores data related to that branch, it is
possible for a user in one branch to access data in another
branch.
• Availability: If one site fails in a distributed system, the
remaining sites may be able to continue operating. In
particular, if data items are replicated in several sites, a
transaction needing a particular data item may find that
item in any of several sites. Thus, the failure of a site does
not necessarily imply the shutdown of the system.
• Data Recover is easy.
Object Oriented
Database Model
42
Object Oriented Data Model
43
• A data model is a logic organization of the real
world objects (entities), constraints on them, and
the relationships among objects.
• A core object-oriented data model consists of the
following basic object-oriented concepts:
1. object and object identifier: Any real world entity
is uniformly modeled as an object (associated with a
unique id: used to pinpoint an object to retrieve).
Object Oriented Data Model
44
2. Attributes and methods: every object has a state (the
set of values for the attributes of the object) and a
behavior (the set of methods - program code - which
operate on the state of the object). The state and
behavior encapsulated in an object are accessed or
invoked from outside the object only through explicit
message passing.
3. class: a means of grouping all the objects which share
the same set of attributes and methods. An object must
belong to only one class as an instance of that class
(instance-of relationship). A class is similar to an abstract
data type. A class may also be primitive (no attributes),
e.g., integer, string, Boolean.
Object Oriented Data Model
45
4. Class hierarchy and inheritance: derive a
new class (subclass) from an existing class
(superclass). The subclass inherits all the attributes
and methods of the existing class and may have
additional attributes and methods. single inheritance
(class hierarchy) vs. multiple inheritance (class
lattice).
Object Oriented Data Model
46
Thank You
ADAD 47

More Related Content

What's hot

All data models in dbms
All data models in dbmsAll data models in dbms
All data models in dbmsNaresh Kumar
 
2 database system concepts and architecture
2 database system concepts and architecture2 database system concepts and architecture
2 database system concepts and architectureKumar
 
data modeling and models
data modeling and modelsdata modeling and models
data modeling and modelssabah N
 
Fundamentals of Database ppt ch03
Fundamentals of Database ppt ch03Fundamentals of Database ppt ch03
Fundamentals of Database ppt ch03Jotham Gadot
 
Object Relational Database Management System(ORDBMS)
Object Relational Database Management System(ORDBMS)Object Relational Database Management System(ORDBMS)
Object Relational Database Management System(ORDBMS)Rabin BK
 
Relational database- Fundamentals
Relational database- FundamentalsRelational database- Fundamentals
Relational database- FundamentalsMohammed El Hedhly
 
Object Oriented Database Management System
Object Oriented Database Management SystemObject Oriented Database Management System
Object Oriented Database Management SystemAjay Jha
 
Data base management system
Data base management systemData base management system
Data base management systemNavneet Jingar
 
Homogeneous ddbms
Homogeneous ddbmsHomogeneous ddbms
Homogeneous ddbmsPooja Dixit
 
Database management systems
Database management systemsDatabase management systems
Database management systemsJoel Briza
 
Chapter 2 Relational Data Model-part1
Chapter 2 Relational Data Model-part1Chapter 2 Relational Data Model-part1
Chapter 2 Relational Data Model-part1Eddyzulham Mahluzydde
 
Basics of Object Oriented Programming
Basics of Object Oriented ProgrammingBasics of Object Oriented Programming
Basics of Object Oriented ProgrammingAbhilash Nair
 

What's hot (20)

Dbms slides
Dbms slidesDbms slides
Dbms slides
 
Data models
Data modelsData models
Data models
 
Databases: Normalisation
Databases: NormalisationDatabases: Normalisation
Databases: Normalisation
 
All data models in dbms
All data models in dbmsAll data models in dbms
All data models in dbms
 
2 database system concepts and architecture
2 database system concepts and architecture2 database system concepts and architecture
2 database system concepts and architecture
 
Relational databases
Relational databasesRelational databases
Relational databases
 
data modeling and models
data modeling and modelsdata modeling and models
data modeling and models
 
Data Models
Data ModelsData Models
Data Models
 
Data models
Data modelsData models
Data models
 
Fundamentals of Database ppt ch03
Fundamentals of Database ppt ch03Fundamentals of Database ppt ch03
Fundamentals of Database ppt ch03
 
Object Relational Database Management System(ORDBMS)
Object Relational Database Management System(ORDBMS)Object Relational Database Management System(ORDBMS)
Object Relational Database Management System(ORDBMS)
 
Relational database- Fundamentals
Relational database- FundamentalsRelational database- Fundamentals
Relational database- Fundamentals
 
Object Oriented Database Management System
Object Oriented Database Management SystemObject Oriented Database Management System
Object Oriented Database Management System
 
Data base management system
Data base management systemData base management system
Data base management system
 
NoSql
NoSqlNoSql
NoSql
 
Homogeneous ddbms
Homogeneous ddbmsHomogeneous ddbms
Homogeneous ddbms
 
Database management systems
Database management systemsDatabase management systems
Database management systems
 
Chapter 2 Relational Data Model-part1
Chapter 2 Relational Data Model-part1Chapter 2 Relational Data Model-part1
Chapter 2 Relational Data Model-part1
 
Data models
Data modelsData models
Data models
 
Basics of Object Oriented Programming
Basics of Object Oriented ProgrammingBasics of Object Oriented Programming
Basics of Object Oriented Programming
 

Similar to Database Models, Client-Server Architecture, Distributed Database and Classification of DBMS

Chapter-3-Lesson 1 DM/ Data-Models.ppt/pptx
Chapter-3-Lesson 1 DM/ Data-Models.ppt/pptxChapter-3-Lesson 1 DM/ Data-Models.ppt/pptx
Chapter-3-Lesson 1 DM/ Data-Models.ppt/pptxmicayaseloisa
 
Fundamentals of Database ppt ch02
Fundamentals of Database ppt ch02Fundamentals of Database ppt ch02
Fundamentals of Database ppt ch02Jotham Gadot
 
Chapter-2 Database System Concepts and Architecture
Chapter-2 Database System Concepts and ArchitectureChapter-2 Database System Concepts and Architecture
Chapter-2 Database System Concepts and ArchitectureKunal Anand
 
Data Models - Department of Computer Science & Engineering
Data Models - Department of Computer Science & EngineeringData Models - Department of Computer Science & Engineering
Data Models - Department of Computer Science & Engineeringacemindia
 
02010 ppt ch02
02010 ppt ch0202010 ppt ch02
02010 ppt ch02Hpong Js
 
Types of Database Models
Types of Database ModelsTypes of Database Models
Types of Database ModelsMurassa Gillani
 
Types of data bases
Types of data basesTypes of data bases
Types of data basesJanu Jahnavi
 
Relational Database explanation with detail.pdf
Relational Database explanation with detail.pdfRelational Database explanation with detail.pdf
Relational Database explanation with detail.pdf9wldv5h8n
 
RELATIONAL MODEL OF DATABASES AND OTHER CONCEPTS OF DATABASES​
RELATIONAL MODEL OF DATABASES AND OTHER CONCEPTS OF DATABASES​RELATIONAL MODEL OF DATABASES AND OTHER CONCEPTS OF DATABASES​
RELATIONAL MODEL OF DATABASES AND OTHER CONCEPTS OF DATABASES​EdwinJacob5
 
10 architectural design
10 architectural design10 architectural design
10 architectural designAyesha Bhatti
 
10 architectural design (1)
10 architectural design (1)10 architectural design (1)
10 architectural design (1)Ayesha Bhatti
 
01-Database Administration and Management.pdf
01-Database Administration and Management.pdf01-Database Administration and Management.pdf
01-Database Administration and Management.pdfTOUSEEQHAIDER14
 
Architectural design1
Architectural design1Architectural design1
Architectural design1Zahid Hussain
 

Similar to Database Models, Client-Server Architecture, Distributed Database and Classification of DBMS (20)

Chapter-3-Lesson 1 DM/ Data-Models.ppt/pptx
Chapter-3-Lesson 1 DM/ Data-Models.ppt/pptxChapter-3-Lesson 1 DM/ Data-Models.ppt/pptx
Chapter-3-Lesson 1 DM/ Data-Models.ppt/pptx
 
Fundamentals of Database ppt ch02
Fundamentals of Database ppt ch02Fundamentals of Database ppt ch02
Fundamentals of Database ppt ch02
 
Chapter-2 Database System Concepts and Architecture
Chapter-2 Database System Concepts and ArchitectureChapter-2 Database System Concepts and Architecture
Chapter-2 Database System Concepts and Architecture
 
Mis assignment (database)
Mis assignment (database)Mis assignment (database)
Mis assignment (database)
 
Data Models - Department of Computer Science & Engineering
Data Models - Department of Computer Science & EngineeringData Models - Department of Computer Science & Engineering
Data Models - Department of Computer Science & Engineering
 
02010 ppt ch02
02010 ppt ch0202010 ppt ch02
02010 ppt ch02
 
Types of Database Models
Types of Database ModelsTypes of Database Models
Types of Database Models
 
Unit-I_dbms_TT_Final.pptx
Unit-I_dbms_TT_Final.pptxUnit-I_dbms_TT_Final.pptx
Unit-I_dbms_TT_Final.pptx
 
Types of data bases
Types of data basesTypes of data bases
Types of data bases
 
Data Models.pptx
Data Models.pptxData Models.pptx
Data Models.pptx
 
Relational Database explanation with detail.pdf
Relational Database explanation with detail.pdfRelational Database explanation with detail.pdf
Relational Database explanation with detail.pdf
 
RELATIONAL MODEL OF DATABASES AND OTHER CONCEPTS OF DATABASES​
RELATIONAL MODEL OF DATABASES AND OTHER CONCEPTS OF DATABASES​RELATIONAL MODEL OF DATABASES AND OTHER CONCEPTS OF DATABASES​
RELATIONAL MODEL OF DATABASES AND OTHER CONCEPTS OF DATABASES​
 
10 architectural design
10 architectural design10 architectural design
10 architectural design
 
10 architectural design (1)
10 architectural design (1)10 architectural design (1)
10 architectural design (1)
 
DBMS-Unit-1.pptx
DBMS-Unit-1.pptxDBMS-Unit-1.pptx
DBMS-Unit-1.pptx
 
(Dbms) class 1 & 2 (Presentation)
(Dbms) class 1 & 2 (Presentation)(Dbms) class 1 & 2 (Presentation)
(Dbms) class 1 & 2 (Presentation)
 
01-Database Administration and Management.pdf
01-Database Administration and Management.pdf01-Database Administration and Management.pdf
01-Database Administration and Management.pdf
 
DBMS
DBMS DBMS
DBMS
 
lecture5 (1) (2).pptx
lecture5 (1) (2).pptxlecture5 (1) (2).pptx
lecture5 (1) (2).pptx
 
Architectural design1
Architectural design1Architectural design1
Architectural design1
 

More from Rubal Sagwal

Introduction to Information Security
Introduction to Information SecurityIntroduction to Information Security
Introduction to Information SecurityRubal Sagwal
 
Cloud and Virtualization Security
Cloud and Virtualization SecurityCloud and Virtualization Security
Cloud and Virtualization SecurityRubal Sagwal
 
Cloud and Virtualization (Using Virtualization to form Clouds)
Cloud and Virtualization (Using Virtualization to form Clouds)Cloud and Virtualization (Using Virtualization to form Clouds)
Cloud and Virtualization (Using Virtualization to form Clouds)Rubal Sagwal
 
ER Modeling and Introduction to RDBMS
ER Modeling and Introduction to RDBMSER Modeling and Introduction to RDBMS
ER Modeling and Introduction to RDBMSRubal Sagwal
 
Overview of Data Base Systems Concepts and Architecture
Overview of Data Base Systems Concepts and ArchitectureOverview of Data Base Systems Concepts and Architecture
Overview of Data Base Systems Concepts and ArchitectureRubal Sagwal
 
Practical Implementation of Virtual Machine
Practical Implementation of Virtual MachinePractical Implementation of Virtual Machine
Practical Implementation of Virtual MachineRubal Sagwal
 
Principles of Virtualization - Introduction to Virtualization Software
Principles of Virtualization - Introduction to Virtualization Software Principles of Virtualization - Introduction to Virtualization Software
Principles of Virtualization - Introduction to Virtualization Software Rubal Sagwal
 
Accessing virtualized published applications
Accessing virtualized published applicationsAccessing virtualized published applications
Accessing virtualized published applicationsRubal Sagwal
 
Prepare and Manage Remote Applications through Virtualization
Prepare and Manage Remote Applications through Virtualization      Prepare and Manage Remote Applications through Virtualization
Prepare and Manage Remote Applications through Virtualization Rubal Sagwal
 
Managing Virtual Hard Disk and Virtual Machine Resources
Managing Virtual Hard Disk and Virtual Machine ResourcesManaging Virtual Hard Disk and Virtual Machine Resources
Managing Virtual Hard Disk and Virtual Machine ResourcesRubal Sagwal
 
Configure and Manage Virtualization on different Platforms
Configure and Manage Virtualization on different Platforms Configure and Manage Virtualization on different Platforms
Configure and Manage Virtualization on different Platforms Rubal Sagwal
 
Virtualization Uses - Server Consolidation
Virtualization Uses - Server Consolidation Virtualization Uses - Server Consolidation
Virtualization Uses - Server Consolidation Rubal Sagwal
 
Principles of virtualization
Principles of virtualizationPrinciples of virtualization
Principles of virtualizationRubal Sagwal
 
Troubleshooting Network and Network Utilities
Troubleshooting Network and Network UtilitiesTroubleshooting Network and Network Utilities
Troubleshooting Network and Network UtilitiesRubal Sagwal
 
Application Layer and Protocols
Application Layer and ProtocolsApplication Layer and Protocols
Application Layer and ProtocolsRubal Sagwal
 
Basics of Network Layer and Transport Layer
Basics of Network Layer and Transport LayerBasics of Network Layer and Transport Layer
Basics of Network Layer and Transport LayerRubal Sagwal
 
Wireless Technologies and Standards
Wireless Technologies and StandardsWireless Technologies and Standards
Wireless Technologies and StandardsRubal Sagwal
 
Ethernet, Point-to-Point Protocol, ARP
Ethernet, Point-to-Point Protocol, ARP Ethernet, Point-to-Point Protocol, ARP
Ethernet, Point-to-Point Protocol, ARP Rubal Sagwal
 
Basics of Computer Network Device
Basics of Computer Network DeviceBasics of Computer Network Device
Basics of Computer Network DeviceRubal Sagwal
 
OSI model and TCP/IP model
OSI model and TCP/IP modelOSI model and TCP/IP model
OSI model and TCP/IP modelRubal Sagwal
 

More from Rubal Sagwal (20)

Introduction to Information Security
Introduction to Information SecurityIntroduction to Information Security
Introduction to Information Security
 
Cloud and Virtualization Security
Cloud and Virtualization SecurityCloud and Virtualization Security
Cloud and Virtualization Security
 
Cloud and Virtualization (Using Virtualization to form Clouds)
Cloud and Virtualization (Using Virtualization to form Clouds)Cloud and Virtualization (Using Virtualization to form Clouds)
Cloud and Virtualization (Using Virtualization to form Clouds)
 
ER Modeling and Introduction to RDBMS
ER Modeling and Introduction to RDBMSER Modeling and Introduction to RDBMS
ER Modeling and Introduction to RDBMS
 
Overview of Data Base Systems Concepts and Architecture
Overview of Data Base Systems Concepts and ArchitectureOverview of Data Base Systems Concepts and Architecture
Overview of Data Base Systems Concepts and Architecture
 
Practical Implementation of Virtual Machine
Practical Implementation of Virtual MachinePractical Implementation of Virtual Machine
Practical Implementation of Virtual Machine
 
Principles of Virtualization - Introduction to Virtualization Software
Principles of Virtualization - Introduction to Virtualization Software Principles of Virtualization - Introduction to Virtualization Software
Principles of Virtualization - Introduction to Virtualization Software
 
Accessing virtualized published applications
Accessing virtualized published applicationsAccessing virtualized published applications
Accessing virtualized published applications
 
Prepare and Manage Remote Applications through Virtualization
Prepare and Manage Remote Applications through Virtualization      Prepare and Manage Remote Applications through Virtualization
Prepare and Manage Remote Applications through Virtualization
 
Managing Virtual Hard Disk and Virtual Machine Resources
Managing Virtual Hard Disk and Virtual Machine ResourcesManaging Virtual Hard Disk and Virtual Machine Resources
Managing Virtual Hard Disk and Virtual Machine Resources
 
Configure and Manage Virtualization on different Platforms
Configure and Manage Virtualization on different Platforms Configure and Manage Virtualization on different Platforms
Configure and Manage Virtualization on different Platforms
 
Virtualization Uses - Server Consolidation
Virtualization Uses - Server Consolidation Virtualization Uses - Server Consolidation
Virtualization Uses - Server Consolidation
 
Principles of virtualization
Principles of virtualizationPrinciples of virtualization
Principles of virtualization
 
Troubleshooting Network and Network Utilities
Troubleshooting Network and Network UtilitiesTroubleshooting Network and Network Utilities
Troubleshooting Network and Network Utilities
 
Application Layer and Protocols
Application Layer and ProtocolsApplication Layer and Protocols
Application Layer and Protocols
 
Basics of Network Layer and Transport Layer
Basics of Network Layer and Transport LayerBasics of Network Layer and Transport Layer
Basics of Network Layer and Transport Layer
 
Wireless Technologies and Standards
Wireless Technologies and StandardsWireless Technologies and Standards
Wireless Technologies and Standards
 
Ethernet, Point-to-Point Protocol, ARP
Ethernet, Point-to-Point Protocol, ARP Ethernet, Point-to-Point Protocol, ARP
Ethernet, Point-to-Point Protocol, ARP
 
Basics of Computer Network Device
Basics of Computer Network DeviceBasics of Computer Network Device
Basics of Computer Network Device
 
OSI model and TCP/IP model
OSI model and TCP/IP modelOSI model and TCP/IP model
OSI model and TCP/IP model
 

Recently uploaded

Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 

Recently uploaded (20)

Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 

Database Models, Client-Server Architecture, Distributed Database and Classification of DBMS

  • 2. Data Base Management System Unit - 2 Database Models Date: Presented By: Rubal Sagwal Department of Computer Engineering 2Rubal
  • 3. Contents • Introduction to Data Models • Hierarchical Model • Network Model • Relational Model • Client/Server Architecture • Introduction to Distributed Database • Classification of DBMS 3
  • 5. Introduction • A database can be modeled as: • A collection of entities, • Relationship among entities. • An entity is an object that exists and is distinguishable from other objects. • Example: specific person, company, event, plant 5
  • 6. Importance of Data Models • It has relatively simple representations, usually graphical, of complex real-world data structures. • It facilitate interaction among the designer, the applications programmer, and the end user. • End-users have different views and needs for data • Data model organizes data for various user. 6
  • 7. Business Rules • Brief, precise, and unambiguous descriptions of a policies, procedures, or principles within a specific organization. • Apply to any organization that stores and uses data to generate information. • Description of operations that help to create and enforce actions within that organization’s environment. 7
  • 8. Contd… Business Rules • Must be rendered in writing • Must be kept up to date • Sometimes are external to the organization • Must be easy to understand and widely disseminated • Describe characteristics of the data as viewed by the company 8
  • 9. Contd… Discovering Business Rules • Generally, nouns translate into entities • Verbs translate into relationships among entities • Relationships are bi-directional 9
  • 10. Data Models Helps In • Standardize company’s view of data • Constitute a communications tool between users and designers • Allow designer to understand the nature, role, and scope of data • Allow designer to understand business processes • Allow designer to develop appropriate relationship participation rules and constraints • Promote creation of an accurate data model 10
  • 11. Basic Building Blocks of Data Models • Entity - anything about which data are to be collected and stored • Attribute - a characteristic of an entity • Relationship - describes an association among entities • One-to-many (1:M) relationship • Many-to-many (M:N or M:M) relationship • One-to-one (1:1) relationship • Constraint - a restriction placed on the data 11
  • 12. Basic Building Blocks of Data Models • Generally, nouns translate into entities • Verbs translate into relationships among entities • Relationships are bi-directional 12
  • 13. Types of Data Models 1. Hierarchical Model 2. Network Model 3. Relational Model 13
  • 14. 14
  • 16. Hierarchical Model 16 • This database model organizes 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.
  • 17. Hierarchical Model 17 • In hierarchical model, data is organised into tree-like structure with one one-to-many (1:M) relationship between two different types of data, • For example • One department can have many courses, many professors and many students. • Each parent can have many children, each child has only one parent. • This model was primarily used by IBM’s Information Management Systems in the 60s and 70s, but they are rarely seen today due to certain operational inefficiencies.
  • 19. Hierarchical Model 19 • Advantages: • Conceptual simplicity • Data independence • Efficiency dealing with a large database • Disadvantages: • Complex implementation • Difficult to manage and lack of standards • Lacks structural independence • Applications programming and use complexity • Implementation limitations (no M:N relationship)
  • 21. Network Model 21 • The network model has greater flexibility than the hierarchical model for handling complex spatial relationships. • Objective of network model is to separate data structure from physical storage, eliminate unnecessary duplication of data with associated errors and costs. • The Network Database Model was created for three main purposes : • representing a complex data relationship more effectively • improving database performance • imposing a database standard
  • 23. Network Model • Resembles hierarchical model • Collection of records in 1:M relationships • Consist of: • Relationship • Composed of at least two record types • Owner • Equivalent to the hierarchical model’s parent • Member • Equivalent to the hierarchical model’s child 23
  • 24. Network Model • Major characteristic of this database model is that it comprises of at least two record types ; the owner & the member. • An owner is a record type equivalent to the parent type in the hierarchal database model, and the member record type resembles the child type in the hierarchal model. • The network model contains logical information such as connectivity relationships among nodes and links, directions of links 24
  • 25. Network Model – Key Terms • A node represents an object. • A link represents a relationship between two nodes. Within a directed network, any link can be bidirected (that is, able to be traversed either from the start node to the end node or from the end node to the start node) or undirected (that is, able to be traversed only from the start node to the end node). • A path is an alternating sequence of nodes and links, beginning and ending with nodes. 25
  • 26. Network Model – Network Hierarchy • A network hierarchy enables us to represent a network with multiple levels of abstraction by assigning a hierarchy level to each node. • Nodes at adjacent levels of a network hierarchy have parent-child relationships. • Each node at the higher level can be the parent node for one or more nodes at the lower level. • Each node at the lower level can be a child node of one node at the higher level. • Sibling nodes are nodes that have the same parent node. 26
  • 27. Network Model • Advantages: • Simplicity : The network model is conceptually simple and easy to design. • Ability to handle more relationship types : The network model can handle the one-to-many and many-to-many relationships. • Ease of data access • Disadvantages: • System Complexity : The structure of the network model is very difficult to change. This type of system is very comple. 27
  • 29. Relational Model • In this model, data is organized 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. 29
  • 31. Relational Model 31 • Relation (file, table) is a two-dimensional table. • Attribute (i.e. field or data item) is a column in the table. • Each column in the table has a unique name within that table. • Each column is homogeneous. Thus the entries in any column are all of the same type (e.g. age, name, employee-number, etc). • Each column has a domain, the set of possible values that can appear in that column. • A Tuple (i.e. record) is a row in the table.
  • 33. Client-Server Architecture • The client/server architecture was developed to deal with computing environments in which a large number of PCs, workstations, file servers, printers, data base servers, Web servers, e-mail servers, and other software and equipment are connected via a network. • The idea is to define specialized servers with specific functionalities. 33
  • 34. Client-Server Architecture • For example, it is possible to connect a number of PCs or small workstations as clients to a file server that maintains the files of the client machines. Another machine can be designated as a printer server by being connected to various printers; all print requests by the clients are forwarded to this machine. 34
  • 35. Client-Server Architecture • A client – in this framework is typically a user machine that provides user interface capabilities and local processing. • When a client requires access to additional functionality— such as database access—that does not exist at that machine, it connects to a server that provides the needed functionality. • A server – is a system containing both hardware and software that can provide services to the client machines, such as file access, printing, archiving, or database access. • In general, some machines install only client software, others only server software, and still others may include both client and server software, 35
  • 38. Distributed Database • In a distributed database system, the database is stored on several computers. • The computers in a distributed system communicate with one another through various communication media, such as high-speed networks or telephone lines. • They do not share main memory or disks. The computers in a distributed system may vary in size and function. 38
  • 40. Distributed Database 40 • A distributed database is basically a database that is not limited to one system, it is spread over different sites, i.e, on multiple computers or over a network of computers. • A distributed database system is located on various sited that don’t share physical components. This maybe required when a particular database needs to be accessed by various users globally.
  • 41. Distributed Database System 41 • Sharing data: The major advantage inbuilding a distributed database system is the provision of an environment where users at one site may be able to access the data residing at other sites. For instance, in a distributed banking system, where each branch stores data related to that branch, it is possible for a user in one branch to access data in another branch. • Availability: If one site fails in a distributed system, the remaining sites may be able to continue operating. In particular, if data items are replicated in several sites, a transaction needing a particular data item may find that item in any of several sites. Thus, the failure of a site does not necessarily imply the shutdown of the system. • Data Recover is easy.
  • 43. Object Oriented Data Model 43 • A data model is a logic organization of the real world objects (entities), constraints on them, and the relationships among objects. • A core object-oriented data model consists of the following basic object-oriented concepts: 1. object and object identifier: Any real world entity is uniformly modeled as an object (associated with a unique id: used to pinpoint an object to retrieve).
  • 44. Object Oriented Data Model 44 2. Attributes and methods: every object has a state (the set of values for the attributes of the object) and a behavior (the set of methods - program code - which operate on the state of the object). The state and behavior encapsulated in an object are accessed or invoked from outside the object only through explicit message passing. 3. class: a means of grouping all the objects which share the same set of attributes and methods. An object must belong to only one class as an instance of that class (instance-of relationship). A class is similar to an abstract data type. A class may also be primitive (no attributes), e.g., integer, string, Boolean.
  • 45. Object Oriented Data Model 45 4. Class hierarchy and inheritance: derive a new class (subclass) from an existing class (superclass). The subclass inherits all the attributes and methods of the existing class and may have additional attributes and methods. single inheritance (class hierarchy) vs. multiple inheritance (class lattice).