DATABASE Mgt. Approaches Chapter 9 “Concepts” 12011 FOSTER School of Business Acctg 420.

Slides:



Advertisements
Similar presentations
ICS 434 Advanced Database Systems
Advertisements

Database Architectures and the Web
Database Management3-1 L3 Database Management Santa R. Susarapu Ph.D. Student Virginia Commonwealth University.
Lecture-7/ T. Nouf Almujally
Concepts of Database Management Seventh Edition
Distributed Databases John Ortiz. Lecture 24Distributed Databases2  Distributed Database (DDB) is a collection of interrelated databases interconnected.
Distributed databases
Chapter 13 (Web): Distributed Databases
Distributed Databases Logical next step in geographically dispersed organisations goal is to provide location transparency starting point = a set of decentralised.
Managing Data Resources
Chapter 3 Database Management
Database Software File Management Systems Database Management Systems.
The Hierarchy of Data Bit (a binary digit): a circuit that is either on or off Byte: 8 bits Character: each byte represents a character; the basic building.
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.
Database Management: Getting Data Together Chapter 14.
Distributed Database Management Systems
Overview Distributed vs. decentralized Why distributed databases
Organizing Data & Information
1 9 Concepts of Database Management, 4 th Edition, Pratt & Adamski Chapter 9 Database Management Approaches.
Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response.
Chapter 14 The Second Component: The Database.
Managing Data Resources
The University of Akron Dept of Business Technology Computer Information Systems Database Management Approaches 2440: 180 Database Concepts Instructor:
Lead Black Slide. © 2001 Business & Information Systems 2/e2 Chapter 7 Information System Data Management.
Centralized and Client/Server Architecture and Classification of DBMS
DATABASE MANAGEMENT SYSTEMS 2 ANGELITO I. CUNANAN JR.
Data Warehousing: Defined and Its Applications Pete Johnson April 2002.
Lecture The Client/Server Database Environment
The Client/Server Database Environment
IT – DBMS Concepts Relational Database Theory.
Client/Server Databases and the Oracle 10g Relational Database
Concepts of Database Management, Fifth Edition
1 Distributed and Parallel Databases. 2 Distributed Databases Distributed Systems goal: –to offer local DB autonomy at geographically distributed locations.
Database System Concepts and Architecture Lecture # 3 22 June 2012 National University of Computer and Emerging Sciences.
Chapter 5 Lecture 2. Principles of Information Systems2 Objectives Understand Data definition language (DDL) and data dictionary Learn about popular DBMSs.
Essentials of Management Information Systems, 6e Chapter 7 Managing Data Resources 7.1 © 2005 by Prentice Hall Managing Data Resources Chapter 7.
Copyright © 2003 by Prentice Hall Computers: Tools for an Information Age Chapter 13 Database Management Systems: Getting Data Together.
Module Title? DBMS Introduction to Database Management System.
The McGraw-Hill Companies, Inc Information Technology & Management Thompson Cats-Baril Chapter 3 Content Management.
1 Adapted from Pearson Prentice Hall Adapted form James A. Senn’s Information Technology, 3 rd Edition Chapter 7 Enterprise Databases and Data Warehouses.
7.1 Managing Data Resources Chapter 7 Essentials of Management Information Systems, 6e Chapter 7 Managing Data Resources © 2005 by Prentice Hall.
Concepts of Database Management Sixth Edition Chapter 9 Database Management Approaches.
Session-8 Data Management for Decision Support
Week 5 Lecture Distributed Database Management Systems Samuel ConnSamuel Conn, Asst Professor Suggestions for using the Lecture Slides.
Lead Black Slide Powered by DeSiaMore1. 2 Chapter 7 Information System Data Management.
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.
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.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
MANAGING DATA RESOURCES ~ pertemuan 7 ~ Oleh: Ir. Abdul Hayat, MTI.
Elmasri and Navathe, Fundamentals of Database Systems, Fourth Edition Copyright © 2004 Pearson Education, Inc. Slide 2-1 Data Models Data Model: A set.
Databases Illuminated
Management Information Systems, 4 th Edition 1 Chapter 8 Data and Knowledge Management.
3/6: Data Management, pt. 2 Refresh your memory Relational Data Model
© 2003 Prentice Hall, Inc.3-1 Chapter 3 Database Management Information Systems Today Leonard Jessup and Joseph Valacich.
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 Information Retrieval and Use De-normalisation and Distributed database systems Geoff Leese September 2008, revised October 2009.
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.
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.
The Client/Server Database Environment
The Client/Server Database Environment
Chapter 16 Designing Distributed and Internet Systems
MANAGING DATA RESOURCES
Database Environment Transparencies
Chapter 3 Database Management
Presentation transcript:

DATABASE Mgt. Approaches Chapter 9 “Concepts” FOSTER School of Business Acctg 420

DISTRIBUTED DATABASES Centralized data processing was dominant from the late 1960s until the mid 1980s. In the 1980s, lower priced PC became available (widespread now). PCs were placed at various sites within an organization and connected to a network. This allowed users to access data from anywhere along the network. This was the beginning of distributed processing FOSTER School of Business Acctg 420

DISTRIBUTED DATABASES Distributed database (DDB) is the database component of distributed processing. A DDB is a single logical DB that is physically distributed to computers at several sites in a computer network. A distributed database management system (DDBMS) is needed to support and manipulate DDBs FOSTER School of Business Acctg 4203

DDB A communications network allows computers at different sites to communicate with each other. Computers communicate by sending messages. Messages increase traffic on the network. Usually better to send a small number of lengthy messages rather than a larger number of short messages. A DDBMS can be either homogeneous (same DBMS at all sites) or heterogeneous. Hetero. systems are more complex and difficult to manage. Users should be unaware that the database is not all together in one location (fragmentation transparency) FOSTER School of Business Acctg 4204

Advantages of DDBs Local control of data. (local issues with data) Increased database capacity. (can increase capacity by adding a site, generally cheaper to increase capacity) System availability. (fewer users are affected if a site goes down versus central processing.) Added efficiency. (eliminate delays & speed of retrieval is much greater) 2011 FOSTER School of Business Acctg 4205

DDBs Disadvantages Update of replicated data (added time, unavailable site, primary copy and automatic update, unavailable primary site). More complex query processing (traffic concerns, examine each record of remote data to is if it fits query, remote site processes the complete query and sends back the resulting data) More complex shared update (locks are required, can take much longer than in a nondistributed system, partial solution to the locking problem is to use a primary copy but it may be unavailable for update. Deadlock is more complicated—local & global deadlock). Complicated recovery measures (each update should be complete or aborted and undone to avoid data inconsistency, usually have 2-phase commit which has a coordinator site this results in many messages and sites have to follow the coordinator.) Data dictionary is more difficult to manage (storage of dictionary elements: at a single site, copy at all sites, distribute among sites) Complex database design (information-level design is not affected. Physical-level design must consider communication activity) 2011 FOSTER School of Business Acctg 4206

12 Rules for DDBs (C.J.Date, 1987) Basic idea of the 12 rules is that: DDB should act like a nonDDB to users (users not aware it is DDB). The DDBMS should be heterogeneous— support local DBMS that are different. How in practice do you usually do this? (use a common language—SQL) 2011 FOSTER School of Business Acctg 4207

CLIENT/SERVER SYSTEMS File servers on LANs send complete files and generate a lot of traffic. Client/servers—the DBMS runs on the server and sends only the data requested, less traffic. Application programs perform 4 main functions: 1.Data storage 2.Data access logic 3.Application logic 4.Presentation logic 2011 FOSTER School of Business Acctg 4208

Benefits/Costs of client-server networks Benefits: Network is more reliable (less traffic) Thinner clients Decreased LR cost Increased scalability Costs: Complexity Increased initial cost Different vendor soft & hardware sometimes does not work so well together (need middleware) FOSTER School of Business Acctg 4209

