Database Architectures and the Web

Slides:



Advertisements
Similar presentations
Distributed Processing, Client/Server and Clusters
Advertisements

ICS 434 Advanced Database Systems
Database Architectures and the Web
Database Environment Pertemuan 02 Matakuliah: M0564 /Pengantar Sistem Basis Data Tahun : 2008.
Chapter 3 Database Architectures and the Web Pearson Education © 2009.
1 Chapter 2 Database Environment Transparencies © Pearson Education Limited 1995, 2005.
1 Pertemuan 02 Database environment Matakuliah: >/ > Tahun: > Versi: >
Chapter 2 Database Environment.
Distributed DBMSs A distributed database is a single logical database that is physically distributed to computers on a network. Homogeneous DDBMS has the.
Distributed Database Management Systems
Chapter 2 Database Environment. Agenda Three-Level ANSI-SPARC Architecture Database Languages Data Models Functions of DBMS Components of DBMS Teleprocessing.
Overview Distributed vs. decentralized Why distributed databases
Middleware Technologies compiled by: Thomas M. Cosley.
Chapter 12 Distributed Database Management Systems
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 17 Client-Server Processing, Parallel Database Processing,
Chapter 2 Database Environment Pearson Education © 2014.
DATABASE MANAGEMENT SYSTEMS 2 ANGELITO I. CUNANAN JR.
The Client/Server Database Environment
Chapter 3 Database Architectures and the Web Pearson Education © 2009.
Database Environment 1.  Purpose of three-level database architecture.  Contents of external, conceptual, and internal levels.  Purpose of external/conceptual.
Database Architectures and the Web
Database System Concepts and Architecture Lecture # 3 22 June 2012 National University of Computer and Emerging Sciences.
1 Chapter 3 Database Architecture and the Web Pearson Education © 2009.
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 12 Slide 1 Distributed Systems Architectures.
Database Architectures and the Web Session 5
Database Design – Lecture 16
Chapter 2 CIS Sungchul Hong
CSC271 Database Systems Lecture # 4.
Client Server Technologies Middleware Technologies Ganesh Panchanathan Alex Verstak.
9/5/2012ISC329 Isabelle Bichindaritz1 Web Database Environment.
Lecture 3: Sun: 16/4/1435 Distributed Computing Technologies and Middleware Lecturer/ Kawther Abas CS- 492 : Distributed system.
Unit – I CLIENT / SERVER ARCHITECTURE. Unit Structure  Evolution of Client/Server Architecture  Client/Server Model  Characteristics of Client/Server.
Week 5 Lecture Distributed Database Management Systems Samuel ConnSamuel Conn, Asst Professor Suggestions for using the Lecture Slides.
SEMINOR. INTRODUCTION 1. Middleware is connectivity software that provides a mechanism for processes to interact with other processes running on multiple.
Bayu Adhi Tama, M.T.I 1 © Pearson Education Limited 1995, 2005.
1 Pertemuan > > Matakuliah: >/ > Tahun: > Versi: >
Distributed database system
Chapter 2 Database Environment.
CSC 480 Software Engineering Lecture 17 Nov 4, 2002.
Database Environment Chapter 2. The Three-Level ANSI-SPARC Architecture External Level Conceptual Level Internal Level Physical Data.
Databases and DBMSs Todd S. Bacastow January 2005.
Database Architectures and the Web
CHAPTER 25 - Distributed Databases and Client–Server Architectures
Business System Development
REV 00 Chapter 2 Database Environment DDC DATABASE SYSTEM.
REV 00 Chapter 2 Database Environment DDC DATABASE SYSTEM.
Chapter 9: The Client/Server Database Environment
Database Architectures and the Web
The Client/Server Database Environment
Parallel and Distributed Databases
The Client/Server Database Environment
The Client/Server Database Environment
CSC 480 Software Engineering
Chapter 9: The Client/Server Database Environment
#01 Client/Server Computing
Ch > 28.4.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
Chapter 2 Database Environment Pearson Education © 2009.
Data, Databases, and DBMSs
Database Architectures and the Web Transparencies
Introduction to Databases Transparencies
Database Environment Transparencies
Tiers vs. Layers.
MANAGING DATA RESOURCES
Database Architecture
Introduction of Week 14 Return assignment 12-1
Database System Concepts and Architecture
Database System Architectures
#01 Client/Server Computing
Presentation transcript:

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

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

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

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

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

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

Summary of client–server functions

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

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

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

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

Multi-user DBMS Architectures Transaction processing monitor

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

Relationship between WSDL, UDDI, and SOAP

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

Traditional vs. SOA Architecture

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

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

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

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

Typical Architecture of a Data Warehouse

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

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

Oracle Architecture Oracle’s logical database structure Tablespaces Schemas Data blocks Extents/segments

Relationship between an Oracle Database, Tablespaces, and Datafiles

Oracle Architecture Oracle’s physical database structure Datafiles Redo log files Control files The Oracle instance Oracle processes and shared memory required to access information in the database