SlideShare a Scribd company logo
1 of 66
8
Chapter 8
The University Lab: Conceptual
Design Verification, Logical
Design, and Implementation
Database Systems: Design, Implementation, and Management
4th Edition
Peter Rob & Carlos Coronel
8
Completing the Conceptual
and Logical Database Design
 Issues to Be Addressed
 Entity relationship modeling and normalization
 Data model verification
 Logical design
 Physical design
 Implementation
 Testing and evaluation
 Operation
 Two UCL System Modules
 Lab Management System
 Inventory Management System
8
The University Lab System’s Design Organization
Table 8.1
8
The Lab Management System Module’s E-R Segment
Figure 8.1
8
The USER Entity
Table 8.2
8
Sample USER Data
Figure 8.2
8
The LOG Entity
Table 8.3
8
The LOG Sample Data
Figure 8.3
8
The LAB_ASSISTANT Entity
Table 8.4
8
Selected LAB_ASSISTANT Records
Figure 8.4
8
Table 8.5 The Lab Assistant Work Scheduling Sheet
8
The WORK_SCHEDULE Entity
Table 8.6
8
Sample WORK_SCHEDULE Data
Figure 8.5
8
Table 8.7 The HOURS_WORKED Entity
Figure 8.6 Sample Data in the HOURS_WORKED Table
8
The RESERVATION Entity
Table 8.8
8
Figure 8.7 The RESERVATION Sample Data
Table 8.9 The Revised RESERVATION Entity
8
Table 8.10 The RES_SLOT (Weak) Entity
Figure 8.8 The RES_SLOT Sample Data
8
Figure 8.9 The Inventory Management Module’s E-R Segment
8
An Inventory Classification Hierarchy
Table 8.11
8
The INV_TYPE Classification Hierarchy As A Tree Diagram
Figure 8.10
8
The INV_TYPE Entity
Table 8.12
8
The INV_TYPE Sample Data
Figure 8.11
8
The ITEM Entity
Table 8.13
8
The STORAGE Entity
Table 8.14
8
Figure 8.12 Sample ITEM Data
Figure 8.13
The STORAGE Sample Data
8 Table 8.15 The LOCATION Entity
Figure 8.14 The LOCATION Sample Data
8
Table 8.16 The REPAIR Entity
8
The REPAIR Sample Data
Figure 8.15
8
The VENDOR Entity
Table 8.17
8
The VENDOR Sample Data
Figure 8.16
8
Table 8.18 The ORDER Entity
8
Sample ORDER Data
Figure 8.17
8
The ORDER_ITEM Entity
Table 8.19
8
The ORDER_ITEM Sample Data
Figure 8.18
8
The WITHDRAW Entity’s Revision Process
Figure 8.19
8
The WITHDRAW Entity
Table 8.20
8 Table 8.21 The Revised WITHDRAW Entity
Figure 8.20 The WITHDRAW Sample Data
8 Table 8.22 The WD_ITEM (Weak) Entity
Figure 8.21 The WD_ITEM Sample Data
8
The CHECK_OUT Design Revision Process
Figure 8.22
8 Table 8.23 The CHECK_OUT Entity
Figure 8.23 The CHECK_OUT Sample Data
8 Table 8.24 The CHECK_OUT_ITEM (Weak) Entity
Figure 8.24 The CHECK_OUT_ITEM Sample Data
8
Chapter 8
The University Lab: Conceptual
Design Verification, Logical
Design, and Implementation
Database Systems: Design, Implementation, and Management
4th Edition
Peter Rob & Carlos Coronel
8
E-R Model Verification
 Review of the Conceptual Design Process
 Entity sets, attributes, and domains
 Composite attributes
 Multivalued attributes
 Primary keys
 Foreign keys
 Derived attributes
 Composite entities
8
E-R Model Verification
 The verification process is used to established that:
 The design properly reflects the end user or application
views of the database.
 All database transactions are defined and modeled to
ensure that the implementation of the design will
support all transaction-processing requirements.
 The database design is capable of meeting all output
requirements.
 All required input screens and data entry forms are
supported.
 The design is sufficiently flexible to support expected
enhancements and modifications.
8
E-R Model Verification
 Tasks of E-R Model Verification
 Identifying the central entity
 Identifying each module and its components
 Identifying each module transaction requirement
8
E-R Model Verification
 Problems with the Inventory Management Module:
 The Inventory module generates three reports, one of
which is an inventory movement report. But the
inventory movements are spread across several
different entities. Such a spread makes it difficult to
generate the output and reduces system performance.
 An item’s quantity on hand is updated with an inventory
movement that can represent a purchase, withdraw,
check-out, check-in, or inventory adjustment. Yet only
the withdrawals and check-outs are represented in the
model.
8
E-R Model Verification
 Solution
 Creating a new entity to record all inventory
movement; that is, an inventory entity is needed.
 Creation of the new entity INV_TRANS serves two
purposes as a common entry points:
 It standardizes the inventory module’s interface
with other modules.
 It facilitates control and generation of required
outputs, such as the inventory movement report.
8
Figure 8.25 The Inventory Transaction Process
8
8
8
The TR_ITEM (Weak) Entity
Table 8.26
8
The TR_ITEM Sample Data
Figure 8.27
8
8
Logical Design
 The logical design translates the conceptual model to
match the format expected of the DBMS that is used
to implement the system.
 It sets the stage for creating the relational table
structures, indexes, and views.
8
Logical Design
 Tables
 Example of SQL to create the STORAGE table:
CREATE TABLE STORAGE (
LOC_ID CHAR(12) NOT NULL,
ITEM_ID CHAR(10) NOT NULL,
STOR_QTY NUMBER,
PRIMARY KEY (LOC_ID, ITEM_ID),
FOREIGN KEY (LOC_ID) REFERENCES LOCATION
ON DELETE RESTRICT
ON UPDATE RESTRICT,
FOREIGN KEY (ITEM_ID) REFERENCES ITEM
ON DELETE CASCADE
ON UPDATE CASCADE);
8
8
Logical Design
 Indexes
 Indexes are created to enhance operational speed
and to enable us to produce logically ordered
output sequences.
CREATE UNIQUE INDEX LA_DEX
ON LAB_ASSISTANT (LA_ID);
CREATE UNIQUE INDEX WS_DEX
ON WORK_SCHEDULE (SCHED_SEMESTER, LA_ID,
SCHED_WEEKDAY, SCHED_TIME_IN);
8
Logical Design
 Views
 Views are often used for security purposes.
However, views are also used to streamline the
system’s processing requirements.
CREATE VIEW LA_SCHED AS
SELECT LA_ID, LA_NAME, SCHED_WEEKDAY,
SCHED_TIME_IN, SCHED_TIME_OUT
WHERE SCHED_SEMESTER = ‘FALL99’;
8
Physical Design
 Physical design requires the definition of specific
storage or access methods that will be used by the
database.
 It must include an estimate of the space required to
store the database.
 Physical storage characteristics are a function of the
DBMS and the operating systems being used.
8
Table 8.27 Fixed Space Claimed By OS/2 DBM V1.2 Per Database
Table 8.28 Physical Storage Requirements: The USER Table
8
Implementation
 Database administrator (DBA), who controls the
database management function, must define the
standards and procedures required to interact with
the database.
 The implementation plan includes:
 Formal definitions of the processes and standards.
 Chronology of the required activities.
 Development of adequate documentation standards.
 Identification of responsibilities for continued
development and maintenance.
8
Implementation
 Database Creation
 Tables, indexes, and views are created.
 Storage space and access methods are
implemented.
 Database Loading and Conversion
 Data are entered one table at a time or by copying
the data from existing databases or files.
 Processes may require data to be loaded in a
specific order.
8
Implementation
 System Procedures
 System procedures describe the steps required to
manage, access, and maintain the database
system.
 Procedures must be established to
 Test and evaluate the database.
 Fine-tune the database.
 Ensure database security and integrity.
 Back up and recover the database.
 Access and use the database system.
8
Testing and Evaluation
 The purpose of testing and evaluation is to determine
how well the database meets its goals.
 Testing and evaluation should be an ongoing
process.
 Testing and evaluation should consider:
 Performance measures.
 Security measures.
 Backup and recovery procedures.
8
Operation
 Database operation is an ongoing venture that
includes all the DBA’s administrative and technical
functions designed to ensure the database’s
continuity.
 Operational Database
An operational database provides all necessary support for
the system’s daily operations and maintains all appropriate
operational procedures.
 Operational Procedures
Database operational procedures are written documents in
which the activities of the daily database operations are
described.
 Managing the Database: Maintenance and Evolution
The DBA is responsible for coordinating all operational and
managerial aspects of the new DBMS environment.
8
Operation
 DBA’s Responsibilities
 Monitoring and fine-tuning the database
 Planning for and allocating resources for changes and
enhancements
 Planning for and allocating resources for periodic system
upgrades
 Providing preventive and corrective maintenance
 Providing end user management services
 Performing periodic security audits
 Performing necessary training
 Establishing and enforcing database standards
 Marketing the database to the organization’s users
 Obtaining funding for database operations, upgrades, and
enhancements
 Ensuring completion of database projects within time and
budget constraints

More Related Content

Similar to CH08.ppt

Chapter Five Physical Database Design.pptx
Chapter Five Physical Database Design.pptxChapter Five Physical Database Design.pptx
Chapter Five Physical Database Design.pptxhaymanot taddesse
 
Analysis Services en SQL Server 2008
Analysis Services en SQL Server 2008Analysis Services en SQL Server 2008
Analysis Services en SQL Server 2008Eduardo Castro
 
Bi Architecture And Conceptual Framework
Bi Architecture And Conceptual FrameworkBi Architecture And Conceptual Framework
Bi Architecture And Conceptual FrameworkSlava Kokaev
 
Systemmodels
SystemmodelsSystemmodels
Systemmodelssietk
 
An introduction to new data warehouse scalability features in sql server 2008
An introduction to new data warehouse scalability features in sql server 2008An introduction to new data warehouse scalability features in sql server 2008
An introduction to new data warehouse scalability features in sql server 2008Klaudiia Jacome
 
Whats New Sql Server 2008 R2
Whats New Sql Server 2008 R2Whats New Sql Server 2008 R2
Whats New Sql Server 2008 R2Eduardo Castro
 
Whats New Sql Server 2008 R2 Cw
Whats New Sql Server 2008 R2 CwWhats New Sql Server 2008 R2 Cw
Whats New Sql Server 2008 R2 CwEduardo Castro
 
Skills Portfolio
Skills PortfolioSkills Portfolio
Skills Portfoliorolee23
 
SQL SERVER 2008 R2 CTP
SQL SERVER 2008 R2 CTPSQL SERVER 2008 R2 CTP
SQL SERVER 2008 R2 CTPGovind S Yadav
 
Day 8.1 system_admin_tasks
Day 8.1 system_admin_tasksDay 8.1 system_admin_tasks
Day 8.1 system_admin_taskstovetrivel
 
Remote DBA Experts 11g Features
Remote DBA Experts 11g FeaturesRemote DBA Experts 11g Features
Remote DBA Experts 11g FeaturesRemote DBA Experts
 
Oracle database performance tuning
Oracle database performance tuningOracle database performance tuning
Oracle database performance tuningYogiji Creations
 
Microsoft MCSE 70-467 it exams dumps
Microsoft MCSE 70-467 it exams dumpsMicrosoft MCSE 70-467 it exams dumps
Microsoft MCSE 70-467 it exams dumpslilylucy
 
Novidades do SQL Server 2016
Novidades do SQL Server 2016Novidades do SQL Server 2016
Novidades do SQL Server 2016Marcos Freccia
 
Sql server ___________session 1(sql 2008)
Sql server  ___________session 1(sql 2008)Sql server  ___________session 1(sql 2008)
Sql server ___________session 1(sql 2008)Ehtisham Ali
 
R12 d49656 gc10-apps dba 07
R12 d49656 gc10-apps dba 07R12 d49656 gc10-apps dba 07
R12 d49656 gc10-apps dba 07zeesniper
 
Practical SQL query monitoring and optimization
Practical SQL query monitoring and optimizationPractical SQL query monitoring and optimization
Practical SQL query monitoring and optimizationIvo Andreev
 
3._DWH_Architecture__Components.ppt
3._DWH_Architecture__Components.ppt3._DWH_Architecture__Components.ppt
3._DWH_Architecture__Components.pptBsMath3rdsem
 

Similar to CH08.ppt (20)

Chapter Five Physical Database Design.pptx
Chapter Five Physical Database Design.pptxChapter Five Physical Database Design.pptx
Chapter Five Physical Database Design.pptx
 
Analysis Services en SQL Server 2008
Analysis Services en SQL Server 2008Analysis Services en SQL Server 2008
Analysis Services en SQL Server 2008
 
Bi Architecture And Conceptual Framework
Bi Architecture And Conceptual FrameworkBi Architecture And Conceptual Framework
Bi Architecture And Conceptual Framework
 
Systemmodels
SystemmodelsSystemmodels
Systemmodels
 
An introduction to new data warehouse scalability features in sql server 2008
An introduction to new data warehouse scalability features in sql server 2008An introduction to new data warehouse scalability features in sql server 2008
An introduction to new data warehouse scalability features in sql server 2008
 
Whats New Sql Server 2008 R2
Whats New Sql Server 2008 R2Whats New Sql Server 2008 R2
Whats New Sql Server 2008 R2
 
Whats New Sql Server 2008 R2 Cw
Whats New Sql Server 2008 R2 CwWhats New Sql Server 2008 R2 Cw
Whats New Sql Server 2008 R2 Cw
 
Skills Portfolio
Skills PortfolioSkills Portfolio
Skills Portfolio
 
SQL SERVER 2008 R2 CTP
SQL SERVER 2008 R2 CTPSQL SERVER 2008 R2 CTP
SQL SERVER 2008 R2 CTP
 
James hall ch 14
James hall ch 14James hall ch 14
James hall ch 14
 
VTU - MIS Module 4 - SDLC
VTU - MIS Module 4 - SDLCVTU - MIS Module 4 - SDLC
VTU - MIS Module 4 - SDLC
 
Day 8.1 system_admin_tasks
Day 8.1 system_admin_tasksDay 8.1 system_admin_tasks
Day 8.1 system_admin_tasks
 
Remote DBA Experts 11g Features
Remote DBA Experts 11g FeaturesRemote DBA Experts 11g Features
Remote DBA Experts 11g Features
 
Oracle database performance tuning
Oracle database performance tuningOracle database performance tuning
Oracle database performance tuning
 
Microsoft MCSE 70-467 it exams dumps
Microsoft MCSE 70-467 it exams dumpsMicrosoft MCSE 70-467 it exams dumps
Microsoft MCSE 70-467 it exams dumps
 
Novidades do SQL Server 2016
Novidades do SQL Server 2016Novidades do SQL Server 2016
Novidades do SQL Server 2016
 
Sql server ___________session 1(sql 2008)
Sql server  ___________session 1(sql 2008)Sql server  ___________session 1(sql 2008)
Sql server ___________session 1(sql 2008)
 
R12 d49656 gc10-apps dba 07
R12 d49656 gc10-apps dba 07R12 d49656 gc10-apps dba 07
R12 d49656 gc10-apps dba 07
 
Practical SQL query monitoring and optimization
Practical SQL query monitoring and optimizationPractical SQL query monitoring and optimization
Practical SQL query monitoring and optimization
 
3._DWH_Architecture__Components.ppt
3._DWH_Architecture__Components.ppt3._DWH_Architecture__Components.ppt
3._DWH_Architecture__Components.ppt
 

More from ssuser5c874e

More from ssuser5c874e (6)

CH11.ppt
CH11.pptCH11.ppt
CH11.ppt
 
CH08.ppt
CH08.pptCH08.ppt
CH08.ppt
 
week-1-200310134908.pptx
week-1-200310134908.pptxweek-1-200310134908.pptx
week-1-200310134908.pptx
 
CH12.ppt
CH12.pptCH12.ppt
CH12.ppt
 
CH09.ppt
CH09.pptCH09.ppt
CH09.ppt
 
data_structures_and_applications_-_module-4.ppt
data_structures_and_applications_-_module-4.pptdata_structures_and_applications_-_module-4.ppt
data_structures_and_applications_-_module-4.ppt
 

Recently uploaded

Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 

Recently uploaded (20)

Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 

CH08.ppt

  • 1. 8 Chapter 8 The University Lab: Conceptual Design Verification, Logical Design, and Implementation Database Systems: Design, Implementation, and Management 4th Edition Peter Rob & Carlos Coronel
  • 2. 8 Completing the Conceptual and Logical Database Design  Issues to Be Addressed  Entity relationship modeling and normalization  Data model verification  Logical design  Physical design  Implementation  Testing and evaluation  Operation  Two UCL System Modules  Lab Management System  Inventory Management System
  • 3. 8 The University Lab System’s Design Organization Table 8.1
  • 4. 8 The Lab Management System Module’s E-R Segment Figure 8.1
  • 8. 8 The LOG Sample Data Figure 8.3
  • 11. 8 Table 8.5 The Lab Assistant Work Scheduling Sheet
  • 14. 8 Table 8.7 The HOURS_WORKED Entity Figure 8.6 Sample Data in the HOURS_WORKED Table
  • 16. 8 Figure 8.7 The RESERVATION Sample Data Table 8.9 The Revised RESERVATION Entity
  • 17. 8 Table 8.10 The RES_SLOT (Weak) Entity Figure 8.8 The RES_SLOT Sample Data
  • 18. 8 Figure 8.9 The Inventory Management Module’s E-R Segment
  • 19. 8 An Inventory Classification Hierarchy Table 8.11
  • 20. 8 The INV_TYPE Classification Hierarchy As A Tree Diagram Figure 8.10
  • 22. 8 The INV_TYPE Sample Data Figure 8.11
  • 25. 8 Figure 8.12 Sample ITEM Data Figure 8.13 The STORAGE Sample Data
  • 26. 8 Table 8.15 The LOCATION Entity Figure 8.14 The LOCATION Sample Data
  • 27. 8 Table 8.16 The REPAIR Entity
  • 28. 8 The REPAIR Sample Data Figure 8.15
  • 30. 8 The VENDOR Sample Data Figure 8.16
  • 31. 8 Table 8.18 The ORDER Entity
  • 34. 8 The ORDER_ITEM Sample Data Figure 8.18
  • 35. 8 The WITHDRAW Entity’s Revision Process Figure 8.19
  • 37. 8 Table 8.21 The Revised WITHDRAW Entity Figure 8.20 The WITHDRAW Sample Data
  • 38. 8 Table 8.22 The WD_ITEM (Weak) Entity Figure 8.21 The WD_ITEM Sample Data
  • 39. 8 The CHECK_OUT Design Revision Process Figure 8.22
  • 40. 8 Table 8.23 The CHECK_OUT Entity Figure 8.23 The CHECK_OUT Sample Data
  • 41. 8 Table 8.24 The CHECK_OUT_ITEM (Weak) Entity Figure 8.24 The CHECK_OUT_ITEM Sample Data
  • 42. 8 Chapter 8 The University Lab: Conceptual Design Verification, Logical Design, and Implementation Database Systems: Design, Implementation, and Management 4th Edition Peter Rob & Carlos Coronel
  • 43. 8 E-R Model Verification  Review of the Conceptual Design Process  Entity sets, attributes, and domains  Composite attributes  Multivalued attributes  Primary keys  Foreign keys  Derived attributes  Composite entities
  • 44. 8 E-R Model Verification  The verification process is used to established that:  The design properly reflects the end user or application views of the database.  All database transactions are defined and modeled to ensure that the implementation of the design will support all transaction-processing requirements.  The database design is capable of meeting all output requirements.  All required input screens and data entry forms are supported.  The design is sufficiently flexible to support expected enhancements and modifications.
  • 45. 8 E-R Model Verification  Tasks of E-R Model Verification  Identifying the central entity  Identifying each module and its components  Identifying each module transaction requirement
  • 46. 8 E-R Model Verification  Problems with the Inventory Management Module:  The Inventory module generates three reports, one of which is an inventory movement report. But the inventory movements are spread across several different entities. Such a spread makes it difficult to generate the output and reduces system performance.  An item’s quantity on hand is updated with an inventory movement that can represent a purchase, withdraw, check-out, check-in, or inventory adjustment. Yet only the withdrawals and check-outs are represented in the model.
  • 47. 8 E-R Model Verification  Solution  Creating a new entity to record all inventory movement; that is, an inventory entity is needed.  Creation of the new entity INV_TRANS serves two purposes as a common entry points:  It standardizes the inventory module’s interface with other modules.  It facilitates control and generation of required outputs, such as the inventory movement report.
  • 48. 8 Figure 8.25 The Inventory Transaction Process
  • 49. 8
  • 50. 8
  • 51. 8 The TR_ITEM (Weak) Entity Table 8.26
  • 52. 8 The TR_ITEM Sample Data Figure 8.27
  • 53. 8
  • 54. 8 Logical Design  The logical design translates the conceptual model to match the format expected of the DBMS that is used to implement the system.  It sets the stage for creating the relational table structures, indexes, and views.
  • 55. 8 Logical Design  Tables  Example of SQL to create the STORAGE table: CREATE TABLE STORAGE ( LOC_ID CHAR(12) NOT NULL, ITEM_ID CHAR(10) NOT NULL, STOR_QTY NUMBER, PRIMARY KEY (LOC_ID, ITEM_ID), FOREIGN KEY (LOC_ID) REFERENCES LOCATION ON DELETE RESTRICT ON UPDATE RESTRICT, FOREIGN KEY (ITEM_ID) REFERENCES ITEM ON DELETE CASCADE ON UPDATE CASCADE);
  • 56. 8
  • 57. 8 Logical Design  Indexes  Indexes are created to enhance operational speed and to enable us to produce logically ordered output sequences. CREATE UNIQUE INDEX LA_DEX ON LAB_ASSISTANT (LA_ID); CREATE UNIQUE INDEX WS_DEX ON WORK_SCHEDULE (SCHED_SEMESTER, LA_ID, SCHED_WEEKDAY, SCHED_TIME_IN);
  • 58. 8 Logical Design  Views  Views are often used for security purposes. However, views are also used to streamline the system’s processing requirements. CREATE VIEW LA_SCHED AS SELECT LA_ID, LA_NAME, SCHED_WEEKDAY, SCHED_TIME_IN, SCHED_TIME_OUT WHERE SCHED_SEMESTER = ‘FALL99’;
  • 59. 8 Physical Design  Physical design requires the definition of specific storage or access methods that will be used by the database.  It must include an estimate of the space required to store the database.  Physical storage characteristics are a function of the DBMS and the operating systems being used.
  • 60. 8 Table 8.27 Fixed Space Claimed By OS/2 DBM V1.2 Per Database Table 8.28 Physical Storage Requirements: The USER Table
  • 61. 8 Implementation  Database administrator (DBA), who controls the database management function, must define the standards and procedures required to interact with the database.  The implementation plan includes:  Formal definitions of the processes and standards.  Chronology of the required activities.  Development of adequate documentation standards.  Identification of responsibilities for continued development and maintenance.
  • 62. 8 Implementation  Database Creation  Tables, indexes, and views are created.  Storage space and access methods are implemented.  Database Loading and Conversion  Data are entered one table at a time or by copying the data from existing databases or files.  Processes may require data to be loaded in a specific order.
  • 63. 8 Implementation  System Procedures  System procedures describe the steps required to manage, access, and maintain the database system.  Procedures must be established to  Test and evaluate the database.  Fine-tune the database.  Ensure database security and integrity.  Back up and recover the database.  Access and use the database system.
  • 64. 8 Testing and Evaluation  The purpose of testing and evaluation is to determine how well the database meets its goals.  Testing and evaluation should be an ongoing process.  Testing and evaluation should consider:  Performance measures.  Security measures.  Backup and recovery procedures.
  • 65. 8 Operation  Database operation is an ongoing venture that includes all the DBA’s administrative and technical functions designed to ensure the database’s continuity.  Operational Database An operational database provides all necessary support for the system’s daily operations and maintains all appropriate operational procedures.  Operational Procedures Database operational procedures are written documents in which the activities of the daily database operations are described.  Managing the Database: Maintenance and Evolution The DBA is responsible for coordinating all operational and managerial aspects of the new DBMS environment.
  • 66. 8 Operation  DBA’s Responsibilities  Monitoring and fine-tuning the database  Planning for and allocating resources for changes and enhancements  Planning for and allocating resources for periodic system upgrades  Providing preventive and corrective maintenance  Providing end user management services  Performing periodic security audits  Performing necessary training  Establishing and enforcing database standards  Marketing the database to the organization’s users  Obtaining funding for database operations, upgrades, and enhancements  Ensuring completion of database projects within time and budget constraints