Concepts of Database Management Sixth Edition Chapter 9 Database Management Approaches.

Slides:



Advertisements
Similar presentations
Concepts of Database Management Seventh Edition
Advertisements

Distributed databases
Management Information Systems, Sixth Edition
Chapter 13 (Web): Distributed Databases
DATABASE Mgt. Approaches Chapter 9 “Concepts” FOSTER School of Business Acctg 420.
1 Chapter 2 Database Environment Transparencies © Pearson Education Limited 1995, 2005.
Chapter 2 Database Environment.
Distributed DBMSs A distributed database is a single logical database that is physically distributed to computers on a network. Homogeneous DDBMS has the.
Copyright 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 16 Designing.
Distributed Database Management Systems
Introduction to Web Database Processing
Introduction to Web Interface Technology (CSE2030)
1 9 Concepts of Database Management, 4 th Edition, Pratt & Adamski Chapter 9 Database Management Approaches.
Chapter 12 Distributed Database Management Systems
Chapter 2 Database Environment Pearson Education © 2014.
The University of Akron Dept of Business Technology Computer Information Systems Database Management Approaches 2440: 180 Database Concepts Instructor:
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Overview of Database Languages and Architectures.
Centralized and Client/Server Architecture and Classification of DBMS
Chapter 4 Database Management Systems. Chapter 4Slide 2 What is a Database Management System (DBMS)?  Database An organized collection of related data.
DATABASE MANAGEMENT SYSTEMS 2 ANGELITO I. CUNANAN JR.
Client-Server Processing and Distributed Databases
Chapter 3 Database Architectures and the Web Pearson Education © 2009.
Database Environment 1.  Purpose of three-level database architecture.  Contents of external, conceptual, and internal levels.  Purpose of external/conceptual.
INTRODUCTION TO WEB DATABASE PROGRAMMING
Database Architectures and the Web
Chapter 12 Designing Distributed and Internet Systems
Chapter 11 Designing Distributed and Internet Systems Modern Systems Analysis and Design Sixth Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich.
Management Information Systems, 4 th Edition 1 Chapter 8 Data and Knowledge Management.
Concepts of Database Management, Fifth Edition
Copyright © cs-tutorial.com. Introduction to Web Development In 1990 and 1991,Tim Berners-Lee created the World Wide Web at the European Laboratory for.
Databases and the Internet. Lecture Objectives Databases and the Internet Characteristics and Benefits of Internet Server-Side vs. Client-Side Special.
DATA COMMUNICATION DONE BY: ALVIN SAMPATH CARLVIN SAMPATH.
Chapter 16 The World Wide Web. 2 The Web An infrastructure of information combined and the network software used to access it Web page A document that.
16-1 The World Wide Web The Web An infrastructure of distributed information combined with software that uses networks as a vehicle to exchange that information.
CPS120: Introduction to Computer Science The World Wide Web Nell Dale John Lewis.
Database Architectures and the Web Session 5
CSC271 Database Systems Lecture # 4.
7.1 Managing Data Resources Chapter 7 Essentials of Management Information Systems, 6e Chapter 7 Managing Data Resources © 2005 by Prentice Hall.
Lecture On Introduction (DBMS) By- Jesmin Akhter Assistant Professor, IIT, Jahangirnagar University.
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.
Week 5 Lecture Distributed Database Management Systems Samuel ConnSamuel Conn, Asst Professor Suggestions for using the Lecture Slides.
1 Welcome to CSC 301 Web Programming Charles Frank.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 1 Key Concepts 1.
5 - 1 Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved.
MANAGING DATA RESOURCES ~ pertemuan 7 ~ Oleh: Ir. Abdul Hayat, MTI.
9 Systems Analysis and Design in a Changing World, Fourth Edition.
Elmasri and Navathe, Fundamentals of Database Systems, Fourth Edition Copyright © 2004 Pearson Education, Inc. Slide 2-1 Data Models Data Model: A set.
Data resource management
Chapter 2 Database System Concepts and Architecture Dr. Bernard Chen Ph.D. University of Central Arkansas.
Bayu Adhi Tama, M.T.I 1 © Pearson Education Limited 1995, 2005.
Distributed database system
Management Information Systems, 4 th Edition 1 Chapter 8 Data and Knowledge Management.
Introduction to Distributed Databases Yiwei Wu. Introduction A distributed database is a database in which portions of the database are stored on multiple.
Chapter 2 Database Environment.
1 Chapter 22 Distributed DBMS Concepts and Design CS 157B Edward Chen.
Lecture On Introduction (DBMS) By- Jesmin Akhter Assistant Professor, IIT, Jahangirnagar University.
1 Information Retrieval and Use De-normalisation and Distributed database systems Geoff Leese September 2008, revised October 2009.
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.
E-commerce Architecture Ayşe Başar Bener. Client Server Architecture E-commerce is based on client/ server architecture –Client processes requesting service.
ISC321 Database Systems I Chapter 2: Overview of Database Languages and Architectures Fall 2015 Dr. Abdullah Almutairi.
Managing Data Resources File Organization and databases for business information systems.
Management Information Systems by Prof. Park Kyung-Hye Chapter 7 (8th Week) Databases and Data Warehouses 07.
Databases (CS507) CHAPTER 2.
Concepts of Database Management Eighth Edition
Chapter 16 Designing Distributed and Internet Systems
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
MANAGING DATA RESOURCES
Presentation transcript:

Concepts of Database Management Sixth Edition Chapter 9 Database Management Approaches

Concepts of Database Management2 Objectives Describe distributed database management systems (DDBMSs) Discuss client/server systems Examine the ways databases are accessed on the Web Discuss XML and related document specification standards Define data warehouses and explain their structure and access Discuss the general concepts of object-oriented DBMSs

Concepts of Database Management3 Distributed Databases Computers at various sites Connected with communications network or network Distributed database: single logical database physically divided among networked computers Distributed database management system (DDBMS): supports and manipulates distributed databases

Concepts of Database Management4 Distributed Databases (continued) FIGURE 9-1: Communications network

Concepts of Database Management5 Distributed Databases (continued) Computers in a network communicate through messages Access delay required for every message –Fixed amount of time Communication time = access delay + (data volume / transmission rate)

Concepts of Database Management6 Characteristics of Distributed DBMSs Homogeneous DDBMS: same local DBMS at each site Heterogeneous DDBMS: at least two sites at which local DBMSs are different Shared characteristics of DDBMSs –Location transparency –Replication transparency –Fragmentation transparency

Concepts of Database Management7 Location Transparency Remote site: site other than one where user is Local site: site where user is Location transparency: users do not need to be aware of location of data in a distributed database

Concepts of Database Management8 Replication Transparency Data replication creates update problems that can lead to data inconsistencies Replication transparency: users unaware of steps taken by DDBMS to update various copies of data

Concepts of Database Management9 Fragmentation Transparency Data fragmentation: DDBMS can divide and manage a logical object among various locations under its control –Data placed at the location where it is most often accessed Fragmentation transparency: users unaware of fragmentation

Concepts of Database Management10 Fragmentation Transparency (continued) FIGURE 9-2: Premiere Products Part table data

Concepts of Database Management11 Fragmentation Transparency (continued) FIGURE 9-3: Fragmentation of Part table data by warehouse

Concepts of Database Management12 Advantages of Distributed Databases (p279) Local control of data Increased database capability System availability Improved performance

Concepts of Database Management13 Disadvantages of Distributed Databases (pp ) Update of replicated data –Primary copy More complex query processing More complex treatment of concurrent update –Local deadlock: occurs at a single site in a distributed database –Global deadlock: involves more than one site More complex recovery measures –Two-phase commit: one site acts as coordinator More difficult management of data dictionary More complex database design More complicated security and backup requirements

Concepts of Database Management14 Rules for Distributed Databases (p283) Local autonomy: no site should depend on any other site. No reliance on a central site Continuous operation Location transparency Fragmentation transparency Replication transparency Distributed query processing Distributed transaction management Hardware independence Operating system independence Network independence DBMS independence

Concepts of Database Management15 Client/Server Systems File server architecture –File server: stores user files on the network Client/server architecture –Server: computer providing data to clients Back-end processor or back-end machine –Clients: computers connected to a network and used by users to access data Front-end processor or front-end machine

Concepts of Database Management16 Client/Server Systems (continued) FIGURE 9-4: File server architecture

Concepts of Database Management17 Client/Server Systems (continued) FIGURE 9-5: Two-tier client/server architecture with DBMS

Concepts of Database Management18 Client/Server Systems (continued) Two-tier architecture –Server performs database functions –Clients perform presentation and/or business functions Fat client: performs business functions, such as calculate commission, taxes and order totals. Thin client: performs only the presentation functions, such as determining which form to display and how to format the form’s data. Three-tier architecture –Clients perform presentation functions only –Database server performs database functions –Application servers perform business functions and interface between clients and database server

Concepts of Database Management19 Client/Server Systems (continued) FIGURE 9-6: Three-tier client/server architecture

Concepts of Database Management20 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

Concepts of Database Management21 Web Access to Databases Internet and World Wide Web (or the Web) Web page: digital document on the Web Web server: A piece of software that enables a website to be viewed using HTTP. It stores Web pages. E.g. Apache HTTP server. Web client: computer requesting a Web page Each Web page has a Uniform Resource Locator (URL) Hypertext Transfer Protocol (HTTP): data communication method used to exchange data on the Internet

Concepts of Database Management22 Web Access to Databases (continued) Web browser: computer program that retrieves a Web page from a Web client and show the page on the screen (e.g. FireFox and Internet Explorer) Transmission Control Protocol/Internet Protocol (TCP/IP): standard protocol for communication on the Internet Web pages usually created using Hypertext Markup Language (HTML)

Concepts of Database Management23 Web Access to Databases (continued) FIGURE 9-7: Retrieving a Web page on the Internet

Concepts of Database Management24 Web Access to Databases (continued) Static vs. dynamic Web pages –Static Web pages: same content for all Web clients –Dynamic Web pages: content changes in response to inputs and choices from Web clients Server-side extensions or server-side scripts Client-side extensions or client-side scripts Three-tier Web-based architecture –Web clients –Web server –Database server ODBC/API (in next slide) –Open Database Connectivity / Application Program Interface

Concepts of Database Management25 Web Access to Databases (continued) FIGURE 9-8: Three-tier Web-based architecture

Concepts of Database Management26 XML HTML –Describes content and appearance of Web pages –Does not describe structure and meaning of data Extensible Markup Language (XML) –Tags can define meaning and structure of data –An XML document should begin with an XML declaration XSL: Extensible Stylesheet Language –XSLT: XSL Transformations a language for transforming XSL

Concepts of Database Management27 XML (continued) Extensible Hypertext Markup Language (XHTML) –Markup language based on XML –Stricter version of HTML Defining structure, characteristics, and relationships of data –Document Type Definition (DTD) –XML schema Presentation of data –Stylesheet

Concepts of Database Management28 XML (continued) FIGURE 9-10: XML schema for the Rate element from the Rep table

Concepts of Database Management29 XML (continued) FIGURE 9-11: Interaction among XML and related languages

Concepts of Database Management30 Data Warehouses ($) Online transaction processing (OLTP) systems –Users use transactions when interacting with an RDBMS Data warehouse –Subject-oriented, integrated, time-variant, nonvolatile collection of data in support of management’s decision-making process –Used for analysis of existing data –Resolves performance issues suffered by operational RDBMSs and OLTPs

Concepts of Database Management31 Data Warehouses (continued) FIGURE 9-12: Data warehouse architecture

Concepts of Database Management32 Data Warehouse Structure and Access Star schema –Fact table –Dimension table Online analytical processing (OLAP) software: for access to a data warehouse Data cube: a shape for visualizing a data warehouse as a multidimensional database Data mining: uncovering new knowledge, patterns, trends, and rules from data in a data warehouse

Concepts of Database Management33 Data Warehouse Structure and Access (continued) FIGURE 9-13: A star schema with four dimension tables and a central fact table

Concepts of Database Management34 Data Warehouse Structure and Access (continued) FIGURE 9-14: A data cube representation of the Part, Customer, and Time dimensions

Concepts of Database Management35 Rules for OLAP Systems Multidimensional conceptual view Transparency Accessibility Consistent reporting performance Client/server architecture Generic dimensionality

Concepts of Database Management36 Rules for OLAP Systems (continued) Dynamic sparse matrix handling Multiuser support Unrestricted, cross-dimensional operations Intuitive data manipulation Flexible reporting Unlimited dimensions and aggregation levels

Concepts of Database Management37 Object-Oriented DBMSs Complex objects: graphics, drawings, photographs, video, sound, voice mail, spreadsheets, etc. RDBMSs store complex objects using special data types –Binary large objects (BLOBs) Object-oriented DBMSs used with applications whose focus is on complex objects

Concepts of Database Management38 What Is an Object-Oriented DBMS? Object: set of related attributes along with associated actions Object-oriented database management system (OODBMS): database management system in which data and associated actions are encapsulated into objects

Concepts of Database Management39 Objects and Classes Represent each entity as an object rather than a relation List attributes vertically below object names –Follow each attribute by name of domain Objects can contain other objects An object can contain a portion of another object

Concepts of Database Management40 Methods and Messages Methods: actions defined for a class Defined during data definition process Executed when user sends a message to the object

Concepts of Database Management41 Methods and Messages (continued) FIGURE 9-22: Two methods for the Premiere Products object-oriented database

Concepts of Database Management42 Inheritance Subclass –Every occurrence of subclass is considered an occurrence of the class –Subclass inherits structure and methods of the class

Concepts of Database Management43 Unified Modeling Language (UML) Used to model all aspects of software development for object-oriented systems –Includes a way to represent database designs Class diagram: most relevant diagram type for database design –Rectangles represent classes –Lines joining classes represent relationships; called associations –Visibility symbol indicates whether other classes can view or update value in attribute

Concepts of Database Management44 Unified Modeling Language (UML) (continued) FIGURE 9-24: Class diagram for the Premiere Products database

Concepts of Database Management45 Unified Modeling Language (UML) (continued) Multiplicity: number of objects that can be related to an individual object Constraints Superclass Generalization: relationship between a superclass and a subclass

Concepts of Database Management46 Unified Modeling Language (UML) (continued) FIGURE 9-26: Class diagram with a generalization and a constraint

Concepts of Database Management47 Rules for OODBMSs Complex objects Object identity Encapsulation Information hiding Types of classes Inheritance Late binding

Concepts of Database Management48 Rules for OODBMSs (continued) Computational completeness Extensibility Persistence Performance Concurrent update support Recovery support Query facility

Concepts of Database Management49 Summary Distributed database: single logical database physically divided among computers at several sites on a network Location transparency, replication transparency, and fragmentation transparency are important characteristics of DDBMSs Two-tier client/server architecture: DBMS runs on file server and server sends only the requested data to the clients

Concepts of Database Management50 Summary (continued) Three-tier client/server architecture: clients perform presentation functions, database servers perform database functions, and application servers perform business functions Web servers interact with Web clients using HTTP and TCP/IP to display HTML Web pages Dynamic Web pages, not static Web pages, are used in e-commerce XML was developed because of need for data exchange between organizations and inability of HTML to specify structure and meaning of data

Concepts of Database Management51 Summary (continued) XHTML: markup language based on XML; stricter version of HTML Data warehouse: subject-oriented, integrated, time- variant, nonvolatile collection of data in support of management’s decision-making process Users perceive data in a data warehouse as a multidimensional database in data cube shape Data mining: uncovering new knowledge, patterns, trends, and rules from data stored in a data warehouse

Concepts of Database Management52 Summary (continued) Object-oriented DBMSs deal with data as objects –Object: set of related attributes and actions associated with the attributes –OODBMS: database management system in which data and actions that operate on the data are encapsulated into objects UML: an approach to model all aspects of software development for object-oriented systems

Chapter 9 Homework (bonus) Due: 5/16/2013 Page: 311 Premiere Products Exercises: 1, 2, 3. Concepts of Database Management53