{"title":"e - r设计的关系模式的反向数据工程","authors":"F. Springsteel, C. Kou","doi":"10.1109/PARBSE.1990.77173","DOIUrl":null,"url":null,"abstract":"A novel solution is presented for the data engineer's inverse mapping problem: to construct from a relational database schema (RDBS) a corresponding entity-relationship diagram (ERD). The inverse mapping is difficult because many ERDs may correspond to one ERDs, or to none if the schema is not well formed, so it is not clear how to define a mapping in this direction. Nonetheless, it would be desirable to choose the most representative ERD whenever possible, so that the benefits of E-R visualization and analysis can be applied to RDBSs, even after their relation schemes have been changed. The authors present a first approach to an experimental solution for this inversion problem, for the case of an RDBS that was originally designed by an ERD-based algorithm, which means that it was once a canonical relational schema (CRS) and subsequently altered. The demonstration system tracks each 'atomic change' in the CRS and determines, by means of its PROLOG-implemented E-R knowledge base, the corresponding changes in the given ERD. The reasonable restrictions that the present system puts on the legal set of possible changes, for example, on deletions, allow it to trace their effects correctly, so that well-formedness of the ERD is preserved.<<ETX>>","PeriodicalId":389644,"journal":{"name":"Proceedings. PARBASE-90: International Conference on Databases, Parallel Architectures, and Their Applications","volume":"21 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1990-03-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"24","resultStr":"{\"title\":\"Reverse data engineering of E-R-designed relational schemas\",\"authors\":\"F. Springsteel, C. Kou\",\"doi\":\"10.1109/PARBSE.1990.77173\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"A novel solution is presented for the data engineer's inverse mapping problem: to construct from a relational database schema (RDBS) a corresponding entity-relationship diagram (ERD). The inverse mapping is difficult because many ERDs may correspond to one ERDs, or to none if the schema is not well formed, so it is not clear how to define a mapping in this direction. Nonetheless, it would be desirable to choose the most representative ERD whenever possible, so that the benefits of E-R visualization and analysis can be applied to RDBSs, even after their relation schemes have been changed. The authors present a first approach to an experimental solution for this inversion problem, for the case of an RDBS that was originally designed by an ERD-based algorithm, which means that it was once a canonical relational schema (CRS) and subsequently altered. The demonstration system tracks each 'atomic change' in the CRS and determines, by means of its PROLOG-implemented E-R knowledge base, the corresponding changes in the given ERD. The reasonable restrictions that the present system puts on the legal set of possible changes, for example, on deletions, allow it to trace their effects correctly, so that well-formedness of the ERD is preserved.<<ETX>>\",\"PeriodicalId\":389644,\"journal\":{\"name\":\"Proceedings. PARBASE-90: International Conference on Databases, Parallel Architectures, and Their Applications\",\"volume\":\"21 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"1990-03-07\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"24\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings. PARBASE-90: International Conference on Databases, Parallel Architectures, and Their Applications\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/PARBSE.1990.77173\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings. PARBASE-90: International Conference on Databases, Parallel Architectures, and Their Applications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/PARBSE.1990.77173","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Reverse data engineering of E-R-designed relational schemas
A novel solution is presented for the data engineer's inverse mapping problem: to construct from a relational database schema (RDBS) a corresponding entity-relationship diagram (ERD). The inverse mapping is difficult because many ERDs may correspond to one ERDs, or to none if the schema is not well formed, so it is not clear how to define a mapping in this direction. Nonetheless, it would be desirable to choose the most representative ERD whenever possible, so that the benefits of E-R visualization and analysis can be applied to RDBSs, even after their relation schemes have been changed. The authors present a first approach to an experimental solution for this inversion problem, for the case of an RDBS that was originally designed by an ERD-based algorithm, which means that it was once a canonical relational schema (CRS) and subsequently altered. The demonstration system tracks each 'atomic change' in the CRS and determines, by means of its PROLOG-implemented E-R knowledge base, the corresponding changes in the given ERD. The reasonable restrictions that the present system puts on the legal set of possible changes, for example, on deletions, allow it to trace their effects correctly, so that well-formedness of the ERD is preserved.<>