Multi-tiered systems In a 2-tiered setting, the server performs DB functions and the clients perform presentation functions. “Fat client” refers to the situation where the client performs all but data storage. A thin client would handle only the presentation logic. In a 3-tiered architecture, client performs presentation logic, database server performs the database functions, and application servers perform application and interface functions. (print server, web server.) “One of the biggest forces favoring thin clients is the WEB.” 2011 FOSTER School of Business Acctg 42010

SERVERS Good number crunching computers are not necessarily good for data communication networks. (I/O is important on network servers ) 2011 FOSTER School of Business Acctg 42011

On-line-transaction processing Users typically use transactions when interacting with a RDBMS. These are called OLTP (on- line transaction processing) systems. OLTP usually deals with a small number of rows from tables in the database in repetitive, structured, predetermined ways for normal day-to-day operational purposes. When users need to analyze data, they typically turn to data warehouses and OLAP FOSTER School of Business Acctg 42012

DATA WAREHOUSES Data warehouses are: subject oriented, historical, read-only and integrated. Data warehouse structure: One fact table with a compound primary key is related to several dimension tables this is called a multidimensional database (star schema because of conceptual shape). Several fact tables can be present. Access and analysis in a multidimensional database is done through use of OLAP (on-line analytical processing) FOSTER School of Business Acctg 42013

DATA WAREHOUSES Can represent data as a cube with 3- dimensions: e.g., Customer, part, time. For analysis, you can slice and dice data. You can drill down: lower levels of aggregation, or roll up (opposite of drill down). 12 rules for OLAP systems in the text FOSTER School of Business Acctg 42014

Data Mining Used to uncover new: knowledge, patterns, trends, and relationships in the data. Data mining software (e.g., SAS) uses sophisticated analytical, mathematical, and statistical techniques to analyze large amounts of data FOSTER School of Business Acctg 42015

OBJECT-ORIENTED DBMSs RDBs store data consisting of text and numbers. RDB can also store graphics, pictures, photos, video, audio, spreadsheets, and other complex objects using special data types called BLOBs (binary large objects). However, when the primary focus is storage of complex objects, most companies use OODBMS. Object is a unit of data along with actions that can take place on the object (actions are called methods). Data and methods are encapsulated-hidden from the user. Do you have a vague feel for an OODBMS? 2011 FOSTER School of Business Acctg 42016

OODBMSs Object-oriented concepts: – Objects: an entity (customer, etc.) – Classes: general structure of object – Methods: actions on a class that are permitted. – Messages: request to execute a method (subroutine) – Inheritance: can define a subclass which inherits structure and methods of the class. – UML: unified modeling language, the standard in OO software development. – 14 rules for OODBMSs in text FOSTER School of Business Acctg 42017

INTERNET and INTRANET Many organizations use the Internet and WEB to conduct commercial activities (e-commerce). Databases play a very big role. Users access database via Web browsers. Many different software languages, products, and standards support e- commerce. XML (Extensible Markup Language) is well suited to exchange data between different programs. XBRL (eXtensible Business Reporting Language) – see handout FOSTER School of Business Acctg 42018

BRIEF HISTORY of DATABASE MANGEMENT 1962—APOLLO project required massive amounts of data. IBM was asked to develop a system to manage the data. IBM developed GUAM (Generalized Update Access Method) to handle the data. 1964—GUAM went into production. 1966—GUAM made avail. to the public as DL/I. This is part of IMS which was dominant through the 1980s. Still used in a few pre-PC legacy systems. 1968—COnference on DAta SYstems Languages (CODASYL—COBAL language group ) developed standards for DBMSs and in 1971 presented standards that were not adopted by the std. setting ANSI. However, several vendors used these standards (Cullinane’s IDMS) FOSTER School of Business Acctg 42019

BRIEF HISTORY of DBM (contin) 1970—Dr. E.E. Codd proposed the relational model. 1970s—IBM developed System R. 1980s—commercial RDBMS appeared. DB2—IBM, Oracle, Sybase, SQL Server, MySQL PC-based: dBASE, Paradox, Access Late 1970s—research on OODBMS, 1987 Gemstone, Versant. RDBMS vendors have added object-oriented features (object-relational DBMSs—ORDBMSs) FOSTER School of Business Acctg 42020