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.

Slides:



Advertisements
Similar presentations
The Client/Server Database Environment
Advertisements

ICS 434 Advanced Database Systems
Chapter 9: The Client/Server Database Environment
Database Architectures and the Web
Lecturer: Sebastian Coope Ashton Building, Room G.18 COMP 201 web-page: Lecture.
Technical Architectures
1 Chapter 2 Database Environment Transparencies © Pearson Education Limited 1995, 2005.
Database Application Application logic: presentation (input /output)
Overview Explain three application components: presentation, processing, and storage Distinguish between file server, database server, 3-tier, and n-tier.
1 Database Architectures Modified from …..Modern Database Management Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden.
12 Chapter 12 Client/Server Systems Hachim Haddouti.
Chapter 12 Distributed Database Management Systems
Chapter 9: The Client/Server Database Environment
Chapter 2 Database Environment Pearson Education © 2014.
Distributed Systems: Client/Server Computing
1 © Prentice Hall, 2002 The Client/Server Database Environment.
Centralized and Client/Server Architecture and Classification of DBMS
DATABASE MANAGEMENT SYSTEMS 2 ANGELITO I. CUNANAN JR.
Lecture The Client/Server Database Environment
Client/Server Database Environment CISB344 Database 2  At the end of this chapter, you should be able to: › Define client/server systems, file server,
The Client/Server Database Environment
Chapter 9: 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
Client/Server Databases and the Oracle 10g Relational Database
12 1 Chapter 12 Distributed Database Management Systems Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
1 Chapter 3 Database Architecture and the Web Pearson Education © 2009.
Enterprise Systems MIS 181.9: Service Oriented Architecture 2 nd Semester,
1 © Prentice Hall, 2002 Chapter 8: The Client/Server Database Environment Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B. Prescott,
MBA 664 Database Management Systems Dave Salisbury ( )
Database Architectures and the Web Session 5
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.
CSC271 Database Systems Lecture # 4.
9/5/2012ISC329 Isabelle Bichindaritz1 Web Database Environment.
© 2005 by Prentice Hall 1 Chapter 9: The Client/Server Database Environment Modern Database Management 7 th Edition Jeffrey A. Hoffer, Mary B. Prescott,
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.
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.
The Client/Server Database Environment Ployphan Sornsuwit KPRU Ref.
Database Architectures Database System Architectures Considerations – Data storage: Where do the data and DBMS reside? – Processing: Where.
10 1 Chapter 10 Distributed Database Management Systems Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
Elmasri and Navathe, Fundamentals of Database Systems, Fourth Edition Copyright © 2004 Pearson Education, Inc. Slide 2-1 Data Models Data Model: A set.
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.
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.
Chapter 2 Database Environment.
CSC 480 Software Engineering Lecture 17 Nov 4, 2002.
System Architecture & Hardware Configurations Dr. D. Bilal IS 582 Spring 2008.
Database application development 1. Chapter 8 © 2013 Pearson Education, Inc. Publishing as Prentice Hall OBJECTIVES  Define terms  Explain three components.
1 LM 6 Database Applications Dr. Lei Li. Learning Objectives Explain three components of a client-server system Describe differences between a 2-tiered.
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.
© 2009 Pearson Education, Inc. Publishing as Prentice Hall 1 Lecture 9: The Client/Server Database Environment Modern Database Management 9 th Edition.
Chapter 9: The Client/Server Database Environment
Database Architectures and the Web
System Architecture & Hardware Configurations
The Client/Server Database Environment
The Client/Server Database Environment
The Client/Server Database Environment
System Architecture & Hardware Configurations
Chapter 9: The Client/Server Database Environment
Chapter 2 Database Environment Pearson Education © 2009.
Introduction to Databases Transparencies
Database Environment Transparencies
Presentation transcript:

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 the database. In such cases, the application is the DBMS.  Business rules are enforced in the applications running on the PC.  A single user accesses the applications. 2

File Server Architecture  All processing is done at the PC that requested the data  Entire files are transferred from the server to the client for processing  Problems:  Huge amount of data transfer on the network  Each client must contain full DBMS  Heavy resource demand on clients  Client DBMSs must recognize shared locks, integrity checks, etc. 3 FAT CLIENT

