Database Architectures and the Web

Slides:



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

ICS 434 Advanced Database Systems
Chapter 9: The Client/Server Database Environment
Database Environment Pertemuan 02 Matakuliah: M0564 /Pengantar Sistem Basis Data Tahun : 2008.
Chapter 3 Database Architectures and the Web Pearson Education © 2009.
Technical Architectures
Introduction to Databases
1 Chapter 2 Database Environment Transparencies © Pearson Education Limited 1995, 2005.
1 Pertemuan 02 Database environment Matakuliah: >/ > Tahun: > Versi: >
Chapter 2 Database Environment.
Distributed Database Management Systems
Overview Distributed vs. decentralized Why distributed databases
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.
1 © Prentice Hall, 2002 The Client/Server Database Environment.
Chapter 1 Introduction to Databases
DATABASE MANAGEMENT SYSTEMS 2 ANGELITO I. CUNANAN JR.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 12 Slide 1 Distributed Systems Design 1.
The Client/Server Database Environment
Introduction to Databases Transparencies 1. ©Pearson Education 2009 Objectives Common uses of database systems. Meaning of the term database. Meaning.
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.
9/5/2012ISC329 Isabelle Bichindaritz1 Web Database Environment.
Unit – I CLIENT / SERVER ARCHITECTURE. Unit Structure  Evolution of Client/Server Architecture  Client/Server Model  Characteristics of Client/Server.
Session-8 Data Management for Decision Support
10 1 Chapter 10 Distributed Database Management Systems Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
Database Systems: Design, Implementation, and Management Tenth Edition Chapter 12 Distributed Database Management Systems.
Database Systems: Design, Implementation, and Management Ninth Edition Chapter 12 Distributed Database Management Systems.
Week 5 Lecture Distributed Database Management Systems Samuel ConnSamuel Conn, Asst Professor Suggestions for using the Lecture Slides.
The Client/Server Database Environment Ployphan Sornsuwit KPRU Ref.
Intro – Part 2 Introduction to Database Management: Ch 1 & 2.
Personal Computer - Stand- Alone Database  Database (or files) reside on a PC - on the hard disk.  Applications run on the same PC and directly access.
Database Architectures Database System Architectures Considerations – Data storage: Where do the data and DBMS reside? – Processing: Where.
Distributed DBMSs- Concept and Design Jing Luo CS 157B Dr. Lee Fall, 2003.
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.
Lecture On Introduction (DBMS) By- Jesmin Akhter Assistant Professor, IIT, Jahangirnagar University.
IT 5433 LM1. Learning Objectives Understand key terms in database Explain file processing systems List parts of a database environment Explain types of.
Pearson Education © 2014 Chapter 3 Database Architectures and the Web Transparencies.
Databases and DBMSs Todd S. Bacastow January 2005.
Database Architectures and the Web
Business System Development
Chapter 9: The Client/Server Database Environment
Database Architectures and the Web
COMSATS INSTITUTE OF INFORMATION TECHNOLOGY, VEHARI
The Client/Server Database Environment
The Client/Server Database Environment
CSC 480 Software Engineering
Database Architectures and the Web
#01 Client/Server Computing
Chapter 2 Database Environment Pearson Education © 2009.
Data, Databases, and DBMSs
Introduction to Databases Transparencies
Database Environment Transparencies
Database System Architectures
#01 Client/Server Computing
Presentation transcript:

Database Architectures and the Web Chapter 3 Database Architectures and the Web

Multi-User DBMS Architectures Teleprocessing File-server Client-server

Teleprocessing Traditional architecture Single mainframe with number of terminals attached

File-Server File-server connected to several workstations across network Database resides on file-server DBMS and applications run on each workstation Disadvantages: Significant network traffic Copy of DBMS on each workstation Concurrency, recovery and integrity control more complex

File-Server Architecture

Traditional Two-Tier Client-Server Client (tier 1) manages user interface and runs applications Server (tier 2) holds database and DBMS Advantages: wider access to existing databases increased performance possible reduction in hardware costs reduction in communication costs increased consistency

Traditional Two-Tier Client-Server

Traditional Two-Tier Client-Server

Three-Tier Client-Server Problems preventing true scalability in 2-tier: ‘Fat’ client, requiring considerable resources on client’s computer to run effectively Significant client side administration overhead 1995 - three layers proposed

Three-Tier Client-Server Advantages: ‘Thin’ client Requires less expensive hardware Application maintenance centralized Easier to modify/replace one tier without affecting others Separation business logic from database functions → easier to implement load balancing Maps naturally to Web environment

Three-Tier Client-Server

Transaction Processing Monitors (TPM) Program that controls data transfer between clients and servers in order to provide a consistent environment, particularly for Online Transaction Processing (OLTP).

TPM 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

TPM as middle tier of 3-tier client-server

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 distributed about network Disadvantages: Large amount of network traffic Full copy of DBMS required on each workstation Concurrency, recovery, and integrity control are complex

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

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

Web Services and Service-Oriented Architectures Service-Oriented Architectures (SOA) Architecture for building applications that implement business processes as sets of services Some principles built upon: Loose coupling Reusability Composability

Traditional vs. SOA Architecture

Distributed DBMSs Distributed database Logically interrelated collection of shared data physically (single database) distributed over network Distributed DBMS Software system that permits management of distributed database 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 allocated to sites Sites linked by communications network Data at each site 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 computer network System consists of data physically distributed across number of sites in 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