Distributed Database Design

Similar documents
Distributed Database Systems. Prof. Dr. Carl-Christian Kanne

White Paper: 1) Architecture Objectives: The primary objective of this architecture is to meet the. 2) Architecture Explanation

Client-Server Architecture & J2EE Platform Technologies Overview Ahmed K. Ezzat

Contents. Client-server and multi-tier architectures. The Java 2 Enterprise Edition (J2EE) platform

Chapter 3. Database Environment - Objectives. Multi-user DBMS Architectures. Teleprocessing. File-Server

Client/server is a network architecture that divides functions into client and server

C/S Basic Concepts. The Gartner Model. Gartner Group Model. GM: distributed presentation. GM: distributed logic. GM: remote presentation

Distributed Databases in a Nutshell

Internet Engineering: Web Application Architecture. Ali Kamandi Sharif University of Technology Fall 2007

How to Build an E-Commerce Application using J2EE. Carol McDonald Code Camp Engineer

3-Tier Architecture. 3-Tier Architecture. Prepared By. Channu Kambalyal. Page 1 of 19

Chapter Outline. Chapter 2 Distributed Information Systems Architecture. Middleware for Heterogeneous and Distributed Information Systems

What Is the Java TM 2 Platform, Enterprise Edition?

Topics. Distributed Databases. Desirable Properties. Introduction. Distributed DBMS Architectures. Types of Distributed Databases

Tutorial on Client-Server Architecture

SOFTWARE ARCHITECTURE FOR FIJI NATIONAL UNIVERSITY CAMPUS INFORMATION SYSTEMS

Understanding Application Servers

SOFT 437. Software Performance Analysis. Ch 5:Web Applications and Other Distributed Systems

ICS 434 Advanced Database Systems

Oracle WebLogic Foundation of Oracle Fusion Middleware. Lawrence Manickam Toyork Systems Inc

Distributed Objects and Components

Tier Architectures. Kathleen Durant CS 3200

Virtual machine interface. Operating system. Physical machine interface

A framework for web-based product data management using J2EE

Performance Prediction, Sizing and Capacity Planning for Distributed E-Commerce Applications

CHAPTER 2 MODELLING FOR DISTRIBUTED NETWORK SYSTEMS: THE CLIENT- SERVER MODEL

Techniques for Scaling Components of Web Application

Enterprise Application Integration

Configuration Management of Massively Scalable Systems

2012 LABVANTAGE Solutions, Inc. All Rights Reserved.

zen Platform technical white paper

Objectives. Distributed Databases and Client/Server Architecture. Distributed Database. Data Fragmentation

Technology Insight Series

How To Protect Your Computer From Being Hacked On A J2Ee Application (J2Ee) On A Pc Or Macbook Or Macintosh (Jvee) On An Ipo (J 2Ee) (Jpe) On Pc Or

Distributed Databases

RNM Reply Network Manager

IBM s Information Management System (IMS) is still one of the most popular OnLine Transaction Processing (OLTP) systems in the world with more than

WebSphere Training Outline

Distributed Systems. REK s adaptation of Prof. Claypool s adaptation of Tanenbaum s Distributed Systems Chapter 1

DISTRIBUTED AND PARALLELL DATABASE

Distributed Database Management Systems for Information Management and Access

Middleware- Driven Mobile Applications

Chapter 2 TOPOLOGY SELECTION. SYS-ED/ Computer Education Techniques, Inc.

Database Middleware and Web Services for Data Distribution and Integration in Distributed Heterogeneous Database Systems

Distributed Systems Architectures

Agenda. Enterprise Application Performance Factors. Current form of Enterprise Applications. Factors to Application Performance.

Java 2 Platform, Enterprise Edition (J2EE) Bruno Souza Java Technologist, Sun Microsystems, Inc.

ON-LINE BOOKING APPLICATION NEIL TAIT

Principles of Distributed Database Systems

Client-server 3-tier N-tier

Outline. TIM 50 - Business Information Systems. Lecture 10. Instructor: Terry Allen UC Santa Cruz 10/28/2011

E-Commerce Supply Chain Management Domain Research and Standard Architectures Kunal Chopra, Jeff Elrod, Bill Glenn, Barry Jones.

This paper was presented at the 1996 CAUSE annual conference. It is part of the proceedings of that conference, "Broadening Our Horizons:

Databases Lesson 04 Client Server Computing and Adaptation

Fax Server Cluster Configuration

Stock Trader System. Architecture Description

IT Architecture Review. ISACA Conference Fall 2003

This training is targeted at System Administrators and developers wanting to understand more about administering a WebLogic instance.

Brocade Virtual Traffic Manager and Oracle EBS 12.1 Deployment Guide

PRACTICAL ADF APPLICATION DEPLOYMENT FOR FUSION MIDDLEWARE ADMINISTRATORS

Client/Server Computing Distributed Processing, Client/Server, and Clusters

Exploring Oracle E-Business Suite Load Balancing Options. Venkat Perumal IT Convergence

Distribution transparency. Degree of transparency. Openness of distributed systems

JReport Server Deployment Scenarios

Glassfish, JAVA EE, Servlets, JSP, EJB

Distributed Systems Lecture 1 1

Oracle WebLogic Server 11g: Administration Essentials

Chapter 2 Database System Concepts and Architecture

Java EE 7: Back-End Server Application Development

Holistic Performance Analysis of J2EE Applications

Chapter 1 Introduction to Enterprise Software

25 May Code 3C3 Peeling the Layers of the 'Performance Onion John Murphy, Andrew Lee and Liam Murphy

Information Systems Analysis and Design CSC John Mylopoulos. Software Architectures Information Systems Analysis and Design CSC340

COMP5426 Parallel and Distributed Computing. Distributed Systems: Client/Server and Clusters

JEE Web Applications Jeff Zhuk

Service Oriented Architecture (SOA) An Introduction

Base One's Rich Client Architecture

LinuxWorld Conference & Expo Server Farms and XML Web Services

Converting Java EE Applications into OSGi Applications

High Availability Databases based on Oracle 10g RAC on Linux

A Generic Database Web Service

Centrata IT Management Suite 3.0

Service Oriented Architectures

Why IBM WebSphere Application Server V8.0?

Version Overview. Business value

Client-Server Applications

Net-WMS FP Net-WMS SPECIFIC TARGETED RESEARCH OR INNOVATION PROJECT. Networked Businesses. D.8.1 Networked architecture J2EE compliant

Commercial software development with the help of J2EE architecture and MVC

WEB APPLICATION DEVELOPMENT. UNIT I J2EE Platform 9

Communiqué 4. Standardized Global Content Management. Designed for World s Leading Enterprises. Industry Leading Products & Platform

Take full advantage of IBM s IDEs for end- to- end mobile development

Enterprise Applications

Distributed systems. Distributed Systems Architectures

Transcription:

Distributed Databases Distributed Database Design Distributed Database System MS MS Web Web data mm xml mm dvanced Database Systems, mod1-1, 2004 1 Advanced Database Systems, mod1-1, 2004 2 Advantages of a DS Modularity Fault Tolerance High Performance Data Sharing Low Cost Components Issues Data Distribution Exploiting Parallelism Concurrency and Recovery Distributed Queries/Transactions Security Access Control Heterogeneity

Outline Introduction Objectives of Distributed Database Design Bottom-up Approach Reference Architecture Attribute Equivalency Integration Process Top-down Approach Partitioning Allocation Replication Introduction Data is stored at several sites, each managed by a MS that can run independently. Distributed Data Independence: Users should not have to know where data is located (extends Physical and Logical Data Independence principles). Distributed Transaction Atomicity: Users should be able to write Xacts accessing multiple sites just like local Xacts. dvanced Database Systems, mod1-1, 2004 5 Advanced Database Systems, mod1-1, 2004 6 Database Management Systems, R. Ramakrishnan & J. Gehrke, Mc Graw Hill, 2002 Recent Trends Users have to be aware of where data is located, i.e., Distributed Data Independence and Distributed Transaction Atomicity are not supported. These properties are hard to support efficiently. For globally distributed sites, these properties may not even be desirable due to administrative overheads of making location of data transparent. Database Management Systems, R. Ramakrishnan & J. Gehrke, Mc Graw Hill, 2002 Types of Distributed Databases Homogeneous: Every site runs same type of MS. Heterogeneous: Different sites run different MSs (different RMSs or even nonrelational MSs). Gateway MS1 MS2 MS3

