ICS 434 Advanced Database Systems

Slides:



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

Database System Concepts and Architecture
Chapter 9: The Client/Server Database Environment
Chapter 13 Review Questions
Database Architectures and the Web
Chapter 7 LAN Operating Systems LAN Software Software Compatibility Network Operating System (NOP) Architecture NOP Functions NOP Trends.
ICS (072)Database Systems: A Review1 Database Systems: A Review Dr. Muhammad Shafique.
Technical Architectures
1 Chapter 2 Database Environment Transparencies © Pearson Education Limited 1995, 2005.
Distributed Database Management Systems
Overview Distributed vs. decentralized Why distributed databases
Distributed Information Systems - The Client server model
12 Chapter 12 Client/Server Systems Hachim Haddouti.
12 Chapter 12 Client/Server Systems Database Systems: Design, Implementation, and Management, Fifth Edition, Rob and Coronel.
Chapter 12 Distributed Database Management Systems
Chapter 2 Database Environment Pearson Education © 2014.
Distributed Systems: Client/Server Computing
Client/Server Architecture
Centralized and Client/Server Architecture and Classification of DBMS
DATABASE MANAGEMENT SYSTEMS 2 ANGELITO I. CUNANAN JR.
Client-Server Processing and Distributed Databases
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.
System Architecture & Hardware Configurations Dr. D. Bilal IS 592 Spring 2005.
Database Architectures and the Web
1 Chapter 3 Database Architecture and the Web Pearson Education © 2009.
Database Architectures and the Web Session 5
Lecture On Database Analysis and Design By- Jesmin Akhter Lecturer, IIT, Jahangirnagar University.
CSC271 Database Systems Lecture # 4.
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.
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.
Mainframe (Host) - Communications - User Interface - Business Logic - DBMS - Operating System - Storage (DB Files) Terminal (Display/Keyboard) Terminal.
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.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
Oracle's Distributed Database Bora Yasa. Definition A Distributed Database is a set of databases stored on multiple computers at different locations and.
Bayu Adhi Tama, M.T.I 1 © Pearson Education Limited 1995, 2005.
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
Chapter 9  Definition of terms  List advantages of client/server architecture  Explain three application components:
Chapter 2 Database Environment.
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.
Business System Development
Database Architectures and the Web
System Architecture & Hardware Configurations
The Client/Server Database Environment
The Client/Server Database Environment
The Client/Server Database Environment
CSC 480 Software Engineering
System Architecture & Hardware Configurations
Database Architectures and the Web
#01 Client/Server Computing
Chapter 16 Designing Distributed and Internet Systems
Chapter 2 Database Environment Pearson Education © 2009.
Introduction to Databases Transparencies
Database Environment Transparencies
CMPT 354: Database System I
#01 Client/Server Computing
Presentation transcript:

ICS 434 Advanced Database Systems Dr. Abdallah Al-Sukairi sukairi@kfupm.edu.sa Second Semester 2003 - 2004 (032) King Fahd University of Petroleum & Minerals Information & Computer Science Department

Outline Client-Server Architecture The Relational Data Model: Version 2 Advanced Data Modeling Client-Server Architecture Client-Server Databases & Tools Databases on the Web The System Catalog Query Processing and Optimization Transaction Processing Concurrency Control Recovery Administration & Security Distributed Databases Database Replication Object-Oriented Databases Data Warehousing and Data Mining Other Emerging Database Technologies

3. Client-Server Architecture

Classification of DBMSs Mainframe (host-based) DBMSs PC-Based DBMSs Single user File/Server Client-Server Database Systems Distributed DBMSs

Mainframe (Host-Based) DBMSs Multi-user environment Information sharing Centralized data management Sophisticated administration and security features Advanced operating system features

PC-Based DBMSs Graphical User Interface (GUI) Ease of use Outstanding price/performance ratio Advanced communication Individual environment Increasingly powerful hardware and software RISC-based workstations Multiprocessing systems

File/Server Multi-User (LAN version) File Server PC PC PC PC PC

Client-Server Database Systems Shared Database Client Server DBMS Appl. Soft. Comm. Soft. Comm. Soft. Comm. Soft. Comm. Soft. Appl. Soft. Appl. Soft.

File/server vs. Client-Server User station Server select students with GPA > 3.0 The whole table students with GPA > 3.0 only

Why Client-Server ? Mainframe Computing Desktop Computing Client-Server computing combines the benefits of both worlds Downsizing trend Scalability Openness Enterprise-wide computing model

… Why Client-Server ? A form of distributed processing Hardware LAN Back-end Server Front-end station Software Communication software Back-end software Front-end tool Applications Client-Server Databases E-mail software GroupWare

Client-Server Database Model Front-End Application SQL Protocol Back-End Database Engine Network Protocol Network Software Network Software Network Hardware Network Hardware Physical Link User Station SQL Server Station

Components of Data-Intensive Systems Three separate types of functionality: Data management Application logic Presentation The system architecture determines whether these three components reside on a single system (“tier) or are distributed across several tiers

Single-Tier Architectures All functionality combined into a single tier, usually on a mainframe User access through dumb terminals Advantages: Easy maintenance and administration Disadvantages: Today, users expect graphical user interfaces. Centralized computation of all of them is too much for a central system

Client-Server Architectures Work division: Thin client Client implements only the graphical user interface Server implements business logic and data management Work division: Thick client Client implements both the graphical user interface and the business logic Server implements data management

Two-Tier Client/Server Architecture

Components of Client/Server Architecture Front-end application Server Back-end application Communications middleware Communications layer 14

… Client-Server Architectures Disadvantages of thick clients No central place to update the business logic Security issues: Server needs to trust clients Access control and authentication needs to be managed at the server Clients need to leave server database in consistent state One possibility: Encapsulate all database access into stored procedures Does not scale to more than several 100s of clients Large data transfer between server and client More than one server creates a problem: x clients, y servers: x*y connections

The Three Layers Presentation tier Middle tier Data management tier Primary interface to the user Needs to adapt to different display devices (PC, PDA, cell phone, voice access?) Middle tier Implements business logic (implements complex actions, maintains state between different steps of a workflow) Accesses different data management systems Data management tier One or more standard database management systems

The Three-Tier Architecture Client Program (Web Browser) Presentation tier Application Server Middle tier Database System Data management tier

Three-Tier Client/Server Architecture

Advantages of the Three-Tier Architecture Heterogeneous systems Tiers can be independently maintained, modified, and replaced Thin clients Only presentation layer at clients (web browsers) Integrated data access Several database systems can be handled transparently at the middle tier Central management of connections Scalability Replication at middle tier permits scalability of business logic Software development Code for business logic is centralized Interaction between tiers through well-defined APIs: Can reuse standard components at each tier

Example 1: Airline reservations Build a system for making airline reservations What is done in the different tiers? Database System Airline info, available seats, customer info, etc. Application Server Logic to make reservations, cancel reservations, add new airlines, etc. Client Program Log in different users, display forms and human-readable output

Example 2: Course Enrollment Build a system using which students can enroll in courses Database System Student info, course info, instructor info, course availability, pre-requisites, etc. Application Server Logic to add a course, drop a course, create a new course, etc. Client Program Log in different users (students, staff, faculty), display forms and human-readable output

Client/Server DBMS Functions Transparent data access to multiple, heterogeneous clients Allow client requests to the database server over network Process client data requests at local server Send only SQL results to clients over network 38

Summary: Advantages of Client/Server Systems Lower network traffic Improved processing distribution Thinner clients Greater processing transparency Increased network, hardware, and software transparency Improved security Decreased costs Increased scalability