Database Architectures 10. 03. 2011. Database System Architectures Considerations – Data storage: Where do the data and DBMS reside? – Processing: Where.

Slides:



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

ICS 434 Advanced Database Systems
Database Architectures and the Web
Application Architecture T H E S O C R A T E S G R O U P, I N C.
1 Chapter 2 Database Environment Transparencies © Pearson Education Limited 1995, 2005.
1 Pertemuan 02 Database environment Matakuliah: >/ > Tahun: > Versi: >
ISYS 546 Client/Server Database Application Development.
Chapter 2 Database Environment.
Distributed Information Systems - The Client server model
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
Client/Server Architecture
1 © Prentice Hall, 2002 The Client/Server Database Environment.
DATABASE MANAGEMENT SYSTEMS 2 ANGELITO I. CUNANAN JR.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 12 Slide 1 Distributed Systems Design 1.
Lecture The Client/Server Database Environment
Client/Server Computing. Information processing is distributed among several workstations and servers on a network, with each function being assigned.
The Client/Server Database Environment
Web Application Architecture: multi-tier (2-tier, 3-tier) & mvc
Chapter 2 Database System Concepts and Architecture
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 Environment 1.  Purpose of three-level database architecture.  Contents of external, conceptual, and internal levels.  Purpose of external/conceptual.
1 Web Database Processing. Web Database Applications Static Report Publishing a report is prepared from a database application and exported to HTML DB.
Database Architectures and the Web
12 1 Chapter 12 Distributed Database Management Systems Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 12 Slide 1 Distributed Systems Architectures.
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.
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.
CSS/417 Introduction to Database Management Systems Workshop 4.
The Client/Server Database Environment Ployphan Sornsuwit KPRU Ref.
Intro – Part 2 Introduction to Database Management: Ch 1 & 2.
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.
CENTRALISED AND CLIENT / SERVER DBMS. Topics To Be Discussed………………………. (A) Centralized DBMS (i) IntroductionIntroduction (ii) AdvantagesAdvantages (ii)
Bayu Adhi Tama, M.T.I 1 © Pearson Education Limited 1995, 2005.
Introduction Database integral part of our day to day life Collection of related database Database Management System : software managing and controlling.
Distributed System Architectures Yonsei University 2 nd Semester, 2014 Woo-Cheol Kim.
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.
© 2009 Pearson Education, Inc. Publishing as Prentice Hall 1 Lecture 9: The Client/Server Database Environment Modern Database Management 9 th Edition.
Business System Development
Chapter 9: The Client/Server Database Environment
Database Architectures and the Web
System Architecture & Hardware Configurations
Chapter 2 Database System Concepts and Architecture
The Client/Server Database Environment
The Client/Server Database Environment
The Client/Server Database Environment
CSC 480 Software Engineering
System Architecture & Hardware Configurations
Chapter 9: The Client/Server Database Environment
Database Architectures and the Web
Chapter 2 Database Environment Pearson Education © 2009.
Introduction to Databases Transparencies
Database Environment Transparencies
Tiers vs. Layers.
Presentation transcript:

Database Architectures

Database System Architectures Considerations – Data storage: Where do the data and DBMS reside? – Processing: Where are the application program executed (including CPU and user interface considerations)? – Business logic enforcement: Where are business rules (applications logic) enforced?

Architectures – Mainframe Architecture – Stand-Alone PC Architecture – File Sharing Architecture – Classic Client/Server Architecture – Three-Tier Client/Server Architecture

Traditional Mainframe Architecture Database (or files) resides on a mainframe computer. Applications are run on the same mainframe computer. e.g., COBOL programs or JCL scripts that access the database. Business rules are enforced in the applications running on the mainframe. Multiple users access the applications through simple terminals (e.g., IBM 3270 terminals or VT220 terminals) that have no processing power of their own. User interface is text-mode screens. Example: DB2 database and COBOL application programs running on an IBM 390.

Abbrevs Job Control Language (JCL) is a scripting language used on IBM mainframe operating systems to instruct the system on how to run a batch job or start a subsystem. The term "Job Control Language" can also be used generically to refer to all languages which perform these functions COBOL is one of the oldest programming languages. Its name is an acronym for COmmon Business-Oriented Language, defining its primary domain in business, finance, and administrative systems for companies and governments.

Mainframe Architecture Advantages: – Excellent security and control over applications – High reliability - years of proven MF technology – Relatively low incremental cost per user (just add a terminal) Disadvantages: – Unable to effectively serve advanced user interfaces – Users unable to effectively manipulate data outside of standard applications

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. Example: MS Access running on a PC.

File Sharing Architecture PCs are connected to a local area network (LAN). A single file server stores a single copy of the database files. PCs on the LAN map a drive letter (or volume name) on the file server. 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.

File Sharing Architecture Example: Sharing MS Access files on a file server. Advantages: – 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

Classic Client/Server Architecture Client machines: – Run own copy of an operating system. – Run one or more applications using the client machine's CPU, memory. – Application communicates with DBMS server running on server machine through a Database Driver – Database driver (middleware) makes a connection to the DBMS server over a network. – Examples of clients: PCs with MS Windows operating system. Forms and reports developed in: PowerBuilder, Centura, MS Access, Borland Delphi, Oracle Developer/2000, MS Visual Basic, "C" or "C++", etc.

Classic Client/Server Architecture Server Machines: – Run own copy of an operating system. – Run a Database Management System that manages a database. – Provides a Listening daemon that accepts connections from client machines and submits transactions to DBMS on behalf of the client machines. – Examples: Sun Sparc server running UNIX operating system. RDBMS such as Oracle Server, Sybase, Informix, DB2, etc. PC with (multi user) Windows operating system

Middleware: – Small portion of software that sits between client and server. – Establishes a connection from the client to the server and passes commands (e.g., SQL) between them.

Business rules may be enforced at: 1.The client application - so called "Fat Clients". 2.Entirely on the database server - so called "Thin Clients“ 3.A Mix of both. Also called "Two Tier" or "Two Level" Client/Server Architecture

Classic Client/Server Architecture Advantages of client/server: – Processing of the entire Database System is spread out over clients and server. – DBMS can achieve high performance because it is dedicated to processing transactions (not running applications). – Client Applications can take full advantage of advanced user interfaces such as Graphical User Interfaces.

Disadvantages of client/server: – Implementation is more complex because one needs to deal with middleware and the network. – It is possible the network is not well suited for client/server communications and may become saturated. – Additional burden on DBMS server to handle concurrency control, etc. – As more business rule logic is programmed into the client side applications, they can become unwieldy. Stored procedures and triggers can help in this case.

Review: compare and contrast

Three-Tier Client Server Same general situation as traditional client/server. Difference is the enforcement of business rules (applications logic) is done in a "middle" layer. Sometimes called "application logic" server. Another option is to aggregate transactions from multiple users with a Transaction Monitor Is "web friendly". The web browser becomes the user interface on the client.

Three-Tier Client Server Advantages: – 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 Disadvantages: – System complexity - extremely complex to program and debug Security issues

Summary The database architecture is the set of specifications, rules, and processes that dictate how data is stored in a database and how data is accessed by components of a system. The database architecture describes the organization of all database objects and how they work together. It affects integrity, reliability, scalability, performance, cost, system administration complexity, etc.

Thanks