Presentation is loading. Please wait.

Presentation is loading. Please wait.

Database Architectures and the Web

Similar presentations


Presentation on theme: "Database Architectures and the Web"— Presentation transcript:

1 Database Architectures and the Web
Chapter 3 Database Architectures and the Web Pearson Education © 2009

2 Chapter 3 - Objectives The meaning of the client–server architecture and the advantages of this type of architecture for a DBMS The difference between two-tier, three-tier and n-tier client–server architectures The function of an application server The meaning of middleware and the different types of middleware that exist The function and uses of Transaction Processing (TP) Monitors Pearson Education © 2009

3 Chapter 3 - Objectives The purpose of a Web service and the technological standards used The meaning of service-oriented architecture (SOA) The difference between distributed DBMSs, and distributed processing The architecture of a data warehouse The software components of a DBMS About Oracle’s logical and physical structure

4 Multi-user DBMS Architectures
Teleprocessing Traditional architecture for multi-user systems One computer with a single central processing unit (CPU) and a number of terminals Put a huge burden on the central computer Downsizing Replacing expensive mainframe computers with more cost-effective networks of personal computers

5 Teleprocessing Traditional architecture.
Single mainframe with a number of terminals attached. Trend is now towards downsizing. Pearson Education © 2009

6 Multi-user DBMS Architectures
File-server architecture Processing is distributed about the network Three main disadvantages Large amount of network traffic Full copy of DBMS required on each workstation Concurrency, recovery, and integrity control are complex Multiple DBMSs can access the same files

7 File-Server Architecture
Pearson Education © 2009

8 Multi-user DBMS Architectures
Traditional two-tier client–server architecture Client process requires some resource Server provides the resource Basic separation of four main components of business application Typical interaction between client and server

9 Traditional Two-Tier Client-Server
Pearson Education © 2009

10 Summary of client–server functions

11 Multi-user DBMS Architectures
Three-tier client–server architecture User interface layer Business logic and data processing layer DBMS Many advantages over traditional two-tier or single-tier designs

12 Three-Tier Client-Server
Pearson Education © 2009

13 Multi-user DBMS Architectures
N-tier architectures Three-tier architecture can be expanded to n tiers Application servers Hosts an application programming interface (API) to expose business logic and business processes for use by other applications

14 Multi-user DBMS Architectures
Middleware Software that mediates with other software Communication among disparate applications Six main types Asynchronous Remote Procedure Call (RPC) Synchronous RPC Publish/Subscribe Message-Oriented middleware (MOM) Object-request broker (ORB) SQL-oriented data access

15 Multi-user DBMS Architectures
Transaction processing monitor Controls data transfer between clients/servers Provides a consistent environment, particularly for online transaction processing (OLTP) Significant advantages Transaction routing Managing distributed transactions Load balancing Funneling Increased reliability

16 Multi-user DBMS Architectures
Transaction processing monitor

17 Web Services and Service-Oriented Architectures
Software system that supports interoperable machine-to-machine interaction over a network No user interface Examples of Web services Uses widely accepted technologies and standards

18 Relationship between WSDL, UDDI, and SOAP

19 Web Services and Service-Oriented Architectures
Service-Oriented Architectures (SOA) Architecture for building applications that implement business processes as sets of services Published at a granularity relevant to the service consumer Loosely coupled and autonomous services Web services designed for SOA different from other Web services

20 Traditional vs. SOA Architecture

21 Distributed DBMSs Distributed database
Logically interrelated collection of shared data physically distributed over a computer network Distributed DBMS Software system that permits the management of the distributed database Makes the distribution transparent to users

22 Distributed DBMSs Characteristics of DDBMS
Collection of logically related shared data Data split into fragments Fragments may be replicated Fragments/replicas are allocated to sites Sites are linked by a communications network Data at each site is controlled by DBMS DMBS handles local apps autonomously Each DBMS in one or more global app

