Data Storage and Data Processing Architectures The difficulty is in the choice George Moore, 1900.

Slides:



Advertisements
Similar presentations
Database Systems: Design, Implementation, and Management
Advertisements

Distributed Data Processing
ICS 434 Advanced Database Systems
Database Architectures and the Web
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management Dave Salisbury ( )
Chapter 13 (Web): Distributed Databases
1 Minggu 12, Pertemuan 23 Introduction to Distributed DBMS (Chapter , 22.6, 3rd ed.) Matakuliah: T0206-Sistem Basisdata Tahun: 2005 Versi: 1.0/0.0.
Database Software File Management Systems Database Management Systems.
Distributed Database Management Systems
Chapter 9 : Distributed Database.
Overview Distributed vs. decentralized Why distributed databases
12 Chapter 12 Client/Server Systems Hachim Haddouti.
Chapter 12 Distributed Database Management Systems
Definition of terms Definition of terms Explain business conditions driving distributed databases Explain business conditions driving distributed databases.
DISTRIBUTED DATABASE MANAGEMENT SYSTEM CHAPTER 07.
DATABASE MANAGEMENT SYSTEMS 2 ANGELITO I. CUNANAN JR.
Data Processing Architectures The difficulty is in the choice George Moore, 1900.
Lecture The Client/Server Database Environment
The Client/Server Database Environment
Chapter 3 Database Architectures and the Web Pearson Education © 2009.
System Architecture & Hardware Configurations Dr. D. Bilal IS 592 Spring 2005.
Database Architectures and the Web
Client/Server Databases and the Oracle 10g Relational Database
1 Distributed and Parallel Databases. 2 Distributed Databases Distributed Systems goal: –to offer local DB autonomy at geographically distributed locations.
12 1 Chapter 12 Distributed Database Management Systems Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Data Storage and Data Processing Architectures The difficulty is in the choice George Moore, 1900.
Database Architectures and the Web Session 5
Database Design – Lecture 16
Lecture On Database Analysis and Design By- Jesmin Akhter Lecturer, IIT, Jahangirnagar University.
Lecture On Database Analysis and Design By- Jesmin Akhter Lecturer, IIT, Jahangirnagar University.
Pratt & Adamski Concepts of Database Management Client/Server Systems.
Application Layer CHAPTER 2. Announcements and Outline  Administrative Items  Questions? Recap 1.Introduction to Networks 1.Network Type 2.N etwork.
9/5/2012ISC329 Isabelle Bichindaritz1 Web Database Environment.
CORE 2: Information systems and Databases CENTRALISED AND DISTRIBUTED DATABASES.
Csi315csi315 Client/Server Models. Client/Server Environment LAN or WAN Server Data Berson, Fig 1.4, p.8 clients network.
Unit – I CLIENT / SERVER ARCHITECTURE. Unit Structure  Evolution of Client/Server Architecture  Client/Server Model  Characteristics of Client/Server.
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.
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.
G063 - Distributed Databases. Learning Objectives: By the end of this topic you should be able to: explain how databases may be stored in more than one.
10 1 Chapter 10 Distributed Database Management Systems Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
Oracle's Distributed Database Bora Yasa. Definition A Distributed Database is a set of databases stored on multiple computers at different locations and.
Distributed Databases
1 Distributed Databases BUAD/American University Distributed Databases.
DISTRIBUTED DATABASES JORGE POMBAR. Overview Most businesses need to support databases at multiple sites. Most businesses need to support databases at.
INTRODUCTION TO DBS Database: a collection of data describing the activities of one or more related organizations DBMS: software designed to assist in.
Distributed database system
Topic Distributed DBMS Database Management Systems Fall 2012 Presented by: Osama Ben Omran.
Chapter 12 Distributed Data Bases. Learning Objectives What a distributed database management system (DDBMS) is and what its components are How database.
Chapter 9  Definition of terms  List advantages of client/server architecture  Explain three application components:
TM 8-1 Copyright © 1999 Addison Wesley Longman, Inc. Client/Server and Middleware.
 Distributed Database Concepts  Parallel Vs Distributed Technology  Advantages  Additional Functions  Distribution Database Design  Data Fragmentation.
Chapter 1 Database Access from Client Applications.
Chapter 2 Database Environment.
1 Chapter 22 Distributed DBMS Concepts and Design CS 157B Edward Chen.
1 Information Retrieval and Use De-normalisation and Distributed database systems Geoff Leese September 2008, revised October 2009.
System Architecture & Hardware Configurations Dr. D. Bilal IS 582 Spring 2008.
IT 5433 LM1. Learning Objectives Understand key terms in database Explain file processing systems List parts of a database environment Explain types of.
E-commerce Architecture Ayşe Başar Bener. Client Server Architecture E-commerce is based on client/ server architecture –Client processes requesting service.
1 Chapter 22 Distributed DBMSs - Concepts and Design Simplified Transparencies © Pearson Education Limited 1995, 2005.
Business System Development
The Client-Server Model
System Architecture & Hardware Configurations
The Client/Server Database Environment
System Architecture & Hardware Configurations
Tiers vs. Layers.
Presentation transcript:

