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 条
  • [2] Fuzzy constraints using the Enhanced Entity-Relationship model
    Galindo, J
    Urrutia, A
    Carrasco, RA
    Piattini, M
    [J]. SCCC 2001: XXI INTERNATIONAL CONFERENCE OF THE CHILEAN COMPUTER SCIENCE SOCIETY, PROCEEDINGS, 2001, : 86 - 94
  • [3] Expressing a Temporal Entity-Relationship Model as a Traditional Entity-Relationship Model
    Hoang Quang
    Thuong Pham
    [J]. COMPUTATIONAL COLLECTIVE INTELLIGENCE (ICCCI 2015), PT II, 2015, 9330 : 483 - 491
  • [4] A GENERIC ENTITY-RELATIONSHIP MODEL
    HAINAUT, JL
    [J]. INFORMATION SYSTEM CONCEPTS : AN IN-DEPTH ANALYSIS, 1989, : 109 - 138
  • [5] AN ALGEBRA FOR AN ENTITY-RELATIONSHIP MODEL
    PARENT, C
    SPACCAPIETRA, S
    [J]. TSI-TECHNIQUE ET SCIENCE INFORMATIQUES, 1987, 6 (05): : 435 - 455
  • [6] ON THE SATISFIABILITY OF DEPENDENCY CONSTRAINTS IN ENTITY-RELATIONSHIP SCHEMATA
    LENZERINI, M
    NOBILI, P
    [J]. INFORMATION SYSTEMS, 1990, 15 (04) : 453 - 461
  • [7] THE STRUCTURED ENTITY-RELATIONSHIP MODEL (SERM)
    SINZ, EJ
    [J]. ANGEWANDTE INFORMATIK, 1988, (05): : 191 - 202
  • [8] REERM:: Reenhancing the entity-relationship model
    Gonzalez Jimenez, Luis
    [J]. DATA & KNOWLEDGE ENGINEERING, 2006, 58 (03) : 410 - 435
  • [9] An entity-relationship model for forest inventory
    Tokola, T
    Turkia, A
    Sarkeala, J
    Soimasuo, J
    [J]. CANADIAN JOURNAL OF FOREST RESEARCH-REVUE CANADIENNE DE RECHERCHE FORESTIERE, 1997, 27 (10): : 1586 - 1594
  • [10] AN ALGEBRA FOR A GENERAL ENTITY-RELATIONSHIP MODEL
    PARENT, C
    SPACCAPIETRA, S
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1985, 11 (07) : 634 - 643