23 Distributed DBMSs Distributed processing
Centralized database that can be accessed over a computer network System consists of data that is physically distributed across a number of sites in the network

24 Data Warehousing Data warehouse
Consolidated/integrated view of corporate data Drawn from disparate operational data sources Range of end-user access tools capable of supporting simple to highly complex queries to support decision making Subject-oriented, integrated, time-variant, and nonvolatile

25 Typical Architecture of a Data Warehouse

26 Components of a DBMS Major components of a DBMS: Query processor
Database manager (DM) File manager DML preprocessor DDL compiler Catalog manager

27 Components of a DBMS Major software components for database manager
Authorization control Command processor Integrity checker Query optimizer Transaction manager Scheduler Recovery manager Buffer manager

28 Cloud Computing NIST definition: A model for enabling ubiquitous, convenient, on-demand network access to a shared pool of configurable computing resources (e.g. networks, servers, storage, applications, and services) that can be rapidly provisioned and released with minimal management effort or service provider interaction.”

29 Cloud Computing – Key Characteristics
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).

30 Cloud Computing – Key Characteristics
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.

31 Cloud Computing – Key Characteristics
Rapid elasticity 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 uses a metering capability to measure usage of service (e.g. storage, processing, bandwidth, and active user accounts).

32 Cloud Computing – Service Models
Software as a Service (SaaS): Software and data hosted on cloud. Accessed through using thin client interface (e.g. web browser). Consumer may be offered limited user specific application configuration settings. Examples include Salesforce.com sales management applications, NetSuite’s integrated business management software, Google’s Gmail and Cornerstone OnDemand.

33 Cloud Computing – Service Models
Platform as a Service (PaaS) Allows creation of web applications without buying/maintaining the software and underlying infrastructure. Provider manages the infrastructure including network, servers, OS and storage, while customer controls deployment of applications and possibly configuration. Examples include Salesforce.com’s Force.com, Google’s App Engine, and Microsoft’s Azure.

34 Cloud Computing – Service Models
Infrastructure as a Service (IaaS) Provider’s offer servers, storage, network and operating systems – typically a platform virtualization environment – to consumers as an on-demand service, in a single bundle and billed according to usage. A popular use of IaaS is in hosting websites. Examples Amazon’s Elastic Compute Cloud (EC2), Rackspace and GoGrid.

35 Cloud Computing – Comparison of Services Models

36 Benefits of Cloud Computing
Cost-Reduction: Avoid up-front capital expenditure. Scalability/Agility: Organisations set up resources on an as-needs basis. Improved Security: Providers can devote expertise & resources to security; not affordable by customer. Improved Reliability: Providers can devote expertise & resources on reliability of systems; not affordable by customer. Access to new technologies: Through use of provider’s systems, customers may access latest technology.

37 Benefits of Cloud Computing
Faster development: Provider’s platforms can provide many of the core services to accelerate development cycle. Large scale prototyping/load testing: Providers have the resources to enable this. More flexible working practices: Staff can access files using mobile devices. Increased competitiveness: Allows organizations to focus on their core competencies rather than their IT infrastructures.

38 Risks of Cloud Computing
Network Dependency: Power outages, bandwidth issues and service interruptions. System Dependency: 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.

39 Risks of Cloud Computing
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

40 Cloud-Based Database Solutions
As a type of Software as a Service (SaaS), cloud-based database solutions fall into two basic categories: Data as a Service (DaaS), and Database as a Service (DBaaS) Key difference between the two options is mainly how the data is managed.

41 Cloud-Based Database Solutions
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.

42 Cloud-Based Database Solutions
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.)

43 Cloud-based database solutions
Multi-tenant cloud database-shared server, separate database server process architecture.

44 Cloud-based database solutions
Multi-tenant cloud database-shared DBMS server, separate databases.

45 Cloud-based database solutions
Multi-tenant cloud database–shared database, separate schema architecture.


Download ppt "Database Architectures and the Web"

Similar presentations


Ads by Google