简体   繁体   English

ER模型(概念)到关系(逻辑) - MySqL

[英]ER model(Conceptual) to Relational(Logical) - MySqL

is there any way in MySQL or tool that could help me to transform a ER model to Logical model? MySQL或工具中是否有任何方法可以帮助我将ER模型转换为逻辑模型? The ER model was done in MySQL, so if there's a way to use the file extension in another software that would be wonderful. ER模型是在MySQL中完成的,所以如果有一种方法可以在另一个软件中使用文件扩展名,这将是非常棒的。

MySQL Workbench's models aren't really ER models. MySQL Workbench的模型不是真正的ER模型。 They're physical models consisting of tables and foreign key constraints. 它们是由表和外键约束组成的物理模型。 The entity-relationship model distinguishes between entity relations and relationship relations, but these would both be represented as tables in MySQL Workbench. 实体关系模型区分实体关系和关系关系,但这些都将在MySQL Workbench中表示为表。 Relationships in ER don't map to foreign key constraints, rather FK constraints enforce the domains of roles in relationships. ER中的关系不映射到外键约束,而FK约束强制关系中的角色域。

Automated translation from a physical to a logical model isn't possible, since the physical model doesn't capture domains or functional and join dependencies. 从物理模型到逻辑模型的自动转换是不可能的,因为物理模型不捕获域或功能和连接依赖性。 ER models fare slightly better - domains are represented and some dependencies, but ER can't represent all possible relationships and constraints. ER模型的表现略好一些 - 表示域和一些依赖关系,但ER不能代表所有可能的关系和约束。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM