数据库课件.ppt

  1. 1、本文档共57页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Steps of Database Design Requirement analysis What data, applications, and operations needed Conceptual database design: A high-level description of data, constraints using E - R model or a similar high level data model Logical database design: Convert the conceptual design into a DB schema Schema refinement Normalization of relations: Check relational schema for redundancies and related anomalies. Physical database design : Indexing, clustering and database tuning Create and initialize the database & Security design Load initial data, testing Identify different user groups and their roles 面向对象模型 层次模型 网状模型 现实世界 概念模型 (数据模型)逻辑模型 物理模型 信息世界 E-R 图 (E-R模型) 关系模型(表结构) 物理存储结构 数据库的设计步骤 1968, IBM IMS 树型结构 (除根结点外,每个结点有且只有一个双亲结点) DBTG模型 | CODASYL系统 网状结构 (一个结点可有多个双亲,允许多个结点无双亲) Honeywell IDS/2,HP image 机器世界 半结构化数据模型 (1) Entity Relationship Model (实体-联系模型) E-R model of real world Entities (objects) E.g. customers, accounts, bank branch Entities are described by attributes Relationships between entities E.g. Account A-101 is held by customer Johnson Relationship set depositor associates customers with accounts E-R Model is widely used for database design Database design in E-R model usually converted to design in the relational model . Was first proposed by Pete Chen. Relationship Entity Attribute Attribute Entity-Relationship Model (Cont.) Example of schema in the entity-relationship model (2) Relational Model Example of tabular data in the relational model customer- name Customer-id customer- street customer- city Johnson Smith Johnson Jones Smith 192-83-7465 019-28-3746 192-83-7465 321-12-3123 019-28-3746 Alma North Alma Main North Palo Alto Rye Palo Alto Harrison Rye Attributes Tuple 元组 Column ( field ) Relation Customer schema Transfer E-R diagrams into relational schema A Sample Relational Database Another example: University Database Sid Sname Ssex Sage sdept 3023001093 Tom M 21 Cs 3011112340 Mary F 20 Cs 3020621034 Jack M 18 Cs 3020831035 Smith

文档评论(0)

神话 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:5203223011000000

1亿VIP精品文档

相关文档