8 8 Chapter 8 The University Lab: Conceptual Design Verification, Logical Design, and Implementation Database Systems: Design, Implementation, and Management.

Slides:



Advertisements
Similar presentations
Database Planning, Design, and Administration
Advertisements

Physical DataBase Design
8 Chapter 8 The University Lab: Conceptual Design Verification, Logical Design, and Implementation Hachim Haddouti.
8 Chapter 8 The University Lab: Conceptual Design Verification, Logical Design, and Implementation Database Systems: Design, Implementation, and Management,
8 8 Chapter 8 The University Lab: Conceptual Design Verification, Logical Design, and Implementation Database Systems: Design, Implementation, and Management.
10/25/2001Database Management -- R. Larson Data Administration and Database Administration University of California, Berkeley School of Information Management.
Oct 31, 2000Database Management -- Fall R. Larson Database Management: Introduction to Terms and Concepts University of California, Berkeley School.
Chapter 6 Database Design
Chapter 9 Database Design
Database Administration
Chapter 9 Database Design
15 1 Chapter 15 Database Administration Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Database Systems: Design, Implementation, and Management Ninth Edition
Chapter 9 Database Design
Concepts of Database Management Seventh Edition
BUSINESS DRIVEN TECHNOLOGY
9 1 Chapter 9 Database Design Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
6 Chapter 6 Database Design Hachim Haddouti. 6 2 Hachim Haddouti and Rob & Coronel, Ch6 In this chapter, you will learn: That successful database design.
Lecture Nine Database Planning, Design, and Administration
Modeling & Designing the Database
Chapter 1: The Database Environment
Database Administration Chapter 16. Need for Databases  Data is used by different people, in different departments, for different reasons  Interpretation.
Chapter 14 & 15 Conceptual & Logical Database Design Methodology
10/5/1999Database Management -- R. Larson Data Administration and Database Administration University of California, Berkeley School of Information Management.
PHASE 3: SYSTEMS DESIGN Chapter 7 Data Design.
Chapter 9 Database Planning, Design, and Administration Sungchul Hong.
Database System Development Lifecycle © Pearson Education Limited 1995, 2005.
Overview of the Database Development Process
Chapter 15 Database Administration and Security
Chapter 8 Database Design
Data Administration & Database Administration
Chapters 17 & 18 Physical Database Design Methodology.
Concepts of Database Management Sixth Edition
Database Design Adapted from Database Systems: Design, Implementation, and Management Eighth Edition Rob, Coronel.
An Investigation of Oracle and SQL Server with respect to Integrity, and SQL Language standards Presented by: Paul Tarwireyi Supervisor: John Ebden Date:
Database Technical Session By: Prof. Adarsh Patel.
STORING ORGANIZATIONAL INFORMATION— DATABASES CIS 429—Chapter 7.
ITEC 3220M Using and Designing Database Systems
Concepts of Database Management Eighth Edition
IST 210 Database Design Process IST 210 Todd S. Bacastow January 2005.
Database Systems: Design, Implementation, and Management
1 Chapter 9 Database Design. 2 2 In this chapter, you will learn: That successful database design must reflect the information system of which the database.
Week 4 Lecture Part 3 of 3 Database Design Samuel ConnSamuel Conn, Faculty Suggestions for using the Lecture Slides.
7 7 Chapter 7 The University Lab: Conceptual Design Database Systems: Design, Implementation, and Management 4th Edition Peter Rob & Carlos Coronel.
CSCI 3140 Module 2 – Conceptual Database Design Theodore Chiasson Dalhousie University.
1 Chapter 15 Methodology Conceptual Databases Design Transparencies Last Updated: April 2011 By M. Arief
Chapter 7: Database Systems Succeeding with Technology: Second Edition.
Methodology - Conceptual Database Design. 2 Design Methodology u Structured approach that uses procedures, techniques, tools, and documentation aids to.
CSCI 3140 Module 3 – Logical Database Design for the Relational Model Theodore Chiasson Dalhousie University.
Storing Organizational Information - Databases
Methodology - Conceptual Database Design
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Chapter 7 Storing Organizational Information - Databases.
CHAPTER 3 DATABASES AND DATA WAREHOUSES. 2 OPENING CASE STUDY Chrysler Spins a Competitive Advantage with Supply Chain Management Software Chapter 2 –
IS 325 Notes for Wednesday August 28, Data is the Core of the Enterprise.
6 6 Chapter 6 Database Design Database Systems: Design, Implementation, and Management 4th Edition Peter Rob & Carlos Coronel.
1 © Prentice Hall, 2002 Chapter 5: Logical Database Design and the Relational Model Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B.
DATABASE MANAGEMENT SYSTEM ARCHITECTURE
Database Administration
Database Management Supplement 1. 2 I. The Hierarchy of Data Database File (Entity, Table) Record (info for a specific entity, Row) Field (Attribute,
Copyright (c) 2014 Pearson Education, Inc. Introduction to DBMS.
Database Administration Basics. Basic Concepts and Definitions  Data Facts that can be recorded and stored  Metadata Data that describes properties.
CS523 Database Design Instructor : Somchai Thangsathityangkul You can download lecture note at Class Presence 10% Quiz 10%
Week 7 Lecture Part 2 Introduction to Database Administration Samuel S. ConnSamuel S. Conn, Asst Professor.
TEXT BOOK: DATABASE ADMINISTRATION: THE COMPLETE GUIDE TO PRACTICES AND PROCEDURES CRAIG S. MULLINS Database Administration(IS4511) Sana azzam
IST 210 Database Design Process IST 210, Section 1 Todd S. Bacastow January 2004.
Database Administration Advanced Database Dr. AlaaEddin Almabhouh.
Database Development Lifecycle
ITEC 3220A Using and Designing Database Systems
Chapter 6 Database Design
Database Administration
Presentation transcript:

8 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 8 E-R Model Verification 4Review of the Conceptual Design Process u Entity sets, attributes, and domains u Composite attributes u Multivalued attributes u Primary keys u Foreign keys u Derived attributes u Composite entities

8 8 E-R Model Verification 4The verification process is used to established that: u The design properly reflects the end user or application views of the database. u All database transactions are defined and modeled to ensure that the implementation of the design will support all transaction-processing requirements. u The database design is capable of meeting all output requirements. u All required input screens and data entry forms are supported. u The design is sufficiently flexible to support expected enhancements and modifications.

8 8 E-R Model Verification 4Tasks of E-R Model Verification u Identifying the central entity u Identifying each module and its components u Identifying each module transaction requirement

8 8 E-R Model Verification 4Problems with the Inventory Management Module: u 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. u 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 8 E-R Model Verification 4Solution u Creating a new entity to record all inventory movement; that is, an inventory entity is needed. u Creation of the new entity INV_TRANS serves two purposes as a common entry points: l It standardizes the inventory module’s interface with other modules. l It facilitates control and generation of required outputs, such as the inventory movement report.

8 8 Figure 8.25 The Inventory Transaction Process

8 8

8 8

8 8 The TR_ITEM (Weak) Entity Table 8.26

8 8 The TR_ITEM Sample Data Figure 8.27

8 8

8 8 Logical Design 4The logical design translates the conceptual model to match the format expected of the DBMS that is used to implement the system. 4It sets the stage for creating the relational table structures, indexes, and views.

8 8 Logical Design 4Tables u Example of SQL to create the STORAGE table: CREATE TABLE STORAGE ( LOC_IDCHAR(12)NOT NULL, ITEM_IDCHAR(10)NOT NULL, STOR_QTYNUMBER, 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

8 8 Logical Design 4Indexes u 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 8 Logical Design 4Views u 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 8 Physical Design 4Physical design requires the definition of specific storage or access methods that will be used by the database. 4It must include an estimate of the space required to store the database. 4Physical storage characteristics are a function of the DBMS and the operating systems being used.

8 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 8 Implementation 4Database administrator (DBA), who controls the database management function, must define the standards and procedures required to interact with the database. 4The implementation plan includes: u Formal definitions of the processes and standards. u Chronology of the required activities. u Development of adequate documentation standards. u Identification of responsibilities for continued development and maintenance.

8 8 Implementation 4Database Creation u Tables, indexes, and views are created. u Storage space and access methods are implemented. 4Database Loading and Conversion u Data are entered one table at a time or by copying the data from existing databases or files. u Processes may require data to be loaded in a specific order.

8 8 Implementation 4System Procedures u System procedures describe the steps required to manage, access, and maintain the database system. u Procedures must be established to l Test and evaluate the database. l Fine-tune the database. l Ensure database security and integrity. l Back up and recover the database. l Access and use the database system.

8 8 Testing and Evaluation 4The purpose of testing and evaluation is to determine how well the database meets its goals. 4Testing and evaluation should be an ongoing process. 4Testing and evaluation should consider: u Performance measures. u Security measures. u Backup and recovery procedures.

8 8 Operation 4Database operation is an ongoing venture that includes all the DBA’s administrative and technical functions designed to ensure the database’s continuity. u Operational Database An operational database provides all necessary support for the system’s daily operations and maintains all appropriate operational procedures. u Operational Procedures Database operational procedures are written documents in which the activities of the daily database operations are described. u Managing the Database: Maintenance and Evolution The DBA is responsible for coordinating all operational and managerial aspects of the new DBMS environment.

8 8 Operation 4DBA’s Responsibilities u Monitoring and fine-tuning the database u Planning for and allocating resources for changes and enhancements u Planning for and allocating resources for periodic system upgrades u Providing preventive and corrective maintenance u Providing end user management services u Performing periodic security audits u Performing necessary training u Establishing and enforcing database standards u Marketing the database to the organization’s users u Obtaining funding for database operations, upgrades, and enhancements u Ensuring completion of database projects within time and budget constraints