实体关系模型中结构性约束的隐式表示:对基数保持的分析
Implicit Representation of Structural Constraints in ER-to-Relational Transformation: An Analysis of Cardinality Preservation
AI总结:
本文分析了ER到关系转换中结构性约束的表示问题,发现标准转换无法无歧义地保留最小和最大参与约束。
摘要:
本文研究了在概念模式中指定的结构性约束在转换到逻辑模式后被表示的程度。聚焦于概念到逻辑的映射,包含二元关系类型的实体关系(ER)模型被转换为关系数据库模式(RDS)。在经典的转换框架下,逻辑模式仅由主键(PK)和外键(FK)约束定义。使用具有可变结构性约束值的一般ER模型,评估所得到的RDS结构,以确定最小和最大参与约束是否被无歧义地表示。研究发现,对于一对一和一对多关系,RDS不无歧义地捕获最小参与约束,并且不编码确切的最大参与度,仅在有限情况下。对于许多对多关系,模式仅表明最大基数超过一,而不保留确切值。这些结果澄清了标准ER到关系转换的表示限制,并对模式设计和约束执行有影响。
英文摘要:
This study examines the extent to which structural constraints specified in conceptual schemas are represented after transformation to logical schemas. Focusing on the conceptual-to-logical mapping, an Entity-Relationship (ER) model containing binary relationship types is transformed into a Relational Database Schema (RDS). The analysis is conducted under the classical transformation framework in which the logical schema is defined solely by primary key (PK) and foreign key (FK) constraints. Using generalised ER models with variable structural constraint values, the resulting RDS structures are evaluated to determine whether minimum and maximum participation constraints are represented unambiguously. The findings show that, for one-to-one and one-to-many relationships, RDSs do not unambiguously capture minimum participation constraints and do not encode exact maximum participation beyond limited cases. For many-to-many relationships, the schema indicates only that maximum cardinalities exceed one, without preserving exact values. These results clarify the representational limits of standard ER-to-relational transformations and have implications for schema design and constraint enforcement.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。