数据库设计步骤课件

上传人:我*** 文档编号:141795863 上传时间:2020-08-12 格式:PPT 页数:63 大小:650KB
返回 下载 相关 举报
数据库设计步骤课件_第1页
第1页 / 共63页
数据库设计步骤课件_第2页
第2页 / 共63页
数据库设计步骤课件_第3页
第3页 / 共63页
数据库设计步骤课件_第4页
第4页 / 共63页
数据库设计步骤课件_第5页
第5页 / 共63页
点击查看更多>>
资源描述

《数据库设计步骤课件》由会员分享,可在线阅读,更多相关《数据库设计步骤课件(63页珍藏版)》请在金锄头文库上搜索。

1、Database Design,Liu Xiufeng Information and technology school,Objectives for Students,1Grasp the basic processes and method of DB design (掌握数据库设计的基本步骤和方法) 2. Grasp the method of requirements analysis (掌握需求分析的方法) 3Grasp the basic processes and method of conceptual design (掌握概念结构设计的基本步骤和方法),Lecture Ou

2、tline,Basic Processes of DB Design,2,7.1 DB Design Overview,The definition of DB design,Two points of DB Design,The Features of DB Design,1.Basic rules of constructing databse: (数据库建设的基本规律) 三分技术,七分管理,十二分基础数据 Management(管理) 1.Manage DBAS Projects 2.Manage business process of enterprise Basic Data(基础数

3、据) 1.collect、store 2.Update 2.Combine data design and operation design: (数据设计和处理设计相结合),结构和行为分离的设计,The Method of DB Design,The Method of DB Design,Preparation for DB Design数据库设计的准备工作,Decide People Participating in DB Design (选定参加设计的人) 1.系统分析人员、数据库设计人员(Analyser and Designer) 自始至终参与数据库设计 2. 用户和数据库管理员 (

4、users and DBA) 主要参加需求分析和数据库的运行维护 3.应用开发人员( Application programmers) 在系统实施阶段参与进来,负责编制程序和准备软硬件环境,DBAS Life Cycle,Database Initial study( requirement analysis) Analyse the company situation, define problems and constrains, define objectives, define scope and boundaries Database Design Create the concep

5、tual design Create the logical design Create the physical design Implementation and loading Install DBMS, create the database(s), load initial data,DBAS Life Cycle,DBAS Life Cycle(cont.),Testing and evaluation Test the database Fine-tune(adjust) the database Evaluate the database and its application

6、 programs Operation Produce the required information flow Maintenance and evolution Introduce changes Make enhancements,7.1.3数据库设计的基本步骤,数据库设计分6个阶段 需求分析 概念结构设计 逻辑结构设计 物理结构设计 数据库实施 数据库运行和维护 需求分析和概念设计独立于任何数据库管理系统 逻辑设计和物理设计与选用的DBMS密切相关,Basic processes of DB Design,Basic processes of DB Design,Conceptual

7、 Design High level description (often done ER model) Entity Relationship modelling and normalisation DBMS software selection Logical design Translate ER into DBMS data model Eg. translate model into definitions for tables, views. Schema Refinement consistency, normalization Physical design Storage s

8、tructures - optimize performance Distributed database design,数据设计和处理设计同时进行,图表,Two Key points in DB Design,Combine Data Design and Manipulation Design Closely,Schemas in DB Design,数据库设计不同阶段形成的数据库各级模式,Schemas in DB Design 数据库的各级模式,7.2 Requirements of Analysis (需求分析),Tasks of RA(需求分析的任务) 1.Defining req

9、uirements(详细调查现实世界要处理的对象, 如组织、部门、企业, 充分了解原系统) 2.Analyzing requirements(明确用户的各种需求) Inputs Outputs Processes Data Storage 3.Decide the function and boundaries of new system (确定新系统的功能) 同时充分考虑今后可能的扩充和改变,Instance of A,Inputs Index page Search string Clicking on links Outputs Search results Web page Proce

10、sses Search database for search string Retrieve web page Data Storage,Key points of RA需求分析的重点,The Critic Points of Investigation:Data,Operation调查的重点是“数据”和“处理” Get Users Needs on DB(获得用户对数据库要求) Information Management Requirements( 信息要求) Operation Management Requirements(处理要求) Security and Integrity R

11、equirements(安全性与完整性要求),Difficulties of RA,Make final users needs clear (确定用户最终需求) Reasons: Users lack for computer knowledge(用户缺少计算机知识) Designer lack for users professional knowledge (设计人员缺少用户的专业知识) Solutions(解决方法): Designer should keep the constant and deep communication with users (设计人员必须不断深入地与用户进

12、行交流),Often Used Methods,(1)跟班作业 (2)开调查会 (3)请专人介绍 (4)询问 (5)设计调查表请用户填写 (6)查阅记录,Structured Analysis(结构化分析方法),从最上层的系统组织机构入手 自顶向下、逐层分解分析系统,Structured Analysis(结构化分析方法),1Any System can be Abstracted to be a diagram below:,Structured Analysis(结构化分析方法),2Decompose Functions and Data(分解处理功能和数据) (1) Decompose

13、Functions 将处理功能的具体内容分解为若干子功能 (2)Decompose Data 处理功能逐步分解同时,逐级分解所用数据,形成若干层次的数据流图 (3)expression methods(表达方法) 处理逻辑:用判定表或判定树来描述 数据:用数据字典来描述 3Get Confirmation of users 将分析结果再次提交给用户,征得用户的认可,Procedure of RA(需求分析过程),7.2.3 Data Dictionary(数据字典),1.Purpose of Data Dictionary 进行详细的数据收集和数据分析所获得的主要结果 2.Content of

14、 Dictionary Data Item(数据项) Data Structure(数据结构) Data Flow(数据流) Data Storage(数据存储) Procedure of Operation)处理过程), Data Item(数据项),Atomic item(数据项是不可再分的数据单位) Description of Data item 数据项描述 数据项名,数据项含义说明,别名, 数据类型,长度,取值范围,取值含义, 与其他数据项的逻辑关系,数据项之间的联系 , Data structure(数据结构),Specify the data itemss relationshi

15、p (数据结构反映了数据之间的组合关系。) Consist of several data items or data structure , or two things together (一个数据结构可以由若干个数据项组成,也可以由若干个数据结构组成,或由若干个数据项和数据结构混合组成。) Description of Data Structure 数据结构描述数据结构名,含义说明, 组成:数据项或数据结构, Data Flow(数据流),moving route of data structure in system(数据流是数据结构在系统内传输的路径。 Description: 数据流

16、描述 数据流名,说明,数据流来源, 数据流去向,组成:数据结构, 平均流量,高峰期流量, Data Storage(数据存储),Place for data to stay or to be stored, also input and output data flow(数据存储是数据结构停留或保存的地方,也是数据流的来源和去向之一。) Description: 数据存储描述数据存储名,说明,编号, 输入的数据流 ,输出的数据流 , 组成:数据结构,数据量,存取频度,存取方式, Procedure of operation(处理过程),Decision Diagram or Decision Tree used to deal with logics (具体处理逻辑一般用判定表或判定树来描述) Description: 处理过程描述处理过程名,说明,输入:数据流, 输出:数据流,处理:简要说明,Requirements Analysis(需求分析),分析用户活动产生,产生业务流程图 确定系统范围,

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 办公文档 > PPT模板库 > PPT素材/模板

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号