skip to main content
article
Free Access

Representing extended entity-relationship structures in relational databases: a modular approach

Published:01 September 1992Publication History
Skip Abstract Section

Abstract

A common approach to database design is to describe the structures and constraints of the database application in terms of a semantic data model, and then represent the resulting schema using the data model of a commercial database management system. Often, in practice, Extended Entity-Relationship (EER) schemas are translated into equivalent relational schemas. This translation involves different aspects: representing the EER schema using relational constructs, assigning names to relational attributes, normalization, and merging relations. Considering these aspects together, as is usually done in the design methodologies proposed in the literature, is confusing and leads to inaccurate results. We propose to treat separately these aspects and split the translation into four stages (modules) corresponding to the four aspects mentioned above. We define criteria for both evaluating the correctness of and characterizing the relationship between alternative relational representations of EER schemas.

References

  1. 1 ATZENI, P., AND CHAN, E. P. F. Independent database schemes under functional and inclusion dependencies. In Proceedings of the 13th VLDB Conference (Brighton, England, Sept. 1-4, 1987), pp. 159-166. Google ScholarGoogle Scholar
  2. 2 ATZENI, P., AND PARKER, D.S. Assumptions in relational database theory. In Proceedings of the 1st ACM Symposium on Principles of Database Systems (Los Angeles, Calif., Mar. 29 31, 1982), pp. 1-9. Google ScholarGoogle Scholar
  3. 3 ATZENI, P., AND PARKER, D. S. Formal properties of net-based knowledge representation schemes. In Proceedings of 2nd IEEE International Conference on Data Engineering (Los Angeles, Calif., Feb. 1-5, 1986), pp. 700-706. Google ScholarGoogle Scholar
  4. 4 BRADY, L. L A universal relation assumption based on entities and relationships. In Proceedings of the 4th I, ternational Conference on Entity-Relatwnshtp Approach (Chicago, Ohio, Oct. 28 30). P. P. Chen, Ed., IEEE Computer Society Press, 1985, pp. 208 215. Google ScholarGoogle Scholar
  5. 5 CASANOVA, M. A., FAGIN, R., AND PAPADIMITRIOU, C. H. Inclusion dependencies and their interactmn with functional dependencies. J. Comput. Syst. Scl. 28, i (Feb. 1984), 29-59.Google ScholarGoogle Scholar
  6. 6 CHEN, P.P. The entity-relationship model- towards a unified view of data. ACM Trans. Database Syst. 1, i (Mar. 1976), 9 36. Google ScholarGoogle Scholar
  7. 7 CODD, E. F. Extending the relational database model to capture more meaning. ACM Trans. Database Syst. 4, 4 (Dec. 1979), 397-434. Google ScholarGoogle Scholar
  8. 8 EvEN, S. Graph Algorithms. Computer Science Press, Rockville, Md., 1979. Google ScholarGoogle Scholar
  9. 9 HULL, R. Relative information capacity of simple relational database schemata. In Proceedings of Third ACM Symposium on Principles of Database Systems (Waterloo, Canada, Apr. 2 4, 1984), pp. 97-109. Google ScholarGoogle Scholar
  10. 10 HULL, R., AND I~NG, R. Semantic database modehng: Survey, applications, and research issues. ACM Comput. Surv. 19, 3 (Sept. 1987), 201-260. Google ScholarGoogle Scholar
  11. 11 JAJODIA, S., N6, P. A., AND SPRINGSTEEL, F.N. The problem of equivalence for entity-relationship diagrams. IEEE Trans. Softw Eng. SE 9, 5 (Sept. 1983), 617-630.Google ScholarGoogle Scholar
  12. 12 JMODIA, S., NG, P. A., AND SPR~NGSTEEL, F.N. Entity-relationship diagrams which are in BCNF. Int. J. Comput. Inf. Sci. 12, 4 (1983), 269-283. Google ScholarGoogle Scholar
  13. 13 LIEN, Y.E. On the semantics of the entity-relationship data model. In Enttty-Relationsh~p Approach to System Analysis and Design, P. P. Chert Ed., North-Holland, Amsterdam, 1980, 155 167. Google ScholarGoogle Scholar
  14. 14 LmN, Y.E. On the equivalence of database models. J. ACM 29, 2 (April 1982), 333 362. Google ScholarGoogle Scholar
  15. 15 MAmR, D. The Theory of Relattonal Databases. Computer Science Press, Rockville, Md., 1983. Google ScholarGoogle Scholar
  16. 16 MAIER, D., ROZENSHTEIN, D., AND STEIN, J. Representing roles in universal scheme interfaces. IEEE Trans. Softw. Eng. SE-11, 7 (July 1985), 644-652.Google ScholarGoogle Scholar
  17. 17 MAIER, D., ROZENSHTEIN, D., AND WARREN, D.S. Window functions. In Advances in Computing Research, vol. 3, JAI Press, 1986, pp. 213-246.Google ScholarGoogle Scholar
  18. 18 MAIER, D., ULLMAN, J. D., AND VARDI, M. On the foundations of the universal relation model. ACM Trans. Database Syst. 9, 2 (June 1984), 283-308. Google ScholarGoogle Scholar
  19. 19 MARKOWITZ, V M., AND MAKOWSKY, J. A. Identifying extended entity-relationship object structures in relational schemas. IEEE Trans. Softw. Eng. 16, 8 (Aug. 1990), 777-790. Google ScholarGoogle Scholar
  20. 20 MARKOWlTZ, V. M. Merging relations in relational databases. In Proceedings of the 8th IEEE Conference on Data Engtneemng (Tempe, Ariz., Feb. 3-7, 1992). IEEE, New York, pp. 428-437. Google ScholarGoogle Scholar
  21. 21 MARKOWITZ, V. M. Problems underlying the use of referential integrity mechanisms in relational database management systems. In Proceedings Supplement of the 7th IEEE International Conference on Data Eng~neemng (Kobe, Japan, Apr. 8 12, 1991), pp. 41-49.Google ScholarGoogle Scholar
  22. 22 MARKOWITZ, V. M., AND FANG, W SDT 4.1. Reference Manual. Tech. Rep. LBL-27843, Lawrence Berkeley Laboratory, May 1991.Google ScholarGoogle Scholar
  23. 23 MARKOWITZ, V. M., AND SHOSHANI, A. Name assignment techniques for relational schemas representing extended entity-relationship structures. In Proceedings of the 8th International Conference on Enttty-Relatwnship Approach (Toronto, 1989), pp. 75-93. Google ScholarGoogle Scholar
  24. 24 TEOREY, T. J., YANC, D., AND FRY, J. P. A logical demgn methodology for relational databases using the extended entity-relationship model. ACM Comput. Surv. 18, 2 (June 1986), 197 222. Google ScholarGoogle Scholar
  25. 25 TEOREY, T.J. Database Modehng and Design. The Entzty-Relatwnship Approach. Morgan Kaufmann, Palo Alto, Calif., 1990. Google ScholarGoogle Scholar
  26. 26 SZETO, E., AND MARKOWlTZ, V.M. ERDRAW 2.2. Reference Manual. Tech. Rep. LBL-PUB- 3084, Lawrence Berkeley Laboratory, May 1991.Google ScholarGoogle Scholar

Index Terms

  1. Representing extended entity-relationship structures in relational databases: a modular approach

        Recommendations

        Reviews

        Morteza Parang

        The authors present an improved approach to common database design methodologies that involve translation of the applications semantic model to a relational schema. They point out that many of these common methods (for example, the extended entity-relationship (EER) model) include several aspects that can be confusing and in practice often lead to inaccurate results. The authors propose a modular approach to the translation of EER schemas into relational schemas. Their proposed approach separates the translation process into four stages: (1) translating EER schemas into canonical relation schemas, (2) assigning names to relational attributes, (3) normalizing relational schemas representing EER schemas, and (4) merging relational schemas in relation schemas representing EER schemas. This approach takes into account two key points: inclusion dependencies and null constraints, and appropriate name assignments for relational attributes. Based on the above, the authors examine alternative equivalent relational representations for EER schemas and show that EER translation and normalization can be combined without restricting or restructuring the original EER schema. The paper does not claim to address the complex issues related to the interpretation of the real-world informational meaning represented by an EER. Therefore, within the constraint inherent in the accuracy and meaning of the semantic data model, the authors approach is an improvement to the traditional database design. The paper is well written, concise, and understandable to a wide circle of database designers and researcher s. While it may be too long for researchers in the field, its many examples are a good tutorial feature. The references cited are complete and satisfactory for the scope of the paper.

        Access critical reviews of Computing literature here

        Become a reviewer for Computing Reviews.

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in

        Full Access

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader