INFO2312 Chapter 3
INFO2312 Chapter 3
Chapter 3
Database Architectures and
the Web Transparencies
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Learning Objectives (1 of 2)
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Learning Objectives (2 of 2)
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Multi-User DBMS Architectures
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
File-Server
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Teleprocessing
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
File-Server Architecture
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Traditional Two-Tier Client-Server (1 of 3)
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Traditional Two-Tier Client-Server (2 of 3)
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Alternative Client-Server Topologies
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Traditional Two-Tier Client-Server (3 of 3)
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Summary of Client-Server Functions
Client Server
Manages the user interface Accepts and processes database requests from
clients
Accepts and checks syntax of user input Checks authorization
Processes application logic Ensures integrity constraints not violated
Generates database requests and transmits Performs query/update processing and transmits
to server response to client
Passes response back to user Maintains system catalog Provides concurrent
database access Provides recovery control
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Three-Tier Client-Server (1 of 3)
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Three-Tier Client-Server (2 of 3)
• Advantages:
– ‘Thin’ client, requiring less expensive hardware.
– Application maintenance centralized.
– Easier to modify or replace one tier without affecting
others.
– Separating business logic from database functions
makes it easier to implement load balancing.
– Maps quite naturally to Web environment.
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Three-Tier Client-Server (3 of 3)
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
n-Tier Client-Server (e.g. 4-Tier)
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Middleware
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Cloud Computing (1 of 2)
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Transaction Processing Monitors
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Transaction Processing Monitor as Middle
Tier of 3-Tier Client-Server
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Web Services and Service-Oriented
Architectures (1 of 3)
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Web Services and Service-Oriented
Architectures (2 of 3)
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Web Services and Service-Oriented
Architectures (3 of 3)
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Service-Oriented Architectures (SOA)
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Distributed DBMSs (1 of 2)
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Distributed DBMSs (2 of 2)
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Data Warehousing
• A data warehouse was deemed the solution to meet the requirements of a
system capable of supporting decision making, receiving data from multiple
operational data sources.
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Cloud Computing (2 of 2)
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Cloud Computing – Key Characteristics (1 of 3)
• On-demand self-service
– Consumers can obtain, configure and deploy cloud
services without help from provider.
• Broad network access
– Accessible from anywhere, from any standardized
platform (e.g. desktop computers, laptops, mobile
devices).
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Cloud Computing – Key Characteristics (2 of 3)
• Resource pooling
– Provider’s computing resources are pooled to serve
multiple consumers, with different physical and virtual
resources dynamically assigned and reassigned
according to consumer demand. Examples of
resources include storage, processing, memory, and
network bandwidth.
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Cloud Computing – Key Characteristics (3 of 3)
• Rapid elasticity
– Provider’s capacity caters for customer’s spikes in
demand and reduces risk of outages and service
interruptions. Capacity can be automated to scale
rapidly based on demand.
• Measured service
– Provider uses a metering capability to measure usage
of service (e.g. storage, processing, bandwidth, and
active user accounts).
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Cloud Computing – Service Models (1 of 3)
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Cloud Computing – Service Models (2 of 3)
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Cloud Computing – Service Models (3 of 3)
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Cloud Computing – Comparison of Services
Models
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Benefits of Cloud Computing (1 of 2)
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Risks of Cloud Computing
• Network Dependency: Power outages, bandwidth issues and
service interruptions.
• System Dependency: Customer’s dependency on availability and
reliability of provider’s systems.
• Cloud Provider Dependency: Provider could became insolvent or
acquired by competitor, resulting in the service suddenly terminating.
• Lack of control: Customers unable to deploy technical or
organisational measures to safeguard the data. May result in
reduced availability, integrity, confidentiality, intervenability and
isolation.
• Lack of information on processing transparency
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Cloud-Based Database Solutions (1 of 6)
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Cloud-Based Database Solutions (2 of 6)
• DBaaS
– Offers full database functionality to application
developers.
– Provides a management layer that provides
continuous monitoring and configuring of the
database to optimized scaling, high availability, multi-
tenancy (that is, serving multiple client organizations),
and effective resource allocation in the cloud, thereby
sparing the developer from ongoing database
administration tasks.
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Cloud-Based Database Solutions (3 of 6)
• DaaS:
– Services enables data definition in the cloud and
subsequently querying.
– Does not implement typical DBMS interfaces (e.g. SQL)
but instead data is accessed via common APIs.
– Enables organization with valuable data to offer access
to others. Examples Urban Mapping (geography data
service), Xignite (financial data service) and Hoovers
(business data service.)
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Cloud-Based Database Solutions (4 of 6)
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Cloud-Based Database Solutions (5 of 6)
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Cloud-Based Database Solutions (6 of 6)
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Components of a DBMS (1 of 5)
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Components of a DBMS (2 of 5)
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Components of a DBMS (3 of 5)
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Components of a DBMS (4 of 5)
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Components of a DBMS (5 of 5)
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Components of Database Manager (DM)
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Components of the Database Manager (1 of 3)
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Components of the Database Manager (2 of 3)
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Components of the Database Manager (3 of 3)
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved
Copyright
Copyright © 2015, 2010, 2005 Pearson Education, Inc. All Rights Reserved