Distributed MS Architectures Client-Server QUERY lient ships query o single site. All query rocessing at server. - Thin vs. fat clients. -Set-oriented communication, client side caching. Collaborating-Server uery can span multiple ites. CLIENT CLIENT SERVER SERVER SERVER SERVER QUERY SERVER SERVER dvanced Database Systems, mod1-1, 2004 9 Databases Deepen the Web OC A common way to connect and log on to a MC Libraries of OC API function calls that let an application connect to a MS, execute SQL statement, and retrieve results. JC Java Database Connectivity: a standard in the Java platform OC-JC bridges: enable developers in non- Java environments to use JC drivers Advanced Database Systems, mod1-1, 2004 10 EEE Computer, Jan 2004, pp. 116-117 Databases Deepen the Web Tiered Model Overview Web database environments Web browser Web server Database 2 Tier & 3 Tier Middleware tier application server Centralized, non-distributed Client-server, Distributed Two-tier Distributed Three-tier Fat client terminal terminal Server terminal Mainframe terminal Thin client services

Case Study Case Study JRMP JRMP Customer Web server proprietary Data server (proprietary) messaging ERP Customer Web server jar war Data server (proprietary) messaging ERP Business logic resides on Web server Data server manages transactions and requests to the database and the ERP system Architecture affects scalability and availability. dvanced Database Systems, mod1-1, 2004 13 Call center Business logic must move to the data server. Business process changes should not cause the enterprise to rework its entire application. Advanced Database Systems, mod1-1, 2004 14 What is J2EE? J2EE Architecture J2EE provides a service-oriented infrastructure to automatically support and manage components. The enterprise developer can concentrate on application components, not the underlying services. Separation of business logic and services provide for better reuse of business logic. Business Logic service Business Logic service Applet Application Client Web JSP Servlet J2EE APIs JNDI RMI-IIOP EJB Connector EJB Connector J2EE APIs JNDI ERP

Oracle 9i OC4J Oracle9iAS s For J2EE Applet Web JSP Servlet EJB Entity beans EJB dvanced Database Systems, mod1-1, 2004 17 System Architecture High Availability Standard n-tier architecture Front end application layer load-balancer Oracle 9iAS Web Cache Cluster of stateless application servers Oracle 9iAS J2EE container Clustered database nodes Oracle 9i/RAC Shared SAN storage Fibre Channel storage Advanced Database Systems, mod1-1, 2004 18 External LAN Internal LAN Storage Network Defining EJB Technology EJB servers provide core services to components: Transaction Security Naming Persistence Life cycle Concurrency EJB technology enhances: Simplified access to services Defining EJB Technology A server component specification (for vendors) Separates and defines development roles: Component creation Application assembly Application deployment

Objectives of Distributed Design Local Processing Maximizing local processing Minimizing remote referencing Availability of distributed data Multiple copies Reliability of distributed data Master copies Workload distribution Balancing and Parallelism Cost effectiveness of storage Promises of DSs Transparent Management of Distributed and Replicated Data Reliability through Distributed Transaction Improved Performance Easier System Expansion dvanced Database Systems, mod1-1, 2004 21 Advanced Database Systems, mod1-1, 2004 22 Principles of Distributed Database Systems, M. Ozsu & P. Valduriez, Prentice Hall, 1999 Transparent Management Transparency = separation of the higher-level semantics of a system from low-level implementation issues Boston employees, Paris employees Boston projects Boston Communication Network Edmonton Edmonton employees, Edmonton projects, Paris projects Paris SF SF employees, SF projects Paris employees, Paris projects Principles of Distributed Database Systems, M. Ozsu & P. Valduriez, Prentice Hall, 1999 Transparent Management Data Independence Network (or Distribution) Transparency To hide the existence of the network Replication Transparency To hide the existence of copies Fragmentation Transparency SELECT ename, sal FROM EMP, ASG, PAY WHERE ASG.dur > 12 AND EMP.eno = ASG.eno AND PAY.title = EMP.title

Reliability thru Distributed Xact A Xact transforms a consistent database state to another consistent database state even under concurrent execution or failures. Failure atomicity Ex) failure while update Concurrency transparency Ex) calculation while update Improved Performance The case for the improved performance of distributed MSs is typically made based on two points: Data fragmentation Data localization helps better CPU and I/O services, and less data transmission Parallelism Inter-query parallelism Intra-query parallelism dvanced Database Systems, mod1-1, 2004 25 Advanced Database Systems, mod1-1, 2004 26