分布式数据库(PPT课件讲稿)Distributed DBMS Architecture

4. Distributed dbms architecture Chapter 4 Distributed dbms Architecture
1 4. Distributed DBMS Architecture Chapter 4 Distributed DBMS Architecture

Outline TO-Down Design of DDBMS Architecture Schema and Distribution Transparency Bottom-up Design of DDBMS Architecture Architectural Alternatives for dDBMss Three Reference architectures for a ddbms e, client/server, peer-to-peer distributed DBMs, muli-databases) Global Directory/Dictionary
2 Outline To-Down Design of DDBMS Architecture Schema and Distribution Transparency Bottom-up Design of DDBMS Architecture Architectural Alternatives for DDBMSs Three Reference Architectures for a DDBMS (i.e., client/server, peer-to-peer distributed DBMS, multi-databases) Global Directory/Dictionary

Introduction Architecture defines the structure of the system components identified functions of each component defined interrelationships and interactions between components defined
3 Introduction Architecture defines the structure of the system components identified functions of each component defined interrelationships and interactions between components defined

Reference model(参考模型) Reference Model a conceptual framework whose purpose is to divide standardization work into manageable pieces and to show at a general level how these pieces are related to one another Three approaches to define a reference model ① Component-based Components of the system are defined together with the interrelationships between components Good for design and implementation of the system
4 Reference Model(参考模型) Reference Model A conceptual framework whose purpose is to divide standardization work into manageable pieces and to show at a general level how these pieces are related to one another. Three approaches to define a reference model ① Component-based – Components of the system are defined together with the interrelationships between components – Good for design and implementation of the system

Reference Model(cont ② Function- based Classes of users are identified together with the functionality that the system will provide for each class The objectives of the system are clearly identified. But how do you achieve these objectives? ③Data- based Identify different types of data and specify the functional units that will realize and/or use data according to these views The ANSI/SPARC architecture discussed next belongs to this category
5 Reference Model (cont.) ② Function-based – Classes of users are identified together with the functionality that the system will provide for each class – The objectives of the system are clearly identified. But how do you achieve these objectives? ③ Data-based – Identify different types of data and specify the functional units that will realize and/or use data according to these views. – The ANSI/SPARC architecture discussed next belongs to this category

ANSySPARC Architecture Users External External External External Schema View View View Conceptual Conceptual Schema lew Internal Internal Schema Vi lew 6
6 ANSI/SPARC Architecture External View External View External View Conceptual View Internal View External Schema Users Conceptual Schema Internal Schema

Conceptual Schema(概念模式) RELATION EMP RELATION PAY KEY=ENO) KEY=ITITLE ATTRIBUTES=( ATTRIBUTES=[ ENo: CHARACER(9 TITLE CHARACER(10) ENAME: CHARACER(15) SAL: NUMERIC (6) TITLE CHARACER(10) RELATION ASG RELATION PROJECT[ KEY=ENO, PNO] KEY=PNO) ATTRIBUTES=[ ATTRIBUTES=( ENo: CHARACER(9 PNo CHARACER(7) PNo CHARACER(7) PNAME CHARACER(20) RESP: CHARACER(10) BUDGET: NEMERIC(7) DUR NUMERIC(6) 7
7 Conceptual Schema (概念模式) RELATION EMP [ KEY = {ENO} ATTRIBUTES = { ENO : CHARACER(9) ENAME : CHARACER(15) TITLE : CHARACER(10) } ] RELATION PAY [ KEY = {TITLE} ATTRIBUTES = { TITLE : CHARACER(10) SAL : NUMERIC(6) } ] RELATION PROJECT [ KEY = {PNO} ATTRIBUTES = { PNO : CHARACER(7) PNAME : CHARACER(20) BUDGET : NEMERIC(7) } ] RELATION ASG [ KEY = {ENO,PNO} ATTRIBUTES= { ENO : CHARACER(9) PNO : CHARACER(7) RESP : CHARACER(10) DUR : NUMERIC(6) } ]

Internal schema(内部模式) RELATION EMP KEY=ENO] ATTRIBUTES=C ENo CHARACER(9) ENAME CHARACER(15) TITLE CHARACER(10) INTERNAL REL EMPL INDEXON E CALL EMINX FIEDLS=[ HEADER: BYTE( E# BYTE(9) ENAME: BYTE(15) TIT BYTE(10)
8 Internal Schema (内部模式) RELATION EMP [ KEY = {ENO} ATTRIBUTES = { ENO : CHARACER(9) ENAME : CHARACER(15) TITLE : CHARACER(10) } ] INTERNAL_REL EMPL [ INDEX ON E# CALL EMINX FIEDLS = { HEADER : BYTE(1) E# : BYTE(9) ENAME : BYTE(15) TIT : BYTE(10) } ]

External view(外部模式)- Example1 Create a budGET view from the Proj relation CREAT VIEW BUDGET (PNAME, BUD) AS SELECT PNAME BUDGET FROM PROJ
9 External View(外部模式 ) – Example 1 CREAT VIEW BUDGET(PNAME, BUD) AS SELECT PNAME, BUDGET FROM PROJ Create a BUDGET view from the PROJ relation

External view(外部模式)- Example2 Create a Payroll view from relations EMP and PAy CREAT VIEW PAYROLL(ENO, ENAME, SAL) AS SELECT EMP. ENO. EMP ENAME PAY, SAL FROM EMP PAY WHERE EMP TITLE= PAY, TITLE
10 External View(外部模式 ) – Example 2 CREAT VIEW PAYROLL(ENO, ENAME, SAL) AS SELECT EMP.ENO, EMP.ENAME, PAY.SAL FROM EMP, PAY WHERE EMP.TITLE = PAY.TITLE Create a Payroll view from relations EMP and PAY
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
- 计算机网络 The Network Layer(PPT课件讲稿)网络互联、Internet上的网络层.ppt
- 《编码理论》课程电子教案(PPT课件讲稿)第二章 信息量和熵.ppt
- 《编译原理》课程教学资源(PPT课件讲稿)代码优化——全局数据流分析技术.ppt
- 网络应用软件(PPT课件讲稿)第一讲 客户-服务器概念、协议端口的使用、套接字API.ppt
- 西安电子科技大学:《微机原理与接口技术》课程教学资源(PPT课件讲稿)第一章 数制与码制(主讲:王晓甜).pptx
- 大连工业大学:《计算机文化与软件基础》课程教学资源(PPT课件讲稿)绪论、计算机系统的组成、计算机中数的表示.pps
- 中国科学技术大学:《计算机体系结构》课程教学资源(PPT课件讲稿)第4章 存储层次结构设计.pptx
- 中国科学技术大学:《数据结构及其算法》课程电子教案(PPT课件讲稿)第七章 图.pps
- 《计算机视觉》课程教学资源(PPT课件讲稿)基于灭点几何的深度图重建、基于焦点变换的深度图重建.ppt
- 《计算机网络》课程教学资源(PPT课件讲稿)第2章 物理层.ppt
- 中国科学技术大学:《计算机体系结构》课程教学资源(PPT课件讲稿)第三章 流水线技术.ppt
- 《Java Web编程技术》课程教学资源(PPT课件讲稿)第4章 JDBC数据库访问技术.ppt
- TTCN3工具培训(PPT讲稿)TTCN-3简介.ppt
- 《编译原理》课程教学资源(PPT课件讲稿)中间代码生成.pptx
- 北京师范大学:《计算机应用基础》课程教学资源(PPT课件讲稿)第1章 计算机常识(主讲:马秀麟).pptx
- 南京大学:Conceptual Architecture View(PPT讲稿).ppt
- 分布式数据库系统的体系结构与设计(PPT讲稿)Architecture and Design of Distributed Database Systems.pptx
- 《Computer Networking:A Top Down Approach》英文教材教学资源(PPT课件讲稿,6th edition)Chapter 3 传输层 Transport Layer.ppt
- 上海交通大学:《挖掘海量数据集 Mining Massive Datasets》课程教学资源(PPT讲稿)Lecture 03 Frequent Itemsets and Association Rules Mining Massive Datasets.ppt
- 中国科学技术大学:《计算机编程入门》课程PPT教学课件(讲稿)An Introduction to Computer Programming.ppt
- 同济大学:企业电子商务系统(PPT讲稿)Enterprise Electronic Business Systems.ppt
- 《计算机网络》课程电子教案(PPT教学课件)第二章 物理层.pptx
- 《Computer Networking:A Top Down Approach》英文教材教学资源(PPT课件讲稿,6th edition)Chapter 2 Application Layer.ppt
- RDA Testing & Comparison with AACR2(session 1).ppt
- 中国医科大学:《计算机基础》课程教学资源(PPT课件)第8章 Internet应用基础.ppt
- 《算法设计与分析基础》课程教学课件(PPT讲稿)Chapter 2 Fundamentals of the Analysis of Algorithm Efficiency.ppt
- 中国科学技术大学:A Practical Verification Framework for Preemptive OS Kernels(PPT讲稿).ppt
- 《Computer Networking:A Top Down Approach》英文教材教学资源(PPT课件讲稿,6th edition)Chapter 2 Application Layer.ppt
- 《数据结构》课程教学资源(PPT课件讲稿)第五章 树.ppt
- 《Computer Networking:A Top Down Approach》英文教材教学资源(PPT课件讲稿,6th edition)Chapter 1 Introduction.ppt
- 《数据结构 Data Structure》课程教学资源(PPT课件讲稿)第四章 数组、串与广义表.ppt
- 中国科学技术大学:《现代密码学理论与实践》课程教学资源(PPT课件讲稿)第10章 密钥管理与其他公钥体制.pptx
- 中国科学技术大学:《算法基础》课程教学资源(PPT课件讲稿)第四讲 递归和分治策略(主讲人:吕敏).pptx
- 中国科学技术大学:《数值分析》课程教学资源(PPT课件讲稿)第1章 插值.ppt
- 《网络算法学》课程教学资源(PPT课件讲稿)第二部分 端节点算法学 第五章 拷贝数据.ppt
- 中国科学技术大学:《计算机体系结构》课程教学资源(PPT课件讲稿)第三章 流水线技术.pptx
- 北京航空航天大学:动态拼车服务中的高效插入操作(PPT讲稿)An Efficient Insertion Operator in Dynamic Ridesharing Services.pptx
- 西安电子科技大学:《计算机网络 Computer Networks》课程教学资源(PPT课件讲稿)第一章 概述(主讲:马涛).pptx
- 计算机语言的学科形态与发展历程(PPT课件讲稿).ppt
- 西安电子科技大学:《计算机网络 Computer Networks》课程教学资源(PPT课件讲稿)概述(主讲:岳鹏).ppt