Session – 8 DATA HANDLING – DISTRIBUTION AND TRANSFORMATION

Slides:



Advertisements
Similar presentations
Relational Database and Data Modeling
Advertisements

Dimensional Modeling.
IS698: Database Management Min Song IS NJIT. The Relational Data Model.
Query Optimization May 31st, Today A few last transformations Size estimation Join ordering Summary of optimization.
Relational Database. Relational database: a set of relations Relation: made up of 2 parts: − Schema : specifies the name of relations, plus name and type.
Enhanced Entity-Relationship Modeling. Strong and Weak Entity Types Strong entity: Each object is uniquely identifiable using primary key of that entity.
Normalization ISYS 464. Database Design Based on ERD Strong entity: Create a table that includes all simple attributes –Composite Weak entity: add owner.
Introduction to Database Management  Department of Computer Science Northern Illinois University January 2001.
Manajemen Basis Data Pertemuan 9 Matakuliah: M0264/Manajemen Basis Data Tahun: 2008.
1 Minggu 12, Pertemuan 23 Introduction to Distributed DBMS (Chapter , 22.6, 3rd ed.) Matakuliah: T0206-Sistem Basisdata Tahun: 2005 Versi: 1.0/0.0.
Session – 6 DISTRIBUTED DATABASE ARCHITECTURE Matakuliah: M0184 / Pengolahan Data Distribusi Tahun: 2005 Versi:
Session - 21 DISTRIBUTED DATABASE DESIGN AND ADMINISTRATION DISTRIBUTED DATABASE DESIGN Matakuliah: M0184 / Pengolahan Data Distribusi Tahun: 2005 Versi:
Session - 22 DISTRIBUTED DATABASE DESIGN AND ADMINISTRATION DISTRIBUTED DATABASE ADMINISTRATION Matakuliah: M0184 / Pengolahan Data Distribusi Tahun: 2005.
Session – 10 QUERY OPTIMIZATION Matakuliah: M0184 / Pengolahan Data Distribusi Tahun: 2005 Versi:
1 Distributed Databases Chapter Two Types of Applications that Access Distributed Databases The application accesses data at the level of SQL statements.
Database management concepts Database Management Systems (DBMS) An example of a database (relational) Database schema (e.g. relational) Data independence.
Introduction to Relational Database ISYS 464. Introduction to Relational Model Data is logically structured within relations. Each relation is a table.
Session – 19 INTEGRATY AND SECURITY INTEGRITY Matakuliah: M0184 / Pengolahan Data Distribusi Tahun: 2005 Versi:
Session - 25 MULTIDATABASE CASE Electronic Health Matakuliah: M0184 / Pengolahan Data Distribusi Tahun: 2005 Versi:
Organizing Data & Information
Session – 5 DISTRIBUTED DATABASE ARCHITECTURE Matakuliah: M0184 / Pengolahan Data Distribusi Tahun: 2005 Versi:
Session – 9 QUERY OPTIMATIZATION Matakuliah: M0184 / Pengolahan Data Distribusi Tahun: 2005 Versi:
Introduction to Databases Transparencies
1 Minggu 2, Pertemuan 3 The Relational Model Matakuliah: T0206-Sistem Basisdata Tahun: 2005 Versi: 1.0/0.0.
Session - 20 INTEGRATY AND SECURITY SECURITY Matakuliah: M0184 / Pengolahan Data Distribusi Tahun: 2005 Versi:
Enhanced Entity-Relationship Modeling
1 Distributed Databases Chapter What is a Distributed Database? Database whose relations reside on different sites Database some of whose relations.
Session – 7 DATA HANDLING – DISTRIBUTION AND TRANSFORMATION Matakuliah: M0184 / Pengolahan Data Distribusi Tahun: 2005 Versi:
Session - 24 FUTURE DEVELOPMENT IN DISTRIBUTED DATABASE DISTRIBUTED EXPERT SYSTEM Matakuliah: M0184 / Pengolahan Data Distribusi Tahun: 2005 Versi:
The Entity-Relationship Model. 421B: Database Systems - ER Model 2 Overview of Database Design q Conceptual Design -- A first model of the real world.
Chapter 4 The Relational Model.
1 Introduction to databases concepts CCIS – IS department Level 4.
Introduction –All information systems create, read, update and delete data. This data is stored in files and databases. Files are collections of similar.
Module Title? DBMS Introduction to Database Management System.
CSE 441: Systems Analysis & Design
Designing a Database (Part I) -Identify all fields needed to produce the required information -Group related fields into tables -Determine Each Table’s.
1 Chapter 1 Introduction. 2 Introduction n Definition A database management system (DBMS) is a general-purpose software system that facilitates the process.
Microsoft Access Big City Store Sales Database CUSTOMERS First Last Address City State Zip PRODUCTS Product Supplier Description Units Cost Price SALES.
1.1 CAS CS 460/660 Relational Model. 1.2 Review E/R Model: Entities, relationships, attributes Cardinalities: 1:1, 1:n, m:1, m:n Keys: superkeys, candidate.
Customer Order Order Number Date Cust ID Last Name First Name State Amount Tax Rate Product 1 ID Product 1 Description Product 1 Quantity Product 2 ID.
Relational Database. Database Management System (DBMS)
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
DDBMS Distributed Database Management Systems Fragmentation
Distributed Database. Introduction A major motivation behind the development of database systems is the desire to integrate the operational data of an.
Database Environment Chapter 2. Data Independence Sometimes the way data are physically organized depends on the requirements of the application. Result:
1Mr.Mohammed Abu Roqyah. Database System Concepts and Architecture 2Mr.Mohammed Abu Roqyah.
Software School of Hunan University Database Systems Design Part III : Mapping ER Diagram to Relational Schema.
Keys for Relationship Sets The combination of primary keys of the participating entity sets forms a super key of a relationship set. – (customer-id, account-number)
ADVANCED TOPICS IN RELATIONAL DATABASES Spring 2011 Instructor: Hassan Khosravi.
Issues in Ontology-based Information integration By Zhan Cui, Dean Jones and Paul O’Brien.
PL/SQLPL/SQL Oracle11g: PL/SQL Programming Chapter 9 Database Triggers.
Session – 11 CONCURRENCY CONTROL USER ACCESS CONTROL Matakuliah: M0184 / Pengolahan Data Distribusi Tahun: 2005 Versi:
* Database is a group of related objects * Objects can be Tables, Forms, Queries or Reports * All data reside in Tables * A Row in a Table is a record.
Chapter 17: Additional Slides February 6, Outline Physical Data Management  Fragments  Distributed Query Processing  Transactions Logical Data.
Databases Flat Files & Relational Databases. Learning Objectives Describe flat files and databases. Explain the advantages that using a relational database.
1 Information Retrieval and Use De-normalisation and Distributed database systems Geoff Leese September 2008, revised October 2009.
1 CS122A: Introduction to Data Management Lecture #5 (E-R  Relational, Cont.) Instructor: Chen Li.
CMS Advanced Database and Client-Server Applications Distributed Databases slides by Martin Beer and Paul Crowther Connolly and Begg Chapter 22.
1 Chapter 22 Distributed DBMSs - Concepts and Design Simplified Transparencies © Pearson Education Limited 1995, 2005.
CS-508 Databases and Data Mining By Dr. Noman Hasany.
COP Introduction to Database Structures
Session – 4 DISTRIBUTED DATABASE AND COMPUTER NETWORK
Appendix D: Network Model
Tools for Memory: Database Management Systems
Chapter 2 Database Environment Pearson Education © 2009.
Database management concepts
Databases: An Introduction
Database management concepts
Chapter 2 Database Environment Pearson Education © 2009.
Course Instructor: Supriya Gupta Asstt. Prof
Presentation transcript:

Session – 8 DATA HANDLING – DISTRIBUTION AND TRANSFORMATION Matakuliah : M0184 / Pengolahan Data Distribusi Tahun : 2005 Versi : Session – 8 DATA HANDLING – DISTRIBUTION AND TRANSFORMATION

OBJECTIVES Integration of heterogeneous database systems Relational database Processing relational queries against the network database

Semantic Approach to the Problem Optimizing the placement and allocation data without considering the requirements of any quantitative cost model directly The goal : to split a global database up into fragments to maximize the efficiency of query execution

Aggregation Relationship between entities is represented as a higher level object. For Example : An “Appointment” entity could be used to represent a relationship between a Patient, a Doctor and a Clinic.

Generalization A set of similar entities is consider to be a single generic entity For Example : A “Person” object could be generalization as a Doctor, a Patient and Nurse entities

Restrictions To obtain a subset of interest give another abstracting mechanism For example : The set “Patient” in the Orthopedic department could form an object called “orthopedic patients”

Semantic Approach to the Problem Cont’d Each local data model is defined by the corresponding DDL and DML semantic To integrate pre-existing heterogeneous database special method of mapping between different data model are needed We should ideally be able to access all of local data via the global model

Getting a relational schema equivalent to network schema To use relational model, we usually need to provide relational views of the local. Four source of data in a network schema which have to be used when getting relational : The record and data item description The associations between owners and members of set types The “duplicates not allowed” location mode for record types The “duplicates not allowed” declaration for set types

Processing Relational Query CUSTOMER CID CName Address Main-Purchase Tot-Purchase PURCHASE Date Price Qty CUST - PUR SALESMAN SID Sname Office Salary SALE - PUR

Processing Relational Query CUSTOMER : CID, Cname, Address, Main-Purchase, Tot-Purchase Key : CID SALESMAN : SID, SName, Office, Salary Key : SID PURCHASE : CID, SID, Date, Price, Qty Key : CID,SID Foreign Key : CID, SID

Processing Relational Query SELECT SName, Office FROM CUSTOMER, SALESMAN, PURCHASE WHERE (Address = “Jakarta”) AND (Main-Purchase = “Lemari”) AND (PURCHASE .CID = CUSTOMER.CID) AND (PURCHASE .SID = SALESMAN.SID)