[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-656019-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-656019-en":130,"doc-similar-656019":162},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","the-entity-relationship-model-overview-basic-er-constructs-translation-into-the-relational-model","The Entity-Relationship Model - Overview - Basic ER Constructs - Translation into the Relational Model","","This document explains how to design databases using the Entity-Relationship (ER) model and how it fits into the broader database design process. It outlines three design phases: conceptual, logical, and physical, and clarifies why multiple phases matter for managing complexity and isolating performance concerns. It introduces ER model constructs, entity and relationship concepts, and cardinalities, then shows how ER diagrams and schemas can be translated into equivalent relational models.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/the-entity-relationship-model-overview-basic-er-constructs-translation-into-the-relational-model/656019/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/the-entity-relationship-model-overview-basic-er-constructs-translation-into-the-relational-model/656019.png","ImageObject",300,407,{"name":42,"@type":43},"4398046744996","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-12-01","2026-10-25",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",8,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What are the three phases of database design described in the document?","Question",{"text":63,"@type":64},"The document divides DB design into conceptual (initial model of the mini world), logical (transformation into the data model supported by the DBMS, e.g., relational), and physical (indexing, distribution, buffer sizing to maximize performance).","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"Why are multiple design phases useful?",{"text":68,"@type":64},"Multiple phases partition the work so that conceptual design can ignore performance and specific SQL dialects, while DBMS features only partially influence logical design. This keeps conceptual results valid even if a different DBMS is chosen later.",{"name":70,"@type":61,"acceptedAnswer":71},"What does the ER model emphasize compared with the relational model?",{"text":72,"@type":64},"The ER model is presented as a semantic model that resembles real-world scenarios and distinguishes entities from relationships. In the relational model, both entities and relationships are represented uniformly as relations.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},656019,1793029558,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,105,110,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":103,"slug":104},6,50,"technology",{"id":106,"doc_module":4,"doc_module_name":25,"category_name":107,"show_sort_weight":108,"slug":109},7,"Healthcare",40,"healthcare",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":111,"show_sort_weight":112,"slug":113},"Research & Report",30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":97,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":11,"doc_module":4,"category_id":102,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":133,"file_id":134,"file_url":135,"file_type":136,"file_size":137,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":138,"language":139,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":12,"update_tm":143,"read_time":144,"preview_page_count":33,"preview_urls":145},4398046744996,"165  \nThe Entity-Relationship Model  \n􀂈 After completing this chapter, you should be able to  \n. explain the three phases of database design, Why are multiple phases useful?  \n. evaluate the signi􀀌cance of the Entity-Relationship Model (ER model) for DB design,  \n. enumerate the basic constructs of the ER model,  \n. develop ER diagrams (schemas in the ER model) for a given application,  \n. translate ER models into equivalent (as far as possible) relational models.  \n166  \nThe Entity-Relationship Model  \nOverview  \n1. Database Design Overview  \n2 . Basic ER Constructs  \n3 . Kinds of Relationships (Cardinalities)  \n4 . Keys, Weak Entities  \n5 . Translation into the Relational Model  \n167  \nDatabase Design (1)  \n􀂈 Overall goal of DBMS usage: E􀀎ciently develop programs to support given real-world tasks.  \n􀂈 These programs need to store data persistently.  \n􀂈 To develop these programs, apply proven methods of software engineering|specialized to support data-intensive programs.  \nDatabase Design  \nDatabase Design is the process of developing a database schema for a given application.  \nDB design is a subtask of the overall software engineering  \ne􀀋ort.   \n168  \nDatabase Design (2)  \n􀂈 The speci􀀌cation of programs and data is intertwined:  \n. The schema should contain the data needed by the programs.  \n. Programsthe data toa re oftbe meanni epaulsaytteod dheavsebloepenoncespecith􀀌eedstructure of􀁿  \n􀂈 Data, however, is an independent resource:  \n. Typically, additional programs will be developed later based on the collected data.  \n. Also, ad-hoc queries will be posed against the DB.  \n169  \nDatabase Design (3)  \n􀂈 During DB design, a formal model of the relevant aspects of the real world (\\mini world\", \\domain of discourse\") must be built.  \nOnce the DB is up and running, questions will be posed against the DB. Knowledge of these questions beforehand is important input to the DB design process and helps to identify the relevant parts of the real world.  \n􀂈 In some sense, the real world is the measure of correctness for the DB schema: the possible DB states should correspond to the states of the real world.  \n170  \nDatabase Design (4)  \n􀂈 DB design is not easy for a variety of reasons:  \n. Expertise: The designer must become an expert for the application domain or needs to talk to such experts. Depending on the domain, these experts might not be used to give a complete and formal account of their 􀀌eld.  \n. Flexibility: The real world typically permits exceptions and corner cases. Does the DB schema need to re􀀍ect these?  \n. Size: Database schemas may become huge (in terms of number of relations, attributes, constraints) .  \n􀂈 Due to this complexity, DB design is a multi-step process.  \n171  \nDatabase Design (5)  \nThree Phases of DB Design  \nO1 Conceptual Database Design. Produces the initial model of the mini world in a conceptual data model (e.g. , in the ER model) .  \nO2 Logical Database Design. Transforms the conceptual schema into the data model supported by the DBMS (e.g. , the relational model) .  \nO3 Physical Database Design. Design indexes, table distribution, bu􀀋er size, etc. , to maximize performance of the 􀀌nal system (subject of \\Datenbanken II\") .  \n172  \nDatabase Design (6)  \n􀂈 Why multiple design phases?  \n. Partition the problem, attack one sub-problem after the other.  \nFor example, during conceptual design there is no need to worry about performance aspects or limitations of the speci􀀌c SQL dialect of the RDBMSs.  \n. DBMS features do not in􀀍uence the conceptual design and only partially in􀀍uence the logical design.  \nThus, the conceptual design work is not invalidated, if adi􀀋erent DBMS is used later on.  \n173  \nExample (1)  \n􀂈 ER schema in graphical notation:  \nER schema in graphical notation:   \nName Phone No Title   \n. This mini world talks about instructors and courses.  \n. Instructors teach courses.  \n. Instructors have a name and a phone number.  \n. Courses are numbered and have titles.  \nExample (2)  \n174  \nte","cbCaigCNekDQbOo3","https://ap.wps.com/l/cbCaigCNekDQbOo3","pdf",429994,32,"English","# The Entity-Relationship Model\n## Database Design Overview\n## Basic ER Constructs\n## Kinds of Relationships (Cardinalities)\n## Keys, Weak Entities\n## Translation into the Relational Model\n## Three Phases of DB Design\n## Why Multiple Design Phases?","[{\"question\":\"What are the three phases of database design described in the document?\",\"answer\":\"The document divides DB design into conceptual (initial model of the mini world), logical (transformation into the data model supported by the DBMS, e.g., relational), and physical (indexing, distribution, buffer sizing to maximize performance).\"},{\"question\":\"Why are multiple design phases useful?\",\"answer\":\"Multiple phases partition the work so that conceptual design can ignore performance and specific SQL dialects, while DBMS features only partially influence logical design. This keeps conceptual results valid even if a different DBMS is chosen later.\"},{\"question\":\"What does the ER model emphasize compared with the relational model?\",\"answer\":\"The ER model is presented as a semantic model that resembles real-world scenarios and distinguishes entities from relationships. In the relational model, both entities and relationships are represented uniformly as relations.\"}]","The Entity-Relationship Model - Overview - Basic ER Constructs - Translation into the Relational Model | PDF",1792965694,81,[146,150,154,158],{"page_no":22,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/6fabc7799d3be2dd071d5284bad83175.webp",983,1390,{"page_no":26,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/353fdc82aed81fe7880d083c133702eb.webp",982,1388,{"page_no":30,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/c9a207d8696afd480eab38c19e487bff.webp",981,1387,{"page_no":33,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/35cb7f6782dc90a45c4e1a9a14c2b2ce.webp",980,1385,{"list":163,"token":11},[164,170,176,182,188,195,202,208,215,221],{"doc_id":165,"doc_title":166,"file_type":136,"home_preview_img_url":167,"slug":168,"view_count":115,"category_name":29,"create_tm":169},656146,"DBMS UNIT III - Database Management Systems - Unit 3","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975301649/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796134079&Signature=3EDIXJilvuaJ8%2B1AzeVRAm6UvBg%3D","dbms-unit-iii-database-management-systems-unit-3",1792966705,{"doc_id":171,"doc_title":172,"file_type":136,"home_preview_img_url":173,"slug":174,"view_count":106,"category_name":29,"create_tm":175},655985,"Entity-Relationship Diagrams - Lecture 3 - Database Design and ER Modeling","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975296460/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796134079&Signature=dfA87Q3xkgEohBOXZpiY2IUBrbk%3D","entity-relationship-diagrams-lecture-3-database-design-and-er-modeling",1792965344,{"doc_id":177,"doc_title":178,"file_type":136,"home_preview_img_url":179,"slug":180,"view_count":106,"category_name":29,"create_tm":181},655995,"Lecture Notes - Database Design and ER Model","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975296866/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796134079&Signature=z2KOU0VhBoa5PRqjJKZLToVgkDM%3D","lecture-notes-database-design-and-er-model",1792965449,{"doc_id":183,"doc_title":184,"file_type":136,"home_preview_img_url":185,"slug":186,"view_count":106,"category_name":29,"create_tm":187},656116,"Applied Databases - Handout 2 - Database Design","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974785283/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796134079&Signature=uzJTxLvkuQeqz5nkcSHOLt1a8G8%3D","applied-databases-handout-2-database-design",1792966474,{"doc_id":189,"doc_title":190,"file_type":136,"home_preview_img_url":191,"slug":192,"view_count":193,"category_name":29,"create_tm":194},656122,"Translating Entity-Relationship to Relational Tables - Fall 2026 - David Toman","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974785418/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796134079&Signature=8961zAgCWj%2BonSiM9CeV1ZDm6Lg%3D","translating-entity-relationship-to-relational-tables-fall-2026-david-toman",11,1792966526,{"doc_id":196,"doc_title":197,"file_type":136,"home_preview_img_url":198,"slug":199,"view_count":200,"category_name":29,"create_tm":201},656023,"Chapter 3 - Chapter 3 - Database Design Basics","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974782468/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796134079&Signature=vvY0QCWUd0vYZ96ARqXepKTVJeE%3D","chapter-3-chapter-3-database-design-basics",14,1792965701,{"doc_id":203,"doc_title":204,"file_type":136,"home_preview_img_url":205,"slug":206,"view_count":106,"category_name":29,"create_tm":207},655951,"Entity Relationship Diagram - Database Design and Constraints","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975294792/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796134079&Signature=gkE3ErlBaEdFlV0tRD6e8tElcHU%3D","entity-relationship-diagram-database-design-and-constraints",1792965071,{"doc_id":209,"doc_title":210,"file_type":136,"home_preview_img_url":211,"slug":212,"view_count":213,"category_name":29,"create_tm":214},655954,"ER Diagram Tutorial - Entity Relationship Diagrams - How to Use Symbols, Notations, and Software","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975294853/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796134079&Signature=WxP1ntWKp9hQrQ%2FBhrY2JX1KNOI%3D","er-diagram-tutorial-entity-relationship-diagrams-how-to-use-symbols-notations-and-software",18,1792965075,{"doc_id":216,"doc_title":217,"file_type":136,"home_preview_img_url":218,"slug":219,"view_count":106,"category_name":29,"create_tm":220},656016,"Converting ER Diagrams to Tables - Lecture Notes - Relationship-to-Table Conversion","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975297785/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796134079&Signature=J%2B3OuM%2FrYzZLH813K3uQ5f%2B3GsQ%3D","converting-er-diagrams-to-tables-lecture-notes-relationship-to-table-conversion",1792965688,{"doc_id":222,"doc_title":223,"file_type":136,"home_preview_img_url":224,"slug":225,"view_count":193,"category_name":29,"create_tm":226},655952,"E R design decisions - Decision guidance for ER modeling","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975294803/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796134079&Signature=IijF0PPYrhcpJFIAwcG1BnaR1RA%3D","e-r-design-decisions-decision-guidance-for-er-modeling",1792965074]