- 38
- 0
- 约3.58千字
- 约 18页
- 2016-11-03 发布于河南
- 举报
从ER到Logical Schema──兼谈Schema Integration
中央大學。范錚強 從 ER 到 Logical Schema──兼談Schema Integration 國立中央大學 資訊管理系 范錚強 2005 準備Logical Schema 資料模型和流程模型的整合 充實、調整資料模型 設計關連式資料庫 Logical Schema 資料模型和流程模型的整合 修訂模式 修改DFD中的data store,消除所有「迷糊帳」 所有data store相對到相關的實體或關係 建立資料典DD:Data Dictionary 平衡Balancing原則 Every data flow and data store must be defined in the DD, Vice Versa Every data store must correspond to an entity or relationship type Object names in the DD, ERD and DFD must match DD entries must apply to both the DFD and ERD model 充實、調整資料模型 Attributing and Refining Attributing all entity and relationship types Each attribute should associate with the corresponding entity or relationship type Identify an identifying attributes for each entity type and and any compound entity If there are many candidates, pick one that is the most appropriate. 充實、調整資料模型(2) Eliminate all multi-valued attributes with appropriate relationships Attribute the new E/R types 資料模型、邏輯資料庫設計、實體資料庫設計 Process E-R data model -- Logical database design -- physical database design ANSI SPARC three tier DB architecture Enterprise views User views Physical views 設計關連式資料庫 Logical Schema For each entity type: Each Entity type becomes a Table Every attribute becomes a column The identifying attribute for the entity type becomes the key for the Table For each m-n relationship type Each m-n relationship type becomes a Table Every attribute becomes a column The identifying attribute of the associated entity types becomes the compound keys 關連式資料庫 Logical Schema (2) For each 1-n relationship type Same as m-n relationship Only the n-side identifier becomes the key, the 1-side identifier becomes a non-key column For each 1-1 relationship type Same as 1-n relationship Pick the identifier from the appropriate associated entity type as the key, the other a non-key column 關連式資料庫 Logical Schema (3) For each compound entity type For the compound entity types that do not have its own identifier, same as relationship Otherwise, use the identifier as the key, and take
您可能关注的文档
- 交流电磁铁.ppt
- 产前诊断中心.ppt
- 亨氏新型机械.ppt
- 亲师沟通与合作.ppt
- 人力资源战略管理 兰大 国际MBA 课程 4.ppt
- 人力与组织管理8Outcome4.doc
- 人教新课标品德与社会五年级上册《各族儿女手拉手》PPT课件.ppt
- 人教版二年级语文上册《识字三》精心制作.ppt
- 人教版六年级语文=上册《老人与海鸥》PPT课件1.ppt
- 人教版试题试卷隆回二中高一第二学期中考生物试卷.doc
- 2025-2026学年天津市和平区高三(上)期末数学试卷(含解析).pdf
- 2025-2026学年云南省楚雄州高三(上)期末数学试卷(含答案).pdf
- 2025-2026学年甘肃省天水市张家川实验中学高三(上)期末数学试卷(含答案).docx
- 2025-2026学年福建省厦门市松柏中学高二(上)期末数学试卷(含答案).docx
- 2025-2026学年广西钦州市高一(上)期末物理试卷(含答案).docx
- 2025-2026学年河北省邯郸市临漳县九年级(上)期末化学试卷(含答案).docx
- 2025-2026学年河北省石家庄二十三中七年级(上)期末历史试卷(含答案).docx
- 2025-2026学年海南省五指山市九年级(上)期末化学试卷(含答案).docx
- 2025-2026学年河北省唐山市玉田县九年级(上)期末化学试卷(含答案).docx
- 2025-2026学年河北省邢台市市区九年级(上)期末化学试卷(含答案).docx
原创力文档

文档评论(0)