AN ANALYSIS OF SQL INTEGRITY CONSTRAINTS FROM AN ENTITY-RELATIONSHIP MODEL PERSPECTIVE

被引:5
|
作者
LAENDER, AHF [1 ]
CASANOVA, MA [1 ]
DECARVALHO, AP [1 ]
RIDOLFI, LFGGM [1 ]
机构
[1] IBM BRAZIL,CTR CIENT RIO,BR-20071001 RIO JANEIRO,BRAZIL
关键词
D O I
10.1016/0306-4379(94)90018-3
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
This paper presents an analysis of the integrity constraints defined in the SQL ISO standard disclosure in the light of the entity-relationship model. It points out what features of integrity constraints in SQL support which features of the entity-relationship model by discussing how to map an entity-relationship schema into a SQL schema. In order to organize the analysis, the paper distinguishes three levels of the entity-relationship model. The first level corresponds to the basic model, augmented with simple specializations. The second level considers totality and more complex specializations, and allows deferred and immediate propagation of deletions. Finally, the third level introduces generalization hierarchies and considers some types of inter-relationship constraints. For the first and second levels, the analysis indicates that the more complex features of the SQL referential integrity construct are necessary only when optimization is considered, but one of the features - propagation of nulls - should be slightly enhanced to easy the optimization task. However, for the third level, the analysis shows that, in most cases, the SQL referential integrity construct can efficiently model subsetting, but that the direct use of SQL integrity constraints to account for mutual exclusion may be very expensive.
引用
收藏
页码:331 / 358
页数:28
相关论文
共 50 条
  • [21] An Analysis of a Methodology that Transforms the Entity-Relationship Model into a Conceptual Model for a Graph Database
    Villa, Fernan
    Moreno, Francisco
    Guzman, Jaime
    EMERGING TECHNOLOGIES IN COMPUTING, ICETIC 2018, 2018, 200 : 70 - 83
  • [22] WEB SITE LEARN ENTITY-RELATIONSHIP MODEL
    Echevarria Diaz, Andres
    Hernandez Delgado, Margelys
    Munguia Alvarez, Dianelys
    REVISTA CONRADO, 2016, 12 (56): : 157 - 161
  • [23] Soft constraints and heuristic constraint correction in entity-relationship modelling
    Hartmann, S
    SEMANTICS IN DATABASES, 2003, 2582 : 82 - 99
  • [24] VIEW UPDATES FOR AN EXTENDED ENTITY-RELATIONSHIP MODEL
    CZEJDO, B
    EMBLEY, DW
    RUSINKIEWICZ, M
    INFORMATION SCIENCES, 1992, 62 (1-2) : 41 - 64
  • [25] Extracting the extended entity-relationship model from a legacy relational database
    Alhajj, R
    INFORMATION SYSTEMS, 2003, 28 (06) : 597 - 618
  • [26] Logical Design of Graph Databases from an Entity-Relationship Conceptual Model
    de Sousa, Victor Martins
    del Val Cura, Luis Mariano
    IIWAS2018: THE 20TH INTERNATIONAL CONFERENCE ON INFORMATION INTEGRATION AND WEB-BASED APPLICATIONS & SERVICES, 2014, : 183 - 189
  • [27] An analysis of structural validity in entity-relationship modeling
    Dullea, J
    Song, IY
    Lamprou, I
    DATA & KNOWLEDGE ENGINEERING, 2003, 47 (02) : 167 - 205
  • [28] A hybrid query language for an extended entity-relationship model
    Andries, M
    Engels, G
    JOURNAL OF VISUAL LANGUAGES AND COMPUTING, 1996, 7 (03): : 321 - 352
  • [29] EXTENDING ENTITY-RELATIONSHIP SYSTEMS TO SUPPORT HYPOTHESES, CONSTRAINTS, VERSIONS, AND DOCUMENTS
    BOSCO, MF
    GIBELLI, M
    INFORMATION AND SOFTWARE TECHNOLOGY, 1991, 33 (08) : 538 - 546
  • [30] From XML DTDs to entity-relationship schemas
    Psaila, G
    CONCEPTUAL MODELING FOR NOVEL APPLICATION DOMAINS, PROCEEDINGS, 2003, 2814 : 378 - 389