Data Storage and Data Processing Architectures The difficulty is in the choice George Moore, 1900

Architectures

Remote job entry Local storage Often cheaper Maybe more secure Remote processing Useful when a personal computer is: too slow has insufficient memory software is not available Some local processing Data preparation

Personal database Local storage and processing Advantages Personal computers are cheap Greater control Friendlier interface Disadvantages Replication of applications and data Difficult to share data Security and integrity are lower Disposable systems Misdirection of attention and resources

Host/terminal Remote storage and processing Associated with mainframe computers All shared resources are managed by the host (server)

Host/terminal

LAN architectures A LAN connects computers within a geographic area Transfer speeds of up to 1,000 Mbits/sec Permits sharing of devices A server is a computer that provides and controls access to a shareable resource

File/server A central data store for users attached to a LAN Files are stored on a file/server Data is processing on users’ personal computer Entire files are transmitted on the LAN Can result in heavy LAN traffic File is locked when retrieved for update Limited to small files and low demand

File/server

DBMS/server A server runs a DBMS Only necessary records are transmitted on the LAN Less LAN traffic than file/server Back-end program on the server handles retrieval Front-end program on the client handles processing and presentation More sharing of processing than file/server

DBMS/server

Client/server File/server and DBMS/server are examples of client/server Objective is to reduce processing costs by splitting processing between clients and the server Client is typically a Web browser Savings Ease of use / fewer errors Less training

Client/Server - 2nd Generation

Three-tier model Clients Browser Application servers Mainly J2EE compliant Data servers Mainly relational database

Thick and thin clients Type of clientThickThin TechnologyLANWeb Application logicMostly on the client Mostly on the server Network loadMediumLow Data storageServer Server intelligenceMediumHigh

Advantages of the three-tier model Security is higher because logic is on the server Performance is better Access to legacy systems and a variety of databases Easier to implement and maintain

Evolution of client/server computing ArchitectureDescription Two-tierProcessing is split between client and server, which also runs the DBMS. Three-tierClient does presentation, processing is done by the server, and the DBMS is on a separate server. N-tierClient does presentation. Processing and DBMS can be spread across multiple servers. This is a distributed resources environment.

Distributed database Communication charges are a key factor in total processing cost Transmission costs increase with distance Local processing saves money A database can be distributed to reduce communication costs

Distributed database Database is physically distributed as semi- independent databases There are communication links between each of the databases Appears as one database

A hybrid Architecture evolves Old structures cannot be abandoned New technologies offer new opportunities Ideally, the many structures are patched together to provide a seamless view of organizational databases Distributed database principles apply to this hybrid architecture

Fundamental principles Transparency No reliance on a central site Local autonomy Continuous operation Distributed query processing Distributed transaction processing

Fundamental principles Replication independence Fragmentation independence Hardware independence Operating system independence Network independence DBMS independence Independence

Distributed database access Remote Request Remote Transaction Distributed Transaction Distributed Request

Remote Request A single request to a single remote site SELECT * FROM atlserver.bankdb.customer WHERE custcode = '12345';

Remote Transaction Multiple data requests to a single remote site BEGIN WORK; INSERT INTO atlserver.bankdb.account (accnum, acctype) VALUES (789, 'C'); INSERT INTO atlserver.bankdb.cust_acct (custnum, accnum) VALUES (123, 789); COMMIT WORK;

Distributed Transaction Multiple data requests to multiple sites BEGIN WORK; UPDATE atlserver.bankdb.employee SET empusdretfund = empusdretfund ; UPDATE osloserver.bankdb.employee SET empkrnretfund = empkrnretfund ; COMMIT WORK; * See notes

Distributed Request Multiple requests to multiple sites Each request can access multiple sites BEGIN WORK; INSERT INTO osloserver.bankdb.employee (empcode, emplname, …) SELECT empcode, emplname, … FROM atlserver.bankdb.employee WHERE empcode = 123; DELETE FROM atlserver.bankdb.employee WHERE empcode = 123; COMMIT WORK;

Distributed database design Horizontal Fragmentation Vertical Fragmentation Hybrid Fragmentation Replication

Horizontal fragmentation

Vertical fragmentation

Replication Full replication Tables are duplicated at each of the sites Increased data integrity Faster processing More expensive Partial replication Indexes replicated Faster querying Retrieval from the remote database

Keypoints There are four basic data processing architectures N-tier client/server dominates today Databases can be distributed to lower communication costs and improve response time