4 File Server Architecture FAT CLIENT

File Sharing Architecture  PCs are connected to a local area network (LAN).  A single file server stores a single copy of the database files.  Applications run on each PC on the LAN and access the same set of files on the file server. The application is also the DBMS.  Business rules are enforced in the applications - Also, the applications must handle concurrency control. Possibly by file locking.  Each user runs a copy of the same application and accesses the same files.  Example: Sharing MS Access files on a file server. 5

Advantages & Disadvantages of File Sharing Architecture  Advantages:  (limited) Ability to share data among several users  Costs of storage spread out among users  Most components are now commodity items - prices falling  Disadvantages:  Limited data sharing ability - a few users at most 6

Client/server Architecture  Client-server architecture developed as a response to the limitations of file-sharing architectures, which require tons of bandwidth and can often stall or jam a network causing it to crash. They require low shared usage and low volume of data to be transferred. In client-server architecture, the database server replaced the file server. Relational data base management systems (DBMSs) answered user queries directly. Since only specific queries were being answered, only that data was transferred instead of entire files that slow down networks. It also improved consistency in data between users, since all users had access to the same updated information. 7

8 Client / Server Architecture clients Server

Client/Server Systems  Networked computing model  Processes distributed between clients and servers  Client – Workstation (usually a PC) that requests and uses a service  Server – Computer (PC/mini/mainframe) that provides a service  For DBMS, server is a database server 9

Application Logic in Client/Sever Systems 10 Procedures, functions, programs Processing Logic  I/O processing  Business rules  Data management DBMS activities Storage Logic  Data storage/retrieval GUI Interface Presentation Logic  Input – keyboard/mouse  Output – monitor/printer

Client/Server Architectures  File Server Architecture  Database Server Architecture  Three-tier Architecture 11 Client does extensive processing Client does little processing

Two-tier Architecture  Two tier architectures consist of three components: user system interfaces, processing management, and database management. User system interface (USI) is a component of an organization’s decision support system, which includes human decision-makers. It provides a user friendly layer of communication to make requests of the server and offers multiple forms of input and output. USIs include features like display management services, sessions, text input, and dialog. Processing management includes process development, process implementation, process monitoring, and process resources services. Database management includes database and file services.  Two tier client-server design derives its name from how it distributes work between client and server. Clients access databases through the user system interface. Database management, on the server side, distributes processing between both client and server. Both tiers, the client and the server, are responsible for some of the processing management. Simply put, the client uses the user interface to make requests through database management on the server side. 12

13 Two-tier database server architecture Thinner clients DBMS only on server

Two-Tier Database Server Architectures  Client is responsible for  I/O processing logic  Some business rules logic  Server performs all data storage and access processing  DBMS is only on server 14

Advantages of Two-Tier Approach  Clients do not have to be as powerful  Greatly reduces data traffic on the network  Improved data integrity since it is all processed centrally  Improve usability though user-friendly, form-based interfaces.  Improve scalability because two tiered systems can hold up to 100 users, whereas file server architectures can only accommodate 12.  best suited to homogeneous environments for processing non-complex, non-time sensitive information.  Stored procedures  some business rules done on server 15

Advantages of Stored Procedures  Compiled SQL statements  Reduced network traffic  Improved security  Improved data integrity  Thinner clients 16

Three-tier Client/Server Architecture 17

18 Three-tier Architecture Thinnest clients Business rules on application server DBMS only on Database server

Three-Tier Architectures 19 Thin Client PC just for user interface and a little application processing. Limited or no data storage (sometimes no hard drive) GUI interface (I/O processing) Browser Business rules Web Server Data storage DBMS Client Application server Database server

Advantages of Three-Tier Architectures  Scalability Centralize applications logic (one place to make changes) Relieves clients from having to load up on applications logic (the "fat client" approach). Frees up DBMS server to efficiently process transactions  Technological flexibility  Long-term cost reduction  Better match of systems to business needs  Improved customer service  Competitive advantage  Reduced risk 20

Challenges/Disadvantages of Three-tier Architectures System complexity - extremely complex to program and debug  Security issues  High short-term costs  Tools and training  Experience  Incompatible standards  Lack of compatible end-user tools 21

Thank You 22