逻辑数据模型和概念数据模型有什么区别?

编程入门 行业动态 更新时间:2024-10-26 12:28:14
本文介绍了逻辑数据模型和概念数据模型有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

逻辑数据模型和概念数据模型之间有什么区别?

解决方案

在概念数据模型中,您只需要担心高级设计-应该存在哪些表以及它们之间的连接。在此阶段中,您将识别模型中的实体及其之间的关系。

当您明确定义每个表中的列时,逻辑模型紧随概念建模之后。在编写逻辑模型时,您可能还会考虑要设计的实际数据库系统,但前提是它会影响设计(即,如果没有触发器,则可能要删除一些冗余列等)。

还有一个物理模型,详细说明了逻辑模型并为每列分配了类型/长度等。

What is the difference between logical data model and conceptual data model?

解决方案

In the conceptual data model you worry only about the high level design - what tables should exist and the connections between them. In this phase you recognize entities in your model and the relationships between them.

The logical model comes after the conceptual modeling when you explicitly define what the columns in each table are. While writing the logical model, you might also take into consideration the actual database system you're designing for, but only if it affects the design (i.e., if there are no triggers you might want to remove some redundancy column etc.)

There is also physical model which elaborates on the logical model and assigns each column with it's type/length etc.

Here is a good table and picture that describes each of the three levels.

|----------------------|------------|---------|----------| | Feature | Conceptual | Logical | Physical | |----------------------|------------|---------|----------| | Entity Names | X | X | | | Entity Relationships | X | X | | | Attributes | | X | | | Primary Keys | | X | X | | Foreign Keys | | X | X | | Table Names | | | X | | Column Names | | | X | | Column Data Types | | | X | |----------------------|------------|---------|----------|

更多推荐

逻辑数据模型和概念数据模型有什么区别?

本文发布于:2023-11-04 05:48:39,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1557113.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:数据模型   有什么区别   逻辑   概念

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!