

























































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
This study guide provides a comprehensive overview of database design verification and logical design, focusing on the importance of ensuring the accuracy and efficiency of the database design. It covers key concepts such as entity-relationship diagrams (erds), data normalization, and the database life cycle (dblc). The guide also includes detailed explanations of the verification process, steps involved in logical design, and factors to consider when evaluating database system performance. It is a valuable resource for students and professionals seeking to understand the principles and practices of database design.
Typology: Exams
1 / 65
This page cannot be seen from the preview
Don't miss anything!
How is a database design verified, and why is such verification necessary?
Use our detailed answer to question 1 to focus class discussion on database design verification. Stress that the verification process uses the initial ER model as a communication tool.
The designer may begin the verification process by describing the organization's operations to its end users, basing the detailed description on the initial ER model. Next, explain how the operations will be supported by the database design. Stress that the design must support the end-user application views, outputs, and inputs. Points to be addressed include such questions as: Is the description accurate? If not, what aspects of the description must be corrected? Does the model support the end-user requirements? If not, what aspects of the end-user requirements have not been addressed or have been addressed inadequately?
Keep in mind that even a model that perfectly addresses all initially determined end user requirements is likely to need adjustments as those end users begin to understand the ramifications of the database design's capabilities. In many cases, the end users may learn what the organization's processes and procedures actually are, thus leading to new requirements and the perception of new opportunities. The database designer must keep such likely developments in mind, especially if (s)he works as a database design consultant. (Anticipation of such developments must be factored into the contract negotiations for consulting fees.)
Discuss the role of the system modules.
The use of system modules can hardly be overemphasized in a database design environment. Stress these module characteristics and features: Modules represent subsets of the database model: Smaller "pieces" are more easily understood. Modules are self-contained and accomplish a specific system function; if such a system function must be modified, other functions remain unaffected. Modules fit into a modular database design, which is more easily modified and adapted to new circumstances. Because modification efforts are focused on a database subset, productivity of both designers and application developers is likely to be enhanced.
Module interfaces must be clear if the modules are expected to work well within the overall system.
3. Identify and define each of the module's processes.
Specifically, this step requires the identification and definition of the database transactions that represent the module's real-world operations.
reasonable amount of time and at a reasonable cost. Keeping in mind that "reasonable" means different things to different people, we must address at least these important performance factors:
Concurrent users For any given system, the more users connected to the system, the longer the data retrieval time.
The verification process must include the following steps:
Check the database model against these transaction requirements, verify the model's efficiency and effectiveness, and make the necessary changes.
5. Describe and discuss the ER model's treatment of the UCL's inventory/order hierarchy: a. Category b. Class c. Type d. Subtype
The objective here is to focus student attention on the details of the UCL's approach to inventory management. Note that the UCL's ER model uses two closely related entities to manage items in
Inventory types are classified through the use of a hierarchy composed of CATEGORY, CLASS, and TYPC. (We may even identify SUBTYPE for each TYPE!) Basically, the hierarchy may be described this way:
A category has many classes, and a class has many types. For example, the category hardware includes the classes computer and printer. The class computer has many types that are defined by their CPU: 486 and Pentium computers. Similarly, the category supplies can have several classes : diskette, paper, etc. Each class can have many types : 3.5 DD diskette, 3.5 HD diskette, 8.5x11 paper, 8.5x14 paper, and so on. We may even identify subtypes : Each type can have many subtypes. For example, the class "paper" includes the types “single-sheet” and “continuous-feed”; the single-sheet type may be classified by subtype 8 x 11 inches or 11 x 14 inches. The following table summarizes some of the inventory types identified in the system. Note that the hierarchy may be illustrated as shown in Table QC.5A.
Computer
Desktop Desktop Laptop
Printer
Laser Laser Inkjet Inkjet Plotter
8 ppm 12 ppm Color Black 2 x 3
Continuous-feed Single sheet Single sheet
8 x 10 11 x 14
It is important to note that each item can belong to only one specific inventory type. Also, keep in mind that the ORDER_ITEM entity interfaces with the INVENTORY_TYPE, rather than with the ITEM entity. The reason for this interface is clearly based on the chapter's description of the UCL operations: "The CLD requests items without specifying a specific brand and/or vendor." Given this requirement, it is clear that the ITEM can't be identified in the request. (The ITEM's primary key is its serial number, which can't be identified until the ITEM is received!) However, to make the request, we must know the requested item's inventory type. Therefore, ORDER is related to the INVENTORY_TYPE, and not to the ITEM.
The hierarchy shown here has led us to develop the classification scheme shown in the text's Inventory Classification Hierarchy, illustrated in table QC.5B:
An employee can take many courses, and each course can be taken by many employees.
Once you have traced the development of the ERD segment, verify it and then provide sample data for each of the three tables to illustrate how the design would be implemented.
Follow the verification steps described in the answer to question 4. Note that the composite TRAINING entity shown in Figure QC.6 reflects part of the verification process that began with the M:N relationship between EMPLOYEE and COURSC. (An employee can take many courses and many employees can take each course.)
Part of the verification process involves the elimination of multi-valued attributes. For example, an EMPLOYEE table that contains an attribute EMP_TRAINING containing strings such as “fire safety, weather, air regulations” have already been eliminated by the composite TRAINING entity. The structure shown in Figure QC.6 allows us to add attributes to ensure that training details – such as dates, grades, training locations, etc. -- can be traced, too.
One additional – and very important -- point is worth mentioning: at this point, Figure QC.6’s ERD cannot handle recurrent training requirements. That is, if some courses must be retaken periodically, as is common in many transportation businesses, the TRAINING entity’s PK – at this point composed of the EMP_NUM + COURSE_CODE – will not yield a unique value if the course is retaken from time to time. The solution to this problem can be found in either one of two ways:
EMP_NUM EMP_LNAME 105 Ortega
EMP_NUM COURSE_CODE TRAIN_DATE TRAIN_GRADE 105 FAR- 135 - P 26 - Sep- 2013 90 105 HM- 01 18 - Dec- 2013 92 101 FAR- 135 - P 23 - Nov- 2013 93 105 WEA- 01 10 - Mar- 2014 87 101 HM- 01 15 - Sep- 2013 91 101 WEA- 01 26 - Sep- 2013 85 105 FAR- 135 - P 11 - Feb- 2014 97 101 WEA- 01 26 - Mar- 2014 89
COURSE_CODE COURSE_DESCRIPTION FAR- 135 - P Aircraft charter regulations for pilots FAR- 135 - M Aircraft maintenance for charter operations HM- 01 Hazardous materials handling WEA- 01 Aviation weather – basic operations WEA- 02 Aviation weather – instrument operations
TRAIN_NUM EMP_NUM COURSE_CODE TRAIN_DATE TRAIN_GRADE 1203 105 FAR- 135 - P 26 - Sep- 2013 90 1204 105 HM- 01 18 - Dec- 2013 92 1205 101 FAR- 135 - P 23 - Nov- 2013 93 1206 105 WEA- 01 10 - Mar- 2014 87 1207 101 HM- 01 15 - Sep- 2014 91 1208 101 WEA- 01 26 - Sep- 2013 85 1209 105 FAR- 135 - P 11 - Feb- 2014 97 1210 101 WEA- 01 26 - Mar- 2014 89
We would recommend the second approach. Generally speaking, single-attribute PKs are preferred over composite PKs. Single-attribute PKs are more easily handled if the table is to be linked to a related table later. (The linking is done through a FK – which is the PK in the “parent